summaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/hyperv.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/ipxe/hyperv.h')
-rw-r--r--src/include/ipxe/hyperv.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/include/ipxe/hyperv.h b/src/include/ipxe/hyperv.h
index 9194a976..9b7e54a5 100644
--- a/src/include/ipxe/hyperv.h
+++ b/src/include/ipxe/hyperv.h
@@ -37,6 +37,13 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
*/
#define HV_GUEST_OS_ID_IPXE ( ( 1ULL << 63 ) | ( 0x18aeULL << 48 ) )
+/** Guest OS identity for Gen 2 UEFI firmware
+ *
+ * This does not conform to the documented structure for guest OS
+ * identities.
+ */
+#define HV_GUEST_OS_ID_UEFI ( 1ULL << 40 )
+
/** Enable hypercall page */
#define HV_HYPERCALL_ENABLE 0x00000001UL