]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Clean up DEC files:
authormdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 9 May 2011 17:49:59 +0000 (17:49 +0000)
committermdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 9 May 2011 17:49:59 +0000 (17:49 +0000)
1) Remove section header comment blocks that do not provide any information
2) Combine PCDs listed in multiple sections into a single section that supports multiple PCD types to reduce maintenance overhead
3) Remove ModuleTypeList comments from [Includes], [Protocols], [Ppis], and [Guids] sections that do not properly describe the module type restrictions.
4) Clean up formatting of GUID structure declarations
5) Remove ".common" from section names if they are not required.
6) Order sections consistently as [Defines], [Includes], [LibraryClasses], [Guid], [Ppis], [Protocols], [PcdsFeatureFlag], [PcdsFixedAtBuild], [PcdsPatchableInModule], [PcdsDynamic], and [PcdsDynamicEx]

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11631 6f19259b-4bc3-4df7-8a09-765794883524

Nt32Pkg/Nt32Pkg.dec

index 0606cfe9ff12b2694ad070b59c77c2f863221c04..32d774878f79406c44364426501c018506f36405 100644 (file)
 #\r
 #\r
 \r
-## Basic definitions for Nt32 package.\r
-#\r
-\r
 [Defines]\r
   DEC_SPECIFICATION              = 0x00010005\r
   PACKAGE_NAME                   = Nt32Pkg\r
   PACKAGE_GUID                   = 0fb2aa2d-10d5-40a5-a9dc-060c12a4a3f3\r
   PACKAGE_VERSION                = 0.1\r
 \r
-##\r
-# Include Paths that are provided by this package.\r
-#\r
 [Includes]\r
-  Include                        # Root include for the package\r
+  Include\r
 \r
-##\r
-# LibraryClasses provided by Nt32Pkg for all architecture. \r
-#\r
 [LibraryClasses]\r
   ##\r
   #  Expose EFI_WIN_NT_THUNK_PROTOCOL's interface, this protocol wrapper all \r
   #  necessary Window API used by Nt32 enumlation environment.\r
   WinNtLib|Include/Library/WinNtLib.h\r
 \r
-##\r
-# Guids provided by Nt32Pkg for all architecture.\r
-#\r
 [Guids]\r
   gEfiWinNtPassThroughGuid       = { 0xCC664EB8, 0x3C24, 0x4086, { 0xB6, 0xF6, 0x34, 0xE8, 0x56, 0xBC, 0xE3, 0x6E }}\r
   gEfiWinNtConsoleGuid           = { 0xBA73672C, 0xA5D3, 0x11D4, { 0xBD, 0x00, 0x00, 0x80, 0xC7, 0x3C, 0x88, 0x81 }}\r
   gEfiNt32PkgTokenSpaceGuid      = { 0x0D79A645, 0x1D91, 0x40a6, { 0xA8, 0x1F, 0x61, 0xE6, 0x98, 0x2B, 0x32, 0xB4 }}\r
   gEfiWinNtSystemConfigGuid      = { 0xb347f047, 0xaf8c, 0x490e, { 0xac, 0x07, 0x0a, 0xa9, 0xb7, 0xe5, 0x38, 0x58 }}\r
 \r
-##\r
-# Protocols provided by Nt32Pkg for all architecture.\r
-#\r
 [Protocols]\r
   gWinNtBusDriverGuid            = { 0x0419f582, 0x0625, 0x4531, { 0x8a, 0x33, 0x85, 0xa9, 0x96, 0x5c, 0x95, 0xbc }}\r
   gEfiWinNtThunkProtocolGuid     = { 0x58C518B1, 0x76F3, 0x11D4, { 0xBC, 0xEA, 0x00, 0x80, 0xC7, 0x3C, 0x88, 0x81 }}\r
   gEfiWinNtIoProtocolGuid        = { 0x96EB4AD6, 0xA32A, 0x11D4, { 0xBC, 0xFD, 0x00, 0x80, 0xC7, 0x3C, 0x88, 0x81 }}\r
 \r
-##\r
-# Ppis provide by Nt32Pkg for all architecture\r
-#\r
 [Ppis]\r
   ## This PPI wrapper all necessary windows API used by PEI driver in NT32 environment.\r
   gPeiNtThunkPpiGuid             = { 0x98c281e5, 0xf906, 0x43dd, { 0xa9, 0x2b, 0xb0, 0x03, 0xbf, 0x27, 0x65, 0xda }}\r
   ## This PPI instance hold information for an simulated firmware device.\r
   gNtFwhPpiGuid                  = { 0x4e76928f, 0x50ad, 0x4334, {0xb0, 0x6b, 0xa8, 0x42, 0x13, 0x10, 0x8a, 0x57 }}\r
   \r
-## This section list all "Fixed At Build" type PCD produced by NT32 package.\r
-#\r
-# "Fixed At Build" type PCD can be seems as constant and its value will not be \r
-# changed after customized in DSC file.\r
-#\r
 [PcdsFixedAtBuild]\r
   gEfiNt32PkgTokenSpaceGuid.PcdWinNtFlashNvStorageEventLogBase|0x0|UINT32|0x0000100e\r
   gEfiNt32PkgTokenSpaceGuid.PcdWinNtFlashNvStorageEventLogSize|0x0|UINT32|0x0000100f\r
   gEfiNt32PkgTokenSpaceGuid.PcdWinNtFlashFvRecoverySize|0x0|UINT32|0x00001011\r
   gEfiNt32PkgTokenSpaceGuid.PcdWinNtFirmwareFdSize|0x0|UINT32|0x00001012\r
   gEfiNt32PkgTokenSpaceGuid.PcdWinNtFirmwareBlockSize|0|UINT32|0x00001013\r
-\r
   gEfiNt32PkgTokenSpaceGuid.PcdWinNtFlashNvStorageVariableBase|0x0|UINT32|0x00001014\r
   gEfiNt32PkgTokenSpaceGuid.PcdWinNtFlashNvStorageFtwSpareBase|0x0|UINT32|0x00001015\r
   gEfiNt32PkgTokenSpaceGuid.PcdWinNtFlashNvStorageFtwWorkingBase|0x0|UINT32|0x00001016\r
   gEfiNt32PkgTokenSpaceGuid.PcdWinNtFdBaseAddress|0x0|UINT32|0x00001017\r
 \r
-## This section list all "PatchableInModule" type PCD produced by NT32 package.\r
-# "PatchableInModule" type PCD can be seems as global variable and its value is \r
-# stored in PE file data section of module. This type PCD mainly is designed for \r
-# binary module. \r
-#\r
 [PcdsFixedAtBuild, PcdsPatchableInModule]\r
   gEfiNt32PkgTokenSpaceGuid.PcdWinNtBootMode|1|UINT32|0x00001006\r
   gEfiNt32PkgTokenSpaceGuid.PcdWinNtFirmwareVolume|L"..\\Fv\\Fv_Recovery.fd"|VOID*|0x00001009\r
   gEfiNt32PkgTokenSpaceGuid.PcdWinNtMemorySizeForSecMain|L"64!64"|VOID*|0x0000100c\r
 \r
-## This section list all "Dynamic" type PCD produced by NT32 package.\r
-# \r
-# "Dynamic" type PCD will be managed by PCD database driver at execution time.\r
-# its value can be modified by PCD_PPI/PCD_PROTOCOL at execution time.\r
-#\r
 [PcdsDynamic, PcdsDynamicEx]\r
   gEfiNt32PkgTokenSpaceGuid.PcdWinNtPhysicalDisk|L"E:RW;245760;512"|VOID*|0x00001000\r
   gEfiNt32PkgTokenSpaceGuid.PcdWinNtVirtualDisk|L"FW;40960;512"|VOID*|0x00001001\r