Commit Graph

10820 Commits

Author SHA1 Message Date
deadwood e2f9a76f96 Build after recent changes 2024-04-23 18:23:48 +02:00
deadwood ee3c20f562 Fix URL for acpica 2024-04-23 18:18:12 +02:00
deadwood 7408ab5538 Prevent auto opening of acpica.library
Auto opening will fail boot with 'noacpi' boot option
2024-04-23 18:12:24 +02:00
Kalamatee 0c2a5e99c5 # add the missing hidd attributes. # remove the interrupt/shutdown handlers when the unit is disposed. 2024-04-23 18:09:54 +02:00
Kalamatee 23dfc0ec50 silence debug 2024-04-23 18:09:54 +02:00
Kalamatee efdea0d874 set the correct context size on i386. synch the platform init with x86_64 changes. 2024-04-23 18:08:58 +02:00
Kalamatee d4bd118dda use AcpiEnterSleepState to enter the S5 state. fallback to X86_HandleSysHaltSC if it fails. 2024-04-23 18:08:58 +02:00
Kalamatee 5cae0e4f38 call X86_HandleSysHaltSC from X86_HandleChangePMStateSC 2024-04-23 18:08:58 +02:00
Kalamatee 550f21cde2 use a syscall to halt the system, so that it can issue halts to additional cores on smp systems. 2024-04-23 18:08:58 +02:00
Kalamatee 900950b844 # slight tidy of the main base to prevent confusion. # disable the specific missing devices from acpi. 2024-04-23 18:08:58 +02:00
Kalamatee cac0d0b33d if acpi is available, check for the ps/2 devices and only add them if present. 2024-04-23 18:06:17 +02:00
Kalamatee afb6b6c3f7 correct behaviour for additional cores 2024-04-23 18:06:17 +02:00
Kalamatee cabdb5a76e update to reflect acpica changes 2024-04-23 18:04:20 +02:00
Kalamatee bcb0e7b3da adjusted to acpica changes 2024-04-23 18:04:20 +02:00
Kalamatee 11900b6791 update acpica to v20230331 2024-04-23 18:04:19 +02:00
Kalamatee 4064d20073 update grub2 to v2.06 2024-04-23 16:45:22 +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 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 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 3dad5f32af Make sure ed_Comment is empty string, not NULL
This makes it consistent with RAM, SFS and emulation in dos.library.
2024-03-04 15:54:44 +01:00
deadwood 42188e4687 Pass stdc.static via uselibs
This way it can be filtered out when building kobjs and not generate
duplicated symbols error when building kickstart.
2024-02-01 18:28:43 +01:00
deadwood 1c5cf6d753 Update catalogs from AROS Translation Team 2024-01-28 07:58:41 +01:00
deadwood e97b2f6578 Update revision 2024-01-06 13:59:31 +01:00
deadwood 4274889663 Add Prefs/Env-Archive/SYS/Certificates/ca-bundle.crt to UserSYS 2024-01-06 13:59:31 +01:00
deadwood 3caae2cc4b Add workaround for memory corruption on host side 2024-01-06 13:59:31 +01:00
deadwood 689fefb6cb Tab->spaces 2024-01-06 13:59:30 +01:00
deadwood b390d4bf35 Ignore SBTC_LOGTAGPTR 2024-01-06 13:59:30 +01:00
deadwood efd5eaa758 Implement timeout support in WaitSelect 2024-01-06 13:59:30 +01:00
deadwood 754647017e Implement mapping of sockets for AROS programs
Linux FD_SETSIZE is 1024 while in AROS it is 64. This means that if Linux
returns socket number greater than 64, things on AROS side will break.

Introduce mapping that remaps Linux socket into range of 4 ... 63.
2024-01-06 13:59:30 +01:00
deadwood a6f2b14581 Improve errno support
1) Implement Errno() function
2) Have errnoptr in per-task library base
3) Translate errno unix->AROS in forwarders
4) Support SBTC_ERRNOPTR in SocketBaseTagList

This is necessary to support AROS x86_64 programs that use network
2024-01-06 13:59:30 +01:00
deadwood e4f843b9d9 Implement per-task base matching original bsdsocket.library behavior 2024-01-06 13:59:30 +01:00
deadwood 98c212fe6f Switch to manual initialization of library
This is a preparation step to making the library base per-task like the
original bsdsocket.library
2024-01-06 13:59:30 +01:00
deadwood e6aae91380 Add battclock.resource to Kickstart
This is needed so that SetClock LOAD correctly sets current time.
2024-01-06 13:59:30 +01:00
deadwood 195bd41e27 Implement forwarders needed to support AROS x86_64 programs 2024-01-06 13:59:30 +01:00
deadwood e9d9c561d2 Increase the size of 32-bit memory to allow loading bigger binaries
Odyssey Web Browser binary is 123MB in size
2024-01-06 13:59:30 +01:00
deadwood af1cd9a749 Spatial placing related to top strut
1) Place DESKTOP at offset of either sbarHeight or total of top strut,
which ever is larger. Screen Bar will be under top panels and DESKTOP will
start at either screen bar or sum of panels.
2) Show DOCK (used for menus) always at top - this will always match
screen bar placement
2023-12-28 09:38:24 +01:00
deadwood aef3b94f5a Use the title that was set to screen, not optional window title
This was causing crash, when window did not have ScreenTitle set and was
using Screen.DefaultTitle
2023-12-28 09:38:24 +01:00
deadwood 86e9925af0 Allow Intuition to continue working without visible screen bar
See intuition_misc.c, CreateScreenBar() on how to enable this mode.
2023-12-28 09:38:23 +01:00
deadwood 5f51d02718 Forward only WM_DELETE_WINDOW message
Forwarding is needed, because JWM uses same display as x11hidd and
WM_DELETE_WINDOW arrives not for JWM but for x11hidd.
2023-12-28 09:38:23 +01:00
deadwood 98497134e0 Allow detecting on Intuition side if window is minimized 2023-12-28 09:38:23 +01:00
deadwood a56519c726 Update version 2023-12-28 09:38:23 +01:00
deadwood a2b0771624 Build fix. 2023-12-28 09:38:23 +01:00
deadwood 8d48153638 Use C99 compliant form of asm and volatile in headers
They can gen compiled into software that is built with -ansi or -std=c99
2023-12-25 10:37:47 +01:00
deadwood feba347cf4 Synchronize how bootstrap is built between i386 and x86_64
Name change to stdc32.static is needed to make sure stdc.static from
main AROS output is not used on 32-bit.
2023-12-14 13:41:12 +01:00
deadwood 6bbeb142c5 Add i386 parts of stdlib, m and crt 2023-12-12 11:50:26 +01:00
deadwood d233af7a19 Allow changing capitalization of name when renaming 2023-12-12 09:52:48 +01:00
deadwood 590fe8029d Don't translate error when it is already DOS error
This was causing the previous errno (reported during fixcase) to be
reported as effect of Rename rather then error reported in nocase_rename()
2023-12-12 09:35:19 +01:00
deadwood 6363033906 Fix updated url 2023-07-16 12:37:24 +02:00
deadwood bb27797c0e Update URL for acpica 2023-07-16 12:07:29 +02:00
Kalamatee 4df92add16 # Only remove none running tasks on non-smp build (TS_REMOVED is the current task finalising).
# Remove erroneous parameter in debug output.
2023-04-23 14:27:29 +02:00