336af1c2ad
We have reorganized all the file directories that previously looked ugly as hell (cough cough arch/x86_64 cough) Now it looks much cleaner Signed-off-by: kaguya <vpshinomiya@protonmail.com>
13 lines
304 B
C
13 lines
304 B
C
#pragma once
|
|
#include <stdint.h>
|
|
#include "irq.h"
|
|
#include "arch/x86_64/cpu/io.h"
|
|
#include "libk/stdio.h"
|
|
#include "e9.h"
|
|
|
|
extern volatile uint64_t g_Ticks;
|
|
extern uint64_t g_Unixseconds;
|
|
|
|
void x86_64_PIT_Initialize(uint32_t frequency);
|
|
uint64_t PIT_GetTicks(void);
|
|
void PIT_IRQ_Handler(Registers* regs); |