forked from KolibriOS/kolibrios
uefi4kos: Read config and kernel files from the disk.
* Now there is a config file with boot options, example included. * Config, kernel and ramdisk are loaded from the disk, not compiled in. * DEVICES.DAT file is also optionally loaded from the disk. * Also, move the loader to /kernel/trunk/bootloader/uefi4kos. git-svn-id: svn://kolibrios.org@8092 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
@@ -375,6 +375,11 @@ high_code:
|
||||
mov al, [BOOT.launcher_start] ; Start the first app (LAUNCHER) after kernel is loaded?
|
||||
mov [launcher_start], al
|
||||
|
||||
mov eax, [BOOT.devicesdat_size]
|
||||
mov [acpi_dev_size], eax
|
||||
mov eax, [BOOT.devicesdat_data]
|
||||
mov [acpi_dev_data], eax
|
||||
|
||||
mov esi, BOOT.bios_hd
|
||||
movzx ecx, byte [esi-1]
|
||||
mov [NumBiosDisks], ecx
|
||||
|
Reference in New Issue
Block a user