Skip to content

Commit 6dd8d68

Browse files
mintsukiFlyGoat
authored andcommitted
Remove a potentially unnecessary statement that increments pmm_base by LOW_STACK_SIZE
1 parent c3162c7 commit 6dd8d68

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/csmwrap.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,6 @@ EFI_STATUS efi_main(EFI_HANDLE ImageHandle, EFI_SYSTEM_TABLE *SystemTable)
147147
priv.low_stub->boot_table.AcpiTable = priv.csm_efi_table->AcpiRsdPtrPointer;
148148

149149
uintptr_t pmm_base = LegacyBiosInitializeThunkAndTable(LOW_STUB_BASE, sizeof(struct low_stub));
150-
pmm_base += LOW_STACK_SIZE;
151150

152151
printf("Init Thunk pmm: %lx\n", (uintptr_t)pmm_base);
153152

0 commit comments

Comments
 (0)