Commit Graph

47198 Commits

Author SHA1 Message Date
Kalamatee 1093fbdb6f break out the examineall code and null terminated bstr copy, to prevent false positives compiling with -Wstringop-overflow & -Wstringop-overread 2024-04-24 14:18:56 +02:00
deadwood 596906f125 Publish asprintf and vasprintf 2024-04-23 20:27:07 +02:00
deadwood 370f79daf2 Add include to resolve warnings 2024-04-23 20:26:26 +02:00
Kalamatee cf01fc779a move environ handling to stdcio, and add the missing perror for stdcio so that it doesn't recursively try to open itself. 2024-04-23 19:19:33 +02:00
Kalamatee ff86935809 w.i.p - add stubs for select/pselect. 2024-04-23 18:59:53 +02:00
Kalamatee 71b1ccd637 revert and replace instead by caching the original flags, and restoring on close. 2024-04-23 18:59:28 +02:00
Kalamatee e052c5f0d3 duplicate the handles so that we don't alter the original versions flags. 2024-04-23 18:58:39 +02:00
Kalamatee 4ead0f936c include the function parameter names 2024-04-23 18:58:39 +02:00
Kalamatee 59a4744055 remove the header included in error 2024-04-23 18:58:39 +02:00
Kalamatee 3c99006370 add the function parameter names 2024-04-23 18:58:39 +02:00
Kalamatee be18c5467d define BOOL_MAX and BOOL_WIDTH 2024-04-23 18:56:17 +02:00
Kalamatee 966958cf6a add the function parameter names 2024-04-23 18:56:17 +02:00
Kalamatee 724711d974 and the other typo... *sigh * 2024-04-23 18:47:15 +02:00
Kalamatee 1f1b161a4e put the define first in case the header is pulled in earlier. 2024-04-23 18:46:36 +02:00
Kalamatee c8fd84ef31 fix a typo 2024-04-23 18:46:36 +02:00
Kalamatee 8ee9cf0833 implement the gnu asprintf/vasprintf extensions. 2024-04-23 18:45:27 +02:00
Kalamatee aff6c19e3b Because the C11 and C++11 standards override the previous C99 standard, usage of the __STDC_FORMAT_MACROS macro was altered in <inttypes.h> to enable the macros for format specifiers within C++, and usage of the __STDC_LIMIT_MACROS macro and the __STDC_CONSTANT_MACROS macro was altered in <stdint.h> to enable the macros for limits of integer types within C++. As a result, the macros within <inttypes.h> and <stdint.h> are now unconditionally defined for both C and C++ if _cplusplus >= 201103L 2024-04-23 18:40:38 +02:00
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 357542b349 still trigger a soft int even if we don't add the entry to the list. 2024-04-23 18:09:54 +02:00
Kalamatee 23dfc0ec50 silence debug 2024-04-23 18:09:54 +02:00
Kalamatee 96d9f8dc05 load the tasks initial idnestcnt/tdnestcnt values 2024-04-23 18:08:58 +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 e96bf57cae 64bit corrections. 2024-04-23 17:50:29 +02:00
Kalamatee c6f4d2282c bump version 2024-04-23 16:50:09 +02:00
Kalamatee e74b861b8c bump version 2024-04-23 16:50:09 +02:00
Kalamatee aba216638d Try and use traditional defaulticon style device name based icon(s) first. 2024-04-23 16:49:57 +02:00
Kalamatee 8183b5bdd1 reduce the scope of dn. 2024-04-23 16:49:32 +02:00
Kalamatee d7307c6e9c Handle devices that cannot be locked. 2024-04-23 16:49:32 +02:00
Kalamatee ba408894b0 recognize PFS/mUFS and AFS filesystems aswell. 2024-04-23 16:49:32 +02:00
Kalamatee 98780ae3a9 rename the amiga/windows harddisk icons to suitable filesytem versions. use the FATHarddisk icon for the Windows hosted system drive. 2024-04-23 16:49:32 +02:00
Kalamatee 8d8e4f065c bump version 2024-04-23 16:49:32 +02:00
Kalamatee 030d9fb041 WIP changes to disk icon detection/selection code. 2024-04-23 16:49:32 +02:00
Kalamatee ea68fe20e5 W.I.P changes - make sure the filesystem based disk icons have "Disk" in their names. Use consistent naming for device icons. 2024-04-23 16:49:32 +02:00
Kalamatee bca3ce68e0 dont use an incorrect value for ID_BUSY_DISK 2024-04-23 16:49:32 +02:00
Kalamatee 0258be5494 change DISMOUNT behaviour to match Marek Szyprowski's <marek@amiga.pl> Unmount tool. 2024-04-23 16:49:32 +02:00
Kalamatee 0d75ce91f2 add a patch for GCC 13.1.0 2024-04-23 16:49:32 +02:00
Kalamatee acfb459f5d drop result, since it is not needed/used. 2024-04-23 16:49:32 +02:00
Kalamatee abe8ddd4a6 make sure setvbuf does what it is supposed to. 2024-04-23 16:49:32 +02:00