diff options
author | jhb <jhb@FreeBSD.org> | 2014-02-07 20:53:41 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2014-02-07 20:53:41 +0000 |
commit | cd00db34cceff03dccb8cec79669b6afbb9da527 (patch) | |
tree | d6c1dc38209a9999f1d3e5361d169b1912609012 /usr.sbin/bhyve/dbgport.c | |
parent | b32b7a2805af0856be55afa1192f2bf7074a0e5b (diff) | |
download | FreeBSD-src-cd00db34cceff03dccb8cec79669b6afbb9da527.zip FreeBSD-src-cd00db34cceff03dccb8cec79669b6afbb9da527.tar.gz |
Mark the I/O ports used by the bhyve console and debug devices as system
resources.
MFC after: 1 week
Diffstat (limited to 'usr.sbin/bhyve/dbgport.c')
-rw-r--r-- | usr.sbin/bhyve/dbgport.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.sbin/bhyve/dbgport.c b/usr.sbin/bhyve/dbgport.c index 97a86ef..534ae65 100644 --- a/usr.sbin/bhyve/dbgport.c +++ b/usr.sbin/bhyve/dbgport.c @@ -42,6 +42,7 @@ __FBSDID("$FreeBSD$"); #include "inout.h" #include "dbgport.h" +#include "pci_lpc.h" #define BVM_DBG_PORT 0x224 #define BVM_DBG_SIG ('B' << 8 | 'V') @@ -110,6 +111,8 @@ static struct inout_port dbgport = { dbg_handler }; +SYSRES_IO(BVM_DBG_PORT, 4); + void init_dbgport(int sport) { |