kolibrios/programs/cmm/misc/acpi_install.c

24 lines
728 B
C
Raw Permalink Normal View History

#define MEMSIZE 4096*20
#define ENTRY_POINT #main
#include "../lib/fs.h"
void main()
{
RunProgram("/kolibrios/drivers/acpi/acpi", NULL);
pause(300);
if (file_exists("/sys/drivers/devices.dat")) {
if (GetSystemLanguage()==4) {
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");
} else {
notify("'ACPI/APIC\n/sys/drivers/devices.dat was succesfully generated.\nInstallation is not completed.\nFor the next steps please check Readme!' -tdO");
}
RunProgram("/sys/@open", "/kolibrios/drivers/acpi/readme.txt");
} else {
notify("'Error generating /sys/drivers/devices.dat' -E");
}
ExitProcess();
}