Page MenuHomeFreeBSD

D50584.id156305.diff
No OneTemporary

D50584.id156305.diff

diff --git a/stand/efi/loader/arch/amd64/trap.c b/stand/efi/loader/arch/amd64/trap.c
--- a/stand/efi/loader/arch/amd64/trap.c
+++ b/stand/efi/loader/arch/amd64/trap.c
@@ -356,7 +356,7 @@
PREPARE_EXCEPTION(19);
PREPARE_EXCEPTION(20);
- exc_rsp = exc_stack_pa + PAGE_SIZE -
+ exc_rsp = exc_stack_pa + EFI_PAGE_SIZE -
(6 /* hw exception frame */ + 3 /* scratch regs */) * 8;
/* Find free IST and use it */
@@ -376,7 +376,7 @@
if (intercepted[i])
loader_idt_e->gd_ist = ist;
}
- (&(tss->tss_ist1))[ist - 1] = exc_stack_pa + PAGE_SIZE;
+ (&(tss->tss_ist1))[ist - 1] = exc_stack_pa + EFI_PAGE_SIZE;
/* Switch to new IDT */
rfl = intr_disable();

File Metadata

Mime Type
text/plain
Expires
Fri, Jan 16, 8:37 PM (6 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27668744
Default Alt Text
D50584.id156305.diff (671 B)

Event Timeline