Improve PCI BAR emulation:
authorneel <neel@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 10 Apr 2013 02:12:39 +0000 (02:12 +0000)
committerneel <neel@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 10 Apr 2013 02:12:39 +0000 (02:12 +0000)
commitf9be133c78f1d77d91d58425a3d66bab04debdab
tree74404bb950a87fe0a043f8f34de128bc51966a5a
parent82bec8f59d15cfbf637d4fd83da9266ce987532a
Improve PCI BAR emulation:
- Respect the MEMEN and PORTEN bits in the command register
- Allow the guest to reprogram the address decoded by the BAR

Submitted by: Gopakumar T
Obtained from: NetApp

git-svn-id: svn://svn.freebsd.org/base/head@249321 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.sbin/bhyve/consport.c
usr.sbin/bhyve/dbgport.c
usr.sbin/bhyve/inout.c
usr.sbin/bhyve/inout.h
usr.sbin/bhyve/mem.c
usr.sbin/bhyve/mem.h
usr.sbin/bhyve/pci_emul.c