PIT vs. APIC Timer

Discussions on more advanced topics such as monolithic vs micro-kernels, transactional memory models, and paging vs segmentation should go here. Use this forum to expand and improve the wiki!
jal
Member
Member
Posts: 1385
Joined: Wed Oct 31, 2007 9:09 am

Post by jal »

z180 wrote:a lot of os cant change the internal timing frequency
That's not the point, is it? For all you know the SMM does it. That would seriously screw up your APIC timing.


JAL
User avatar
AJ
Member
Member
Posts: 2646
Joined: Sun Oct 22, 2006 7:01 am
Location: Devon, UK
Contact:

Post by AJ »

bewing wrote:It sounds, then, like there has to be a method for a Mobo driver to broadcast to the rest of the system when there is an FSB speed change -- so the rest of the system knows to recalibrate timing.
I guess one way to do this would be to have your scheduler having a function like scheduler.SetFrequency(hz). Assuming a modular monolithic kernel (like mine), this scheduler function would obviously need to make a call to your architecture-dependent code to set the APIC frequency appropriately, based on the current ACPI driver data.

Cheers,
Adam
Post Reply