Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions boot/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ EFI_STATUS EFIAPI SetupHooks(EFI_HANDLE bootmgrHandle) {

// Hook ImgArchStartBootApplication to setup winload hooks
VOID *func = FindPattern(bootmgr->ImageBase, bootmgr->ImageSize,
"\x48\x8B\xC4\x48\x89\x58\x20\x44\x89\x40\x18\x48"
"\x48\x8B\xC4\x48\x89\x58\x20\x44\x89\x40\x18\x4C" // Win11 23h2
"\x89\x50\x10\x48\x89\x48\x08\x55\x56\x57\x41\x54",
"xxxxxxxxxxxxxxxxxxxxxxxx");

Expand Down Expand Up @@ -601,4 +601,4 @@ EFI_STATUS EFIAPI SetBootCurrentToWindowsBootmgr() {
return status;
}

EFI_STATUS EFIAPI UefiUnload(EFI_HANDLE imageHandle) { return EFI_SUCCESS; }
EFI_STATUS EFIAPI UefiUnload(EFI_HANDLE imageHandle) { return EFI_SUCCESS; }