git: x86_64/lapic: Use function pointer for EOI.

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Mon May 14 07:50:25 PDT 2018


commit 3c38fc608f7d9d68b18b2e437a14d4365725691d
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Mon May 14 22:35:04 2018 +0800

    x86_64/lapic: Use function pointer for EOI.
    
    This helps upcoming X2APIC support and virtualization EOI optmization,
    e.g. Hyper-V can be configured to do auto-EOI.
    
    Discussed-with:	Imre Vadasz

Summary of changes:
 sys/conf/options                      |  1 +
 sys/platform/pc64/apic/apic_vector.s  | 24 ++++++++++++------------
 sys/platform/pc64/apic/lapic.c        | 21 +++++++++++++++++++++
 sys/platform/pc64/apic/lapic.h        |  1 +
 sys/platform/pc64/x86_64/genassym.c   |  2 --
 sys/platform/pc64/x86_64/msi_vector.s |  4 ++--
 6 files changed, 37 insertions(+), 16 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3c38fc608f7d9d68b18b2e437a14d4365725691d


-- 
DragonFly BSD source repository



More information about the Commits mailing list