Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142079938
D50584.id156305.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
671 B
Referenced Files
None
Subscribers
None
D50584.id156305.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D50584: stand/efi: Use EFI_PAGE_SIZE here, it's more appropriate
Attached
Detach File
Event Timeline
Log In to Comment