mirror of
https://github.com/acidanthera/OpenCorePkg.git
synced 2025-12-08 19:25:01 +00:00
OcDeviceMiscLib: Fix updating gBS pointer with new services
This commit is contained in:
parent
562f85685d
commit
3bcd69da2e
@ -106,6 +106,7 @@ OcForgeUefiSupport (
|
||||
NewBS->Hdr.Revision = EFI_2_30_SYSTEM_TABLE_REVISION;
|
||||
NewBS->Hdr.CRC32 = 0;
|
||||
NewBS->Hdr.CRC32 = CalculateCrc32 (NewBS, NewBS->Hdr.HeaderSize);
|
||||
gBS = NewBS;
|
||||
|
||||
gST->BootServices = NewBS;
|
||||
gST->Hdr.Revision = EFI_2_30_SYSTEM_TABLE_REVISION;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user