git: msi: Add setup/map function

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Mon Dec 26 21:45:11 PST 2011


commit c9852c4cdc5706115542e9c0f6228b2612e359d4
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Sun Dec 25 19:46:03 2011 +0800

    msi: Add setup/map function
    
    - msi_setup, setup the IDT entry properly
    - msi_map, return the MSI address and MSI data according to the
      'intr' and 'cpuid'
    
    The various MSI macros forming MSI address/data are taken from FreeBSD

Summary of changes:
 sys/platform/pc64/conf/files        |    1 +
 sys/platform/pc64/include/msi_var.h |   11 +
 sys/platform/pc64/x86_64/msi.c      |  448 +++++++++++++++++++++++++++++++++++
 3 files changed, 460 insertions(+), 0 deletions(-)
 create mode 100644 sys/platform/pc64/include/msi_var.h
 create mode 100644 sys/platform/pc64/x86_64/msi.c

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c9852c4cdc5706115542e9c0f6228b2612e359d4


-- 
DragonFly BSD source repository





More information about the Commits mailing list