git: ioapic: Rework I/O APIC APIC ID allocation

看板DFBSD_commit作者時間15年前 (2011/03/24 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1DYZLdJn (DFBSD_commit)