We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8865f87 commit 5f5428cCopy full SHA for 5f5428c
1 file changed
Library/OcMainLib/OpenCoreUefi.c
@@ -337,6 +337,7 @@ OcExitBootServicesHandler (
337
IN VOID *Context
338
)
339
{
340
+#ifndef CLOVER_BUILD
341
EFI_STATUS Status;
342
OC_GLOBAL_CONFIG *Config;
343
@@ -346,7 +347,7 @@ OcExitBootServicesHandler (
346
347
348
MemoryAttributesTable = OcGetMemoryAttributes (NULL);
349
UINTN nb = MemoryAttributesTable->NumberOfEntries;
-
350
+ //gST->NumberOfTableEntries
351
352
if ( nb >= 120 ) {
353
DEBUG ((DEBUG_INFO, "MemoryMap is probably too big for XNU to start (%lld entries) - trying anyway\n", nb));
@@ -377,6 +378,7 @@ OcExitBootServicesHandler (
377
378
if (Config->Uefi.Quirks.ExitBootServicesDelay > 0) {
379
gBS->Stall (Config->Uefi.Quirks.ExitBootServicesDelay);
380
}
381
+#endif
382
383
384
STATIC
0 commit comments