97 DPRINT(
"HalpInitializeClock()\n");
99#if defined(SARCH_PC98)
174#if defined(SARCH_PC98)
258 ULONG CounterValue, ClockDelta;
296 CurrentPerfCounter.
QuadPart += ClockDelta;
314 return CurrentPerfCounter;
#define EFLAGS_INTERRUPT_MASK
VOID FASTCALL HalpProfileInterruptHandler(_In_ PKTRAP_FRAME TrapFrame)
VOID NTAPI KeSetTimeIncrement(IN ULONG MaxIncrement, IN ULONG MinIncrement)
#define KeGetCurrentIrql()
IN OUT PLONG IN OUT PLONG Addend IN OUT PLONG IN LONG Increment
VOID NTAPI HalEndSystemInterrupt(IN KIRQL OldIrql, IN PKTRAP_FRAME TrapFrame)
BOOLEAN NTAPI HalBeginSystemInterrupt(IN KIRQL Irql, IN ULONG Vector, OUT PKIRQL OldIrql)
VOID FASTCALL KfLowerIrql(IN KIRQL NewIrql)
KIRQL FASTCALL KfRaiseIrql(IN KIRQL NewIrql)
VOID FASTCALL KeUpdateSystemTime(IN PKTRAP_FRAME TrapFrame, IN ULONG Increment, IN KIRQL OldIrql)
ULONG NTAPI HalSetTimeIncrement(IN ULONG Increment)
LARGE_INTEGER NTAPI KeQueryPerformanceCounter(IN PLARGE_INTEGER PerformanceFreq)
VOID HalpInitializeClock(VOID)
ULONG HalpCurrentTimeIncrement
VOID NTAPI HalCalibratePerformanceCounter(IN volatile PLONG Count, IN ULONGLONG NewCount)
VOID NTAPI HalpReleaseCmosSpinLock(VOID)
VOID NTAPI HalpAcquireCmosSpinLock(VOID)
LARGE_INTEGER HalpLastPerfCounter
BOOLEAN HalpClockSetMSRate
ULONG HalpCurrentRollOver
ULONG HalpPerfCounterCutoff
FORCEINLINE ULONG HalpRead8254Value(void)
VOID NTAPI HalpSetTimerRollOver(USHORT RollOver)
HALP_ROLLOVER HalpRolloverTable[15]
LARGE_INTEGER HalpPerfCounter
VOID NTAPI HalpInitializeClockPc98(VOID)
UCHAR NTAPI HalpReadCmos(_In_ UCHAR Reg)
#define PRIMARY_VECTOR_BASE
#define TIMER_CONTROL_PORT
#define TIMER_CHANNEL0_DATA_PORT
BOOLEAN HalpProfilingStopped
void __cdecl _disable(void)
long __cdecl _InterlockedDecrement(_Interlocked_operand_ long volatile *_Addend)
PPC_QUAL unsigned char __inbyte(const unsigned long Port)
PPC_QUAL void __outbyte(unsigned long const Port, const unsigned char Data)
__INTRIN_INLINE void __writeeflags(uintptr_t Value)
__INTRIN_INLINE uintptr_t __readeflags(void)
DECLSPEC_NORETURN VOID FASTCALL KiEoiHelper(IN PKTRAP_FRAME TrapFrame)
VOID NTAPI KeProfileInterrupt(IN PKTRAP_FRAME TrapFrame)
#define RTC_IO_i_INTERRUPT_RESET
VOID FASTCALL HalpClockInterruptHandler(IN PKTRAP_FRAME TrapFrame)
BOOLEAN KiEnableTimerWatchdog
FORCEINLINE VOID KiEnterInterruptTrap(IN PKTRAP_FRAME TrapFrame)
_Must_inspect_result_ _In_ ULONG Flags
_Requires_lock_held_ Interrupt _Releases_lock_ Interrupt _In_ _IRQL_restores_ KIRQL OldIrql