[INTERRUPTS] Enabling the APIC timer

This commit is contained in:
2017-01-24 12:19:47 +01:00
parent 9ae3b014da
commit d3d065b2e2
3 changed files with 64 additions and 1 deletions

View File

@@ -4,6 +4,8 @@
void apic_init();
void apic_interrupt(uint8_t destination, uint8_t level, uint8_t type, uint8_t vector);
void apic_ack();
void apic_timer(uint64_t us);
void apic_timer_stop();
#define APIC_INT_LEVEL_ASSERT 0x1
#define APIC_INT_LEVEL_DEASSERT 0x0
#define APIC_INT_TYPE_FIXED 0x0