summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_txpreg.h
diff options
context:
space:
mode:
authorMike Larkin <mlarkin@cvs.openbsd.org>2017-03-19 03:42:39 +0000
committerMike Larkin <mlarkin@cvs.openbsd.org>2017-03-19 03:42:39 +0000
commit4bb0275f35127285e882164f5c27ef872f8eeb98 (patch)
tree1f0db0654dad671fa2a37e081358390b284be84d /sys/dev/pci/if_txpreg.h
parentee89493bc3de6d6729008aefa4f47d6bf1d894a2 (diff)
Handle master/slave PIC vector base properly. OpenBSD uses 0x20/0x28
(respectively). Seabios uses 0x8/0x78 and linux uses 0x30/0x38. Respond properly to PIC vector base assignment and calculate VMX injection vectors based on current values, instead of always assuming OpenBSD defaults. Needed for both seabios serial console support as well as linux guest support. Tested on -current as is, does not break existing OpenBSD guest support.
Diffstat (limited to 'sys/dev/pci/if_txpreg.h')
0 files changed, 0 insertions, 0 deletions