-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
RUMPTOP= ${TOPRUMP} | ||
|
||
.include "${RUMPRUN_MKCONF}" | ||
.include "${BUILDRUMP_TOOLFLAGS}" | ||
|
||
RUMPCOMP_MAKEFILEINC_rumpdev_pci:= ${.PARSEDIR}/Makefile.pcihyperdefs | ||
.export RUMPCOMP_MAKEFILEINC_rumpdev_pci | ||
|
||
RUMPRUN_OBJDIR=${RROBJ} | ||
RUMPRUN_TOOL_CFLAGS=${BUILDRUMP_TOOL_CFLAGS} | ||
|
||
.export RUMPRUN_OBJDIR | ||
.export RUMPRUN_TOOL_CFLAGS | ||
|
||
.include "${RUMPTOP}/dev/Makefile.rumpdevcomp" | ||
|
||
.for pcidev in ${RUMPPCIDEVS} | ||
SUBDIR+= ${RUMPTOP}/dev/lib/lib${pcidev} | ||
.endfor | ||
|
||
.include <bsd.subdir.mk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# make defs for hypercalls for PCI component | ||
|
||
RUMPRUN_PCIDIR:= ${.PARSEDIR} | ||
.PATH: ${RUMPRUN_PCIDIR} | ||
|
||
.ifndef RUMPRUN_OBJDIR | ||
.error ${.PARSEDIR} invoked improperly | ||
.endif | ||
|
||
#RUMPCOMP_USER_SRCS= rumppci.c rumpdma.c | ||
RUMPCOMP_USER_CPPFLAGS+=-I${RUMPRUN_PCIDIR} | ||
RUMPCOMP_USER_CPPFLAGS+=-I${RUMPRUN_PCIDIR}/../include | ||
RUMPCOMP_USER_CPPFLAGS+=-I${RUMPRUN_PCIDIR}/../../../include | ||
RUMPCOMP_USER_CPPFLAGS+=-I${RUMPRUN_OBJDIR}/include | ||
RUMPCOMP_USER_CFLAGS+= ${RUMPRUN_TOOL_CFLAGS} | ||
|
||
CPPFLAGS+= -I${RUMPRUN_PCIDIR} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#define RUMPCOMP_USERFEATURE_PCI_IOSPACE | ||
#define RUMPCOMP_USERFEATURE_PCI_DMAFREE |