Commit Graph

47198 Commits

Author SHA1 Message Date
Kalamatee 6aeaaec958 dont attempt to add failed namespaces. add a boot option to disable msi interrupt use (NVME=nomsi) 2024-04-23 16:49:32 +02:00
Kalamatee 04082a475c flush the buffered output 2024-04-23 16:49:32 +02:00
Kalamatee c8cb7028a8 test buffered and unbuffered output - and report when setvbuf fails. 2024-04-23 16:49:32 +02:00
Kalamatee 9b481302e9 test buffered and unbuffered output 2024-04-23 16:49:32 +02:00
Kalamatee d2fcd7f505 correct setbuf behaviour when no buffer is used. 2024-04-23 16:49:32 +02:00
Matthias Rustler 2e4421b70b Tests for setbuf/setvbuf: Added a print function with escape sequences 2024-04-23 16:49:32 +02:00
Kalamatee 5a67997f76 revert - perror is part of c89, but is not being exposed by stdcio (corrected). 2024-04-23 16:48:25 +02:00
Kalamatee 0bb846bdb6 perror is not from stdc, and should not be used in this code. 2024-04-23 16:46:52 +02:00
Kalamatee e8b7e906c6 perror is not from stdc, and should not be used in this code. 2024-04-23 16:46:52 +02:00
Kalamatee ca08360287 perror is from posixc, not stdc 2024-04-23 16:46:52 +02:00
Matthias Rustler adcb797465 Test for setbuf() added. 2024-04-23 16:45:46 +02:00
Kalamatee e2e094d2fa add a small setvbuf test 2024-04-23 16:45:46 +02:00
Kalamatee 7201da9ed0 remove erroneous hyphen reported by stanman 2024-04-23 16:45:22 +02:00
Kalamatee 4064d20073 update grub2 to v2.06 2024-04-23 16:45:22 +02:00
Kalamatee 591f868ff3 use the correct NULL type for BPTR's 2024-04-23 16:37:59 +02:00
Kalamatee 4a4588eba9 add the rust language option to configure, for when gcc 13 is available 2024-04-23 16:36:39 +02:00
Kalamatee fe6a95c62d make sure the function prototype matches. 2024-04-23 16:36:39 +02:00
Kalamatee 9d52898ac8 a bit more casting gymnastics to also satisfy codecy (void * arithmetic) 2024-04-23 16:36:39 +02:00
Kalamatee a03b99fc1f cast to the correct types so that the compiler is satisfied on both 32bit and 64bit targets. 2024-04-23 16:36:39 +02:00
Kalamatee 834c291b43 its bootanim_nomedia.d that depends on the header file, not bootanim.d 2024-04-23 16:36:39 +02:00
Kalamatee 4b798fef9d add a patch for gcc 12.2.0, and update the experimental version to it. 2024-04-23 16:35:30 +02:00
Matthias Rustler 9af3e2140a Get rid of two compiler warnings:
1)
...rom/exec/./exec_util.c:195:9: warning: passing argument 1 of '__inline_Exec_AddHead' from incompatible pointer type [-Wincompatible-pointer-types]
         AddHead(&parentEtask->et_Children, et);
         ^~~~~~~

...gen/rom/exec/exec/include/inline/exec.h:505:20: note: expected 'struct List *' but argument is of type 'struct MinList *'

2)
...rom/exec/./exec_util.c:195:9: warning: passing argument 2 of '__inline_Exec_AddHead' from incompatible pointer type [-Wincompatible-pointer-types]
         AddHead(&parentEtask->et_Children, et);
         ^~~~~~~

...rom/exec/exec/include/inline/exec.h:505:20: note: expected 'struct Node *' but argument is of type 'struct ETask *'
2024-04-23 16:35:29 +02:00
Kalamatee c27c2f4dc9 Always provide the USB3 and OTG definitions, regardless if experimental code is being built. Also provide a USB4 definition. move the "new" version definitions to the end of the possible range. 2024-04-23 16:31:25 +02:00
Kalamatee 075877c6d4 Allow a theme to specify ScreenTitleColors without ScreenTitleMode, to override the default system pens and define its own title text colors. 2024-04-23 16:31:25 +02:00
Kalamatee 39b00412b4 correct the parameter name to prevent confusion 2024-04-23 16:31:25 +02:00
Kalamatee c2ff605965 # use AROS_QUAD2LE # silence debug 2024-04-23 16:31:25 +02:00
Kalamatee 5797fe0bf5 bump the version 2024-04-23 16:31:25 +02:00
Kalamatee afef7d20c0 use fast code paths for pci config access. 2024-04-23 16:31:25 +02:00
deadwood 7c4b46dc28 Fix from stegerg: double size so wrapped-over data can be appended at end 2024-04-23 10:32:54 +02:00
deadwood 7adbd730b8 Wanderer: Add DEL as shortcut to Icon->Delete 2024-04-23 09:51:44 +02:00
Kalamatee 1058081694 offline volumes do not have a device name - use the volume name when obtaining an icon. silence debug. 2024-04-22 20:21:59 +02:00
Kalamatee de49c82c9f W.I.P update to wanderers volume enumeration code. N.B - Currently AROS leaves stale volumes on the doslist after formatting (the same as ejected disks) - needs cleaned up/resolved. 2024-04-22 20:21:59 +02:00
deadwood 1a3030c56e When building per opener base libraries, don't add global library bases
Previously the condition was for libraries that have relative linker libs,
but linker libs are not influencing libraries themselves, so the condition
was weird and there was no explanation why such functionality was
introduced.
2024-04-22 15:31:14 +02:00
deadwood e156fc7832 Add test for special case of link stubs when library has noincludes
This is a special case in genmodule. This test purpose is to show this
use case continues working.
2024-04-22 15:29:00 +02:00
deadwood a8d3a4aee8 Add test for calling reg function from stack function inside library
Using __aros_getbase_PeropenerBase and proto/peropener.h. This test purpose
is to test that functionality changed in previous commit continues
working.
2024-04-22 15:27:57 +02:00
deadwood 9513d8ca08 ABI: Use a different symbol to pass library base to functions in headers
Prior to this change, __aros_getbase_XXXX was used and was re-defined in
proto/xxxx.h to either library base of relative offset. However
__aros_getbase_XXXX was an actual function often used inside of library.
The effect was that if proto/xxxx.h was included in the library xxxx
itself, the __aros_getbase_XXXX was redefined, for example in per opener
library instead of reading R12 (x86_64 ABI) it was reading (local)
library base, causing struct Library *ABase = __aros__getbase_ABase() to
become struct Library *ABase = ABase and a "silent" NO-OP

This change changes the symbol used in library call to __LIB_LIBBASE and
__aros_getbase_XXXX is no longer re-defined in proto/xxxx.h

Additionally for cases there inline/xxxx.h or defines/xxxx.h is included
instead of proto/xxxx.h, __LIB_LIBBASE is defined to __aros_getbase_XXXX
so that proper implementation from linklib is pulled in. Same goes for
stub functions in "noincludes" case.

Note: this commit does not change client-side behavior as documented in
ABI_SPECIFICATION. It only changes the name of the symbol used.
2024-04-22 15:10:29 +02:00
deadwood 77cc2e7f64 Remove MUI floppy disk image spec from file system text
Done on request to synchronize look & feel
2024-04-17 10:42:55 +02:00
Kalamatee 2e6303aa2d Read the filesystem ID from the doslist volume, preferably. 2024-04-17 10:02:42 +02:00
deadwood 7ebadc50d1 Adjust to name change
AROSBootstap re-implement some C library calls for static z library that is
linked into it.
2024-04-15 15:49:51 +02:00
deadwood 03cb6edc72 Remove internal functions from headers
Those functions were exposed by stdc to be used by posixc, but now they
are used internally in crt and not exposed by crt.
2024-04-15 12:12:31 +02:00
deadwood 99ab254f6f Remove references to stdc
Note: currently there are no third party linker libraries available that
could stop linking due to name changes, thus this and previous changes
are considered backwards compatible. In case some problems surface,
an .alias can be added with the old name.
2024-04-13 22:27:27 +02:00
deadwood 421d0b9e86 Remove last instances of NO_POSIX_WRAPPERS 2024-04-13 20:11:55 +02:00
deadwood 532d5d8ffe Update names in SEE ALSO block 2024-04-13 20:03:09 +02:00
deadwood 5ede7edb1a Remove posixc wrappers
stdlib/crt do not share same functions like stdcio/posixc did. There is
then no need for those wrappers and makes code less complex and more
standard.
2024-04-13 20:02:49 +02:00
deadwood ad37a20acc Disable ACPI in "safe mode"
There is already a number of boards that need to have ACPI disabled to
boot correctly. Adding it to safe mode to hopefully allow booting on
other such motherboards during problem triage.
2024-04-13 15:51:39 +02:00
deadwood 9d96346b4f ManagedMem pools will now grow using pool requirements
mh_First needs to be set as early as possible so that mhe_InitPool can
possibly cache this information (as is the case for TLSF). mh_First however
cannot have MEMF_SEM_PROTECTED as the semaphore is not yet crated and this
will lead to crashes when calling ObtainSemaphore (for example during
mhe_InitPool)

Set MEMF_SEM_PROTECTED only once semaphore is initialized.

For non-ManagedMem nothing changes as pool.Requirements is used to
check for MEMF_SEM_PROTECTED

This solves the problem when MEMF_31BIT pool started returning 64-bit
memory after it has grown.
2024-04-13 15:46:55 +02:00
deadwood 886dae9d22 Remove single-call function that has confusing name
It does not init autogrow, it inits the complete tlsf structure
2024-04-13 15:45:45 +02:00
deadwood 7851b531aa Move Bifteck to Tools/Debug
Development is not part of default installation and users don't install it,
however Bifteck is useful when trying to debug problem with user setup.
2024-03-19 17:21:53 +01:00
deadwood d750b68e5a Add workaround for bug in VirtualBox AHCI implementation
ICC register is not set to IDLE by chipset. Disabling detection of this
change on VirtualBox saves 2 seconds on boot time.
2024-03-19 17:12:14 +01:00
deadwood f5ee826e7f Provide 32-bit variable to store number of cylinders
This allow for using identical algorithm as ata.device. Number of cylinders
needs to be 32-bit as often division by 2 and 3 yields no results and
heads stay at 1 while cylinders is a number larger than 2^16.
2024-03-19 17:12:14 +01:00