APIC timer under bochs
Posted: Sat Mar 24, 2012 4:17 am
I have been following the example C code in the wiki (http://wiki.osdev.org/APIC_timer) about implementing the APIC timer.
It seems to work correctly under QEMU, but under Bochs the difference between the initial APIC count and the current APIC count after the PIC is done seems too low (around 0x84). Under QEMU this is around 0x9951F. The periodic timer interrupt on bochs then fires too quickly and this does not equal the given quantum value. Is this somehow normal because bochs is emulator or I am missing something here?
It seems to work correctly under QEMU, but under Bochs the difference between the initial APIC count and the current APIC count after the PIC is done seems too low (around 0x84). Under QEMU this is around 0x9951F. The periodic timer interrupt on bochs then fires too quickly and this does not equal the given quantum value. Is this somehow normal because bochs is emulator or I am missing something here?