But shouldn't you still be able to use the timer in the local apic ?

In message <86k8sajlmz....@not.demophon.com>, Ville-Pertti Keinonen writes:
>
>p...@critter.freebsd.dk (Poul-Henning Kamp) writes:
>
>> Somebody should study the abilities of the on-cpu APIC for this
>> for pentium ff. machines.
>
>The local APIC would work very nicely, but I'm not sure that you can
>enable it reliably in a non-SMP configuration.  AFAIK most BIOSes
>don't provide an MP config at all unless you have multiple CPUs
>present.  If you don't have an MP config, you can't set up the
>redirection tables.
>
>And if you have a non-SMP chipset, you can't route interrupts at all,
>since you won't have an APIC bus on your motherboard or an I/O APIC
>for the real interrupts.
>
>It's been a while since I looked at the documentation, but it *might*
>be possible that the local APIC timers would work without using APIC
>interrupt routing.  IIRC the timers are simply programmed with the IDT
>vector number to generate as an interrupt.
>

--
Poul-Henning Kamp             FreeBSD coreteam member
p...@freebsd.org               "Real hackers run -current on their laptop."
FreeBSD -- It will take a long time before progress goes too far!


To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to