提交 ce4a8edf 编写于 作者: J John Davis

OcAppleKernelLib: Fix Windows builds

上级 3c8a2707
......@@ -1722,7 +1722,7 @@ PatchProvideCurrentCpuInfo (
for (Index = L1I; Index < LCACHE_MAX; Index++) {
*LocationTigerCache++ = 0xC7;
*LocationTigerCache++ = 0x40;
*LocationTigerCache++ = 0x68 + (sizeof (UINT32) * Index);
*LocationTigerCache++ = 0x68 + ((UINT8)(sizeof (UINT32)) * Index);
CopyMem (LocationTigerCache, &CacheSizes[Index], sizeof (CacheSizes[Index]));
LocationTigerCache += sizeof (CacheSizes[Index]);
DEBUG ((DEBUG_INFO, "OCAK: Cache size (L%u): %u bytes\n", (Index >= 3) ? (Index - 1) : 1, CacheSizes[Index]));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册