13 lines
263 B
C
13 lines
263 B
C
#pragma once
|
|
#include <Types.h>
|
|
#include <Arch/Exceptions.h>
|
|
|
|
enum {
|
|
kTimerFrequency = 1000, // 1ms
|
|
kTimerIRQ = 27,
|
|
};
|
|
|
|
void TimerInitialize();
|
|
void TimerReset(UInt64 interval);
|
|
Address TimerHandler(ExceptionsContext* frame);
|
|
UInt64 TimerGetCounter(); |