chainload: Readd wrongly removed noinline attribute

This commit is contained in:
mintsuki 2022-01-29 11:45:03 +01:00
parent ea4db246c8
commit 69529b1269
2 changed files with 8 additions and 1 deletions

View File

@ -19,7 +19,7 @@
#if bios == 1
__attribute__((section(".realmode")))
__attribute__((noinline, section(".realmode")))
static void spinup(uint8_t drive) {
struct idtr real_mode_idt;
real_mode_idt.limit = 0x3ff;

View File

@ -49,6 +49,13 @@ COMMENT=Test EFI image chainloading.
PROTOCOL=chainload
IMAGE_PATH=boot:///EFI/BOOT/BOOTX64.EFI
:BIOS Chainloading
COMMENT=Test EFI image chainloading.
PROTOCOL=chainload
DRIVE=1
:+Legacy
COMMENT=Contains legacy entries.