From 9d4f83df0cc6977f368454c854abf953ca714628 Mon Sep 17 00:00:00 2001 From: jief666 Date: Mon, 1 Jan 2024 12:37:46 +0100 Subject: [PATCH] Comment out what's not needed in OcMain. --- OpenCorePkg | 2 +- rEFIt_UEFI/refit/main.cpp | 26 +++++++++++++------------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/OpenCorePkg b/OpenCorePkg index a82ac0b0e..f3fc8cf7d 160000 --- a/OpenCorePkg +++ b/OpenCorePkg @@ -1 +1 @@ -Subproject commit a82ac0b0ec755ddc8094d4dd3f5c645ca1320090 +Subproject commit f3fc8cf7da1ea97ac316ef536bbb2f2d8d4731e9 diff --git a/rEFIt_UEFI/refit/main.cpp b/rEFIt_UEFI/refit/main.cpp index 147cdb61c..bc55e6b25 100644 --- a/rEFIt_UEFI/refit/main.cpp +++ b/rEFIt_UEFI/refit/main.cpp @@ -302,10 +302,10 @@ OcMain ( return; } - OcCpuScanProcessor (&mOpenCoreCpuInfo); +// OcCpuScanProcessor (&mOpenCoreCpuInfo); - DEBUG ((DEBUG_INFO, "OC: OcLoadNvramSupport...\n")); - OcLoadNvramSupport (Storage, &mOpenCoreConfiguration); +// DEBUG ((DEBUG_INFO, "OC: OcLoadNvramSupport...\n")); +// OcLoadNvramSupport (Storage, &mOpenCoreConfiguration); DEBUG ((DEBUG_INFO, "OC: OcMiscMiddleInit...\n")); OcMiscMiddleInit ( Storage, @@ -317,16 +317,16 @@ OcMain ( ); DEBUG ((DEBUG_INFO, "OC: OcLoadUefiSupport...\n")); OcLoadUefiSupport (Storage, &mOpenCoreConfiguration, &mOpenCoreCpuInfo, mOpenCoreBooterHash); - DEBUG_CODE_BEGIN (); - DEBUG ((DEBUG_INFO, "OC: OcMiscLoadSystemReport...\n")); - OcMiscLoadSystemReport (&mOpenCoreConfiguration, mStorageHandle); - DEBUG_CODE_END (); - DEBUG ((DEBUG_INFO, "OC: OcLoadAcpiSupport...\n")); - OcLoadAcpiSupport (&mOpenCoreStorage, &mOpenCoreConfiguration); - DEBUG ((DEBUG_INFO, "OC: OcLoadPlatformSupport...\n")); - OcLoadPlatformSupport (&mOpenCoreConfiguration, &mOpenCoreCpuInfo); - DEBUG ((DEBUG_INFO, "OC: OcLoadDevPropsSupport...\n")); - OcLoadDevPropsSupport (&mOpenCoreConfiguration); +// DEBUG_CODE_BEGIN (); +// DEBUG ((DEBUG_INFO, "OC: OcMiscLoadSystemReport...\n")); +// OcMiscLoadSystemReport (&mOpenCoreConfiguration, mStorageHandle); +// DEBUG_CODE_END (); +// DEBUG ((DEBUG_INFO, "OC: OcLoadAcpiSupport...\n")); +// OcLoadAcpiSupport (&mOpenCoreStorage, &mOpenCoreConfiguration); +// DEBUG ((DEBUG_INFO, "OC: OcLoadPlatformSupport...\n")); +// OcLoadPlatformSupport (&mOpenCoreConfiguration, &mOpenCoreCpuInfo); +// DEBUG ((DEBUG_INFO, "OC: OcLoadDevPropsSupport...\n")); +// OcLoadDevPropsSupport (&mOpenCoreConfiguration); DEBUG ((DEBUG_INFO, "OC: OcMiscLateInit...\n")); OcMiscLateInit (Storage, &mOpenCoreConfiguration); DEBUG ((DEBUG_INFO, "OC: OcLoadKernelSupport...\n"));