Skip to content

Instantly share code, notes, and snippets.

@daaximus

daaximus/cr.h Secret

Created October 30, 2018 21:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save daaximus/b9649591f83d262bf4f1b52238621e98 to your computer and use it in GitHub Desktop.
Save daaximus/b9649591f83d262bf4f1b52238621e98 to your computer and use it in GitHub Desktop.
cr3 def
union __cr3_t
{
unsigned __int64 control;
struct
{
unsigned __int64 pcid : 12;
unsigned __int64 page_frame_number : 36;
unsigned __int64 reserved_0 : 12;
unsigned __int64 reserved_1 : 3;
unsigned __int64 pcid_invalidate : 1;
} bits;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment