DragonFly commits List (threaded) for 2011-12
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: msi: Add setup/map function
commit c9852c4cdc5706115542e9c0f6228b2612e359d4
Author: Sepherosa Ziehau <sephe@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
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]