]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/MdeModulePkg.dec
Add check to the allocated pool.
[mirror_edk2.git] / MdeModulePkg / MdeModulePkg.dec
index 9db9d4a0ba6246a7748e15bf2c6b96c73fdaa884..b5f86f5b2617f4d6df130b7ed807122984183f89 100644 (file)
@@ -4,7 +4,7 @@
 # It also provides the defintions(including PPIs/PROTOCOLs/GUIDs and library classes) \r
 # and libraries instances, which are used for those modules.\r
 #\r
-# Copyright (c) 2007 - 2008, Intel Corporation.\r
+# Copyright (c) 2007 - 2009, Intel Corporation.\r
 #\r
 # All rights reserved.\r
 # This program and the accompanying materials are licensed and made available under\r
   ## Include/Guid/ConsoleInDevice.h\r
   gEfiConsoleInDeviceGuid        = { 0xD3B36F2B, 0xD551, 0x11D4, { 0x9A, 0x46, 0x00, 0x90, 0x27, 0x3F, 0xC1, 0x4D }}\r
   \r
-  ## Guid specify the primary console out device.\r
-  ## Include/Guid/PrimaryConsoleOutDevice.h\r
-  gEfiPrimaryConsoleOutDeviceGuid = { 0x62BDF38A, 0xE3D5, 0x492C, { 0x95, 0x0C, 0x23, 0xA7, 0xF6, 0x6E, 0x67, 0x2E }}\r
-  \r
-  ## Guid specify the primary console in device.\r
-  ## Include/Guid/PrimaryConsoleInDevice.h\r
-  gEfiPrimaryConsoleInDeviceGuid = { 0xE451DCBE, 0x96A1, 0x4729, { 0xA5, 0xCF, 0x6B, 0x9C, 0x2C, 0xFF, 0x47, 0xFD }}\r
-  \r
-  ## Guid specify the primary StdErr device.\r
-  ## Include/Guid/PrimaryStandardErrorDevice.h\r
-  gEfiPrimaryStandardErrorDeviceGuid = { 0x5A68191B, 0x9B97, 0x4752, { 0x99, 0x46, 0xE3, 0x6A, 0x5D, 0xA9, 0x42, 0xB1 }}\r
-  \r
   ## Hob and Variable guid specify the platform memory type information.\r
   ## Include/Guid/MemoryTypeInformation.h\r
   gEfiMemoryTypeInformationGuid  = { 0x4C19049F, 0x4137, 0x4DD3, { 0x9C, 0x10, 0x8B, 0x97, 0xA8, 0x3F, 0xFD, 0xFA }}\r
   ## Include/Protocol/Dpc.h\r
   gEfiDpcProtocolGuid            = {0x480f8ae9, 0xc46, 0x4aa9,  { 0xbc, 0x89, 0xdb, 0x9f, 0xba, 0x61, 0x98, 0x6 }}\r
   \r
-  ## Tcg addtional services to measure PeImage and ActionString.\r
-  ## Include/Protocol/TcgPlatform.h\r
-  gEfiTcgPlatformProtocolGuid    = { 0x8c4c9a41, 0xbf56, 0x4627, { 0x9e, 0xa, 0xc8, 0x38, 0x6d, 0x66, 0x11, 0x5c }}\r
-\r
   ## Fault Tolerant Write protocol provides boot-time service to do fault tolerant write capability for block devices.\r
   #  Include/Protocol/FaultTolerantWrite.h\r
   gEfiFaultTolerantWriteProtocolGuid = { 0x3EBD9E82, 0x2C78, 0x4DE6, { 0x97, 0x86, 0x8D, 0x4B, 0xFC, 0xB7, 0xC8, 0x81 }}\r
   #  If FASLE, only FTW Write service is available.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdFullFtwServiceEnable|TRUE|BOOLEAN|0x0001200a\r
 \r
+[PcdsFeatureFlag.IA32]\r
+  ## \r
+  # This feature flag specifies whether DxeIpl switches to long mode to enter DXE phase.\r
+  # If it is TRUE, DxeIpl will load a 64-bit DxeCore and switch to long mode to hand over to DxeCore;\r
+  # otherwise, DxeIpl will load a 32-bit DxeCore and perform stack switch to hand over to DxeCore.\r
+  # It is assumed that 64-bit DxeCore is built in firmware if it is true; otherwise 32-bit DxeCore\r
+  # is built in firmware.\r
+  #\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|TRUE|BOOLEAN|0x0001003b\r
+\r
 [PcdsFixedAtBuild]\r
   ## Dynamic type PCD can be registered callback function for Pcd setting action.\r
   #  PcdMaxPeiPcdCallBackNumberPerPcdEntry indicate maximum number of callback function\r
   ## Maximum PPI count is supported by PeiCore's PPI database.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPpiSupported|64|UINT32|0x00010033\r
   \r
-  ## RTC Update Timeout Value\r
-  gEfiMdeModulePkgTokenSpaceGuid.PcdRealTimeClockUpdateTimeout|100000|UINT32|0x00010034\r
-  \r
   ## Size of the NV variable range.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize|0x0|UINT32|0x30000002\r
   \r
   ## Size of the FTW working block range.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize|0x0|UINT32|0x30000011\r
  \r
-[PcdsFixedAtBuild,PcdsPatchableInModule,PcdsDynamic]  \r
-  ##\r
-  #  This PCD defines the times to print hello world string.\r
-  #  This PCD is a sample to explain FixedAtBuild UINT32 PCD usage.\r
-  ##\r
-  gEfiMdeModulePkgTokenSpaceGuid.PcdHelloWorldPrintTimes|1|UINT32|0x40000005\r
-\r
-  ## Indicate the max size of the populated capsule image that the platform can support.\r
-  #  The default max size is 100MB (0x6400000) for more than one large capsule images. \r
-  gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizePopulateCapsule|0x6400000|UINT32|0x0001001e\r
-  \r
-  ## Indicate the max size of the non-populated capsule image that the platform can support.\r
-  #  The default max size is 10MB (0xa00000) for the casule image without populated flag setting.\r
-  gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizeNonPopulateCapsule|0xa00000|UINT32|0x0001001f\r
-\r
 [PcdsFixedAtBuild,PcdsPatchableInModule]\r
   ## Maximun number of performance log entries during PEI phase.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdMaxPeiPerformanceLogEntries|40|UINT8|0x0001002f\r
+\r
+  ## RTC Update Timeout Value\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdRealTimeClockUpdateTimeout|100000|UINT32|0x00010034\r
   \r
 [PcdsPatchableInModule,PcdsDynamic]\r
   ##\r
   ##\r
   #  This PCD defines the Console output row and the default value is 80 according to UEFI spec\r
   ##\r
-  gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|80|UINT32|0x40000007  \r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|80|UINT32|0x40000007\r
   \r
 [PcdsFixedAtBuild,PcdsDynamic]\r
   ## Base address of the NV variable range in flash device \r
   \r
   ##\r
   #  This PCD defines the print string.\r
-  #  This PCD is a sample to explain FixedAtBuild String PCD usage.\r
+  #  This PCD is a sample to explain String typed PCD usage.\r
   ##\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdHelloWorldPrintString|L"UEFI Hello World!\n"|VOID*|0x40000004 \r
   \r
-[PcdsFeatureFlag.IA32]\r
-  ## If TRUE, the DXE IPL will load a 64-bit DxeCore.\r
-  gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|TRUE|BOOLEAN|0x0001003b\r
+[PcdsFixedAtBuild,PcdsPatchableInModule,PcdsDynamic]\r
+  ##\r
+  #  This PCD defines the times to print hello world string.\r
+  #  This PCD is a sample to explain FixedAtBuild UINT32 PCD usage.\r
+  ##\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdHelloWorldPrintTimes|1|UINT32|0x40000005\r
 \r
+  ## Indicate the max size of the populated capsule image that the platform can support.\r
+  #  The default max size is 100MB (0x6400000) for more than one large capsule images. \r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizePopulateCapsule|0x6400000|UINT32|0x0001001e\r
+  \r
+  ## Indicate the max size of the non-populated capsule image that the platform can support.\r
+  #  The default max size is 10MB (0xa00000) for the casule image without populated flag setting.\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizeNonPopulateCapsule|0xa00000|UINT32|0x0001001f\r