git: x86_64: Prepare for x2apic support.
Sepherosa Ziehau
sephe at crater.dragonflybsd.org
Tue Jun 5 05:33:50 PDT 2018
commit 8afc0c3d245781786d80df73e9bcc25b531a96b1
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date: Sun Jun 3 18:15:52 2018 +0800
x86_64: Prepare for x2apic support.
- Use macro to access and modify LAPIC registers.
- Use function pointers for hot LAPIC operation, i.e. IPI and timer.
- Refactor the related code a bit.
Global variable 'lapic' is renamed to 'lapic_mem' to ease code search.
Based on work by ivadasz at .
Summary of changes:
sys/platform/pc64/acpica/acpi_madt.c | 2 +-
sys/platform/pc64/apic/lapic.c | 285 ++++++++++++++++------------------
sys/platform/pc64/apic/lapic.h | 22 ++-
sys/platform/pc64/x86_64/mp_machdep.c | 55 +++----
sys/platform/pc64/x86_64/mptable.c | 2 +-
sys/platform/pc64/x86_64/trap.c | 7 +-
6 files changed, 185 insertions(+), 188 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8afc0c3d245781786d80df73e9bcc25b531a96b1
--
DragonFly BSD source repository
More information about the Commits
mailing list