Comment out what's not needed in OcMain.

This commit is contained in:
jief666 2024-01-01 12:37:46 +01:00
parent 04a8211cbe
commit 9d4f83df0c
2 changed files with 14 additions and 14 deletions

@ -1 +1 @@
Subproject commit a82ac0b0ec755ddc8094d4dd3f5c645ca1320090
Subproject commit f3fc8cf7da1ea97ac316ef536bbb2f2d8d4731e9

View File

@ -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"));