Skip to content

Commit

Permalink
Add few messages.
Browse files Browse the repository at this point in the history
  • Loading branch information
jief666 committed Jan 15, 2024
1 parent c7d13f3 commit b297330
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions Library/OcAppleKernelLib/CpuidPatches.c
Original file line number Diff line number Diff line change
Expand Up @@ -1658,6 +1658,7 @@ PatchProvideCurrentCpuInfo (
}
// For all other processors
else {
DEBUG ((DEBUG_INFO, "OCAK: Setting FSB and TSC for Family 0x%x and ExtFamily 0x%x\n", (UINT16)CpuInfo->Family, (UINT16)CpuInfo->ExtFamily));
busFreqValue = CpuInfo->FSBFrequency;
busFCvtt2nValue = DivU64x64Remainder ((1000000000ULL << 32), busFreqValue, NULL);
busFCvtn2tValue = DivU64x64Remainder (0xFFFFFFFFFFFFFFFFULL, busFCvtt2nValue, NULL);
Expand Down
12 changes: 12 additions & 0 deletions Library/OcMainLib/OpenCoreKernel.c
Original file line number Diff line number Diff line change
Expand Up @@ -492,6 +492,12 @@ OcKernelLoadKextsAndReserve (
for (Index = 0; Index < Config->Kernel.Force.Count; Index++) {
Kext = Config->Kernel.Force.Values[Index];

DEBUG ((
DEBUG_VERBOSE,
"OC: Load and reserve forced Kext %a\n",
OC_BLOB_GET(&Kext->BundlePath)
));

OcKernelLoadAndReserveKext (
Kext,
Index,
Expand All @@ -513,6 +519,12 @@ OcKernelLoadKextsAndReserve (
for (Index = 0; Index < Config->Kernel.Add.Count; Index++) {
Kext = Config->Kernel.Add.Values[Index];

DEBUG ((
DEBUG_VERBOSE,
"OC: Load and reserve Kext %a\n",
OC_BLOB_GET(&Kext->BundlePath)
));

OcKernelLoadAndReserveKext (
Kext,
Index,
Expand Down

0 comments on commit b297330

Please sign in to comment.