diff --git a/Library/OcTimerLib/OcTimerLib.c b/Library/OcTimerLib/OcTimerLib.c index 474e0fd4..c0b0852a 100755 --- a/Library/OcTimerLib/OcTimerLib.c +++ b/Library/OcTimerLib/OcTimerLib.c @@ -53,7 +53,7 @@ RecalculateTSC ( // // Intel timer support. // - if (PciRead16 (PCI_ICH_LPC_ADDRESS (0)) == 0x8086) { + if (PciRead16 (PCI_ICH_LPC_ADDRESS (0)) == CPUID_VENDOR_INTEL) { TimerAddr = 0; TimerResolution = 10;