diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2015-12-12 12:33:50 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2015-12-12 12:33:50 +0000 |
commit | 2022ba9abb541f1e704dc8d75e56b3e0a6539f40 (patch) | |
tree | beb4d6762e3aa94c26b4fcbda146605643bbbd69 /sys/dev/pv/xenreg.h | |
parent | 7ce171203f18247f94d49bb995188ba2a8d5c87f (diff) |
Identify hypervisors before configuring other children of the mainbus
(bios, CPU, interrupt handlers, pvbus). This splits the pvbus attach
function into two parts: pvbus_identify() to scan the CPUID registers
for supported hypervisors and pvbus_attach() to attach the bus, print
information, and configure the children.
This will be needed for Xen and KVM, as discussed with mikeb@ and sf@
OK mlarkin@
Diffstat (limited to 'sys/dev/pv/xenreg.h')
-rw-r--r-- | sys/dev/pv/xenreg.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/pv/xenreg.h b/sys/dev/pv/xenreg.h index 36fc635097d..2ad409c79c7 100644 --- a/sys/dev/pv/xenreg.h +++ b/sys/dev/pv/xenreg.h @@ -85,8 +85,6 @@ # error "Not implemented" #endif -#define CPUID_OFFSET_XEN_HYPERCALL 0x2 - #if defined(__i386__) || defined(__amd64__) struct arch_vcpu_info { unsigned long cr2; |