Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/hardware/apic.c
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ int apic_next(itick_t now)
if (apic.timer_next <= now) {
// Raise interrupt
if(!(info & 1)) {// LVT_DISABLED set to 0
APIC_LOG(" timer period %ld cur=%ld next=%ld\n", apic_get_period(), now, apic.timer_next);
APIC_LOG(" timer period %llu cur=%llu next=%llu\n", apic_get_period(), now, apic.timer_next);
apic_receive_bus_message(apic.lvt[LVT_INDEX_TIMER] & 0xFF, LVT_DELIVERY_FIXED, 0);
}
else apic_timer_enabled = 0;
Expand Down Expand Up @@ -600,4 +600,4 @@ void apic_init(struct pc_settings* pc)
int apic_is_enabled(void)
{
return apic.enabled;
}
}