Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update src/hardware/apic.c fix format string errors on M1 Mac #34

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
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;
}
}