]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/MdeModulePkg.dec
MdeModulePkg/SmmEndOfS3Resume.h: Add new protocol definition.
[mirror_edk2.git] / MdeModulePkg / MdeModulePkg.dec
index 403a66a5ad64b8dc89875efbbb9e053f58cff322..20a07be96e5a983e10120d6099211a79f0e1bbca 100644 (file)
   #  Include/Guid/MdeModuleHii.h\r
   gEfiIfrTianoGuid      = { 0xf0b1735, 0x87a0, 0x4193, {0xb2, 0x66, 0x53, 0x8c, 0x38, 0xaf, 0x48, 0xce }}\r
 \r
+  ## Guid for EDKII implementation extension, used to indaicate there are bit fields in the varstore.\r
+  #  Include/Guid/MdeModuleHii.h\r
+  gEdkiiIfrBitVarstoreGuid  = {0x82DDD68B, 0x9163, 0x4187, {0x9B, 0x27, 0x20, 0xA8, 0xFD, 0x60,0xA7, 0x1D}}\r
+\r
   ## Guid for Framework vfr GUIDed opcodes.\r
   #  Include/Guid/MdeModuleHii.h\r
   gEfiIfrFrameworkGuid  = { 0x31ca5d1a, 0xd511, 0x4931, { 0xb7, 0x82, 0xae, 0x6b, 0x2b, 0x17, 0x8c, 0xd7 }}\r
   ## Include/Protocol/IoMmu.h\r
   gEdkiiIoMmuProtocolGuid = { 0x4e939de9, 0xd948, 0x4b0f, { 0x88, 0xed, 0xe6, 0xe1, 0xce, 0x51, 0x7c, 0x1e } }\r
 \r
+  ## Include/Protocol/SmmEndofS3Resume.h\r
+  gEdkiiSmmEndOfS3ResumeProtocolGuid = { 0x96f5296d, 0x05f7, 0x4f3c, {0x84, 0x67, 0xe4, 0x56, 0x89, 0x0e, 0x0c, 0xb5 } }\r
+\r
 #\r
 # [Error.gEfiMdeModulePkgTokenSpaceGuid]\r
 #   0x80000001 | Invalid value provided.\r
   # @ValidList  0x80000006 | 0x03058002\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdErrorCodeSetVariable|0x03058002|UINT32|0x30001040\r
 \r
+  ## Mask to control the NULL address detection in code for different phases.\r
+  #  If enabled, accessing NULL address in UEFI or SMM code can be caught.<BR><BR>\r
+  #    BIT0    - Enable NULL pointer detection for UEFI.<BR>\r
+  #    BIT1    - Enable NULL pointer detection for SMM.<BR>\r
+  #    BIT2..6 - Reserved for future uses.<BR>\r
+  #    BIT7    - Disable NULL pointer detection just after EndOfDxe. <BR>\r
+  #              This is a workaround for those unsolvable NULL access issues in\r
+  #              OptionROM, boot loader, etc. It can also help to avoid unnecessary\r
+  #              exception caused by legacy memory (0-4095) access after EndOfDxe,\r
+  #              such as Windows 7 boot on Qemu.<BR>\r
+  # @Prompt Enable NULL address detection.\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdNullPointerDetectionPropertyMask|0x0|UINT8|0x30001050\r
+\r
 [PcdsFixedAtBuild, PcdsPatchableInModule]\r
   ## Dynamic type PCD can be registered callback function for Pcd setting action.\r
   #  PcdMaxPeiPcdCallBackNumberPerPcdEntry indicates the maximum number of callback function\r