Skip to content

Instantly share code, notes, and snippets.

@muturik
muturik / vmcs.hpp
Created August 22, 2021 23:05
VMCS field encodings
#include <ntifs.h>
#include <stdint.h>
/*
Even though you can simply copy from kvm, linux kernels, etc.., it's better to copy them yourself as they change, plus who wants
to rely on another project for updates?
made using: This document contains all four volumes of the Intel 64 and IA-32 Architectures Software
Developer's Manual: Basic Architecture, Order Number 253665; Instruction Set Reference A-Z, Order
Number 325383; System Programming Guide, Order Number 325384; Model-Specific Registers, Order