Skip to content

Commit f52c6ab

Browse files
committed
Revert "Remove a potentially unnecessary statement that increments pmm_base by LOW_STACK_SIZE"
This reverts commit 6dd8d68.
1 parent 45dca4e commit f52c6ab

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/csmwrap.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ EFI_STATUS efi_main(EFI_HANDLE ImageHandle, EFI_SYSTEM_TABLE *SystemTable)
185185
priv.low_stub->boot_table.AcpiTable = priv.csm_efi_table->AcpiRsdPtrPointer;
186186

187187
uintptr_t pmm_base = LegacyBiosInitializeThunkAndTable(LOW_STUB_BASE, sizeof(struct low_stub));
188+
pmm_base += LOW_STACK_SIZE;
188189

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

0 commit comments

Comments
 (0)