]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/X64/Nasm.inc
MdePkg/BaseLib: add support for PVALIDATE instruction
[mirror_edk2.git] / MdePkg / Include / X64 / Nasm.inc
index 527f71e9eb4d34ab9e14d24640f898364e1272bb..528bb3385609854feffa42ee0743b00d00e79f33 100644 (file)
     DB 0xF3, 0x48, 0x0F, 0xAE, 0xE8\r
 %endmacro\r
 \r
+;\r
+; Macro for the PVALIDATE instruction, defined in AMD APM volume 3.\r
+; NASM feature request URL: https://bugzilla.nasm.us/show_bug.cgi?id=3392753\r
+;\r
+%macro PVALIDATE       0\r
+    DB 0xF2, 0x0F, 0x01, 0xFF\r
+%endmacro\r
+\r
 ; NASM provides built-in macros STRUC and ENDSTRUC for structure definition.\r
 ; For example, to define a structure called mytype containing a longword,\r
 ; a word, a byte and a string of bytes, you might code\r