2021-06-22 10:08:06 +02:00
# define MEMSIZE 4096*20
# define ENTRY_POINT #main
# include "../lib/fs.h"
void main ( )
{
RunProgram ( " /kolibrios/drivers/acpi/acpi " , NULL ) ;
pause ( 300 ) ;
2022-01-07 02:01:22 +01:00
if ( file_exists ( " /sys/drivers/devices.dat " ) ) {
2021-06-22 10:08:06 +02:00
if ( GetSystemLanguage ( ) = = 4 ) {
2022-01-07 02:01:22 +01:00
notify ( " 'ACPI/APIC \n /sys/drivers/devices.dat <20> <> <EFBFBD> <20> ᯥ譮 ᣥ<> <E1A3A5> <EFBFBD> <EFBFBD> <EFBFBD> <E0AEA2> . \n <EFBFBD> <EFBFBD> ⠭<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> 祭<EFBFBD> . <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> 㪠<> <E3AAA0> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> Readme!' -tdO" ) ;
2021-06-22 10:08:06 +02:00
} else {
2022-01-07 02:01:22 +01:00
notify ( " 'ACPI/APIC \n /sys/drivers/devices.dat was succesfully generated. \n Installation is not completed. \n For the next steps please check Readme!' -tdO " ) ;
2021-06-22 10:08:06 +02:00
}
RunProgram ( " /sys/@open " , " /kolibrios/drivers/acpi/readme.txt " ) ;
} else {
2022-01-07 02:01:22 +01:00
notify ( " 'Error generating /sys/drivers/devices.dat' -E " ) ;
2021-06-22 10:08:06 +02:00
}
ExitProcess ( ) ;
}