DragonFly commits List (threaded) for 2011-03
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: ioapic: Rework I/O APIC APIC ID allocation
commit 68b90e82b2697c9d6acc358c76689a96a5958797
Author: Sepherosa Ziehau <sephe@dragonflybsd.org>
Date: Wed Mar 23 20:04:15 2011 +0800
ioapic: Rework I/O APIC APIC ID allocation
- I/O APIC's ID field in ID register contains only 4bits, so only 16
I/O APICs should be allowed.
- All I/O APIC's APIC ID's lower 4bits (what we wrote to I/O APIC ID
register) must be different from each other, this should be done
even on xAPIC (e.g. Pentium 4), where I/O APIC's APIC IDs are not
required to be different from what LAPIC's.
Summary of changes:
sys/platform/pc32/apic/mpapic.c | 140 ++++++++++++++++++++++++++++++++++-----
sys/platform/pc64/apic/mpapic.c | 140 ++++++++++++++++++++++++++++++++++-----
2 files changed, 246 insertions(+), 34 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/68b90e82b2697c9d6acc358c76689a96a5958797
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]