Add Nt32 fdf file.
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 3 Jul 2007 03:10:14 +0000 (03:10 +0000)
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 3 Jul 2007 03:10:14 +0000 (03:10 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2980 6f19259b-4bc3-4df7-8a09-765794883524

Nt32Pkg/Nt32Pkg.dsc
Nt32Pkg/Nt32Pkg.fdf [new file with mode: 0644]

index 5f3c3e3..f4e56d7 100644 (file)
@@ -30,6 +30,7 @@
   SUPPORTED_ARCHITECTURES        = IA32\r
   BUILD_TARGETS                  = DEBUG\r
   SKUID_IDENTIFIER               = DEFAULT\r
+  FLASH_DEFINITION               = $(WORKSPACE)/Nt32Pkg/Nt32Pkg.fdf\r
 \r
   DEBUG_ICC_IA32_DLINK_FLAGS                  = /EXPORT:InitializeDriver=_ModuleEntryPoint /ALIGN:4096 /SUBSYSTEM:CONSOLE\r
   DEBUG_VS2003_IA32_DLINK_FLAGS               = /EXPORT:InitializeDriver=_ModuleEntryPoint /ALIGN:4096 /SUBSYSTEM:CONSOLE\r
   $(WORKSPACE)/Nt32Pkg/BootModePei/BootMode.inf\r
   $(WORKSPACE)/Nt32Pkg/WinNtThunkDxe/WinNtThunk.inf\r
 # $(WORKSPACE)/Nt32Pkg/MiscSubClassPlatformDxe/MiscSubclassDriver.inf\r
-  $(WORKSPACE)/Nt32Pkg/WinNtThunkDxe/WinNtThunk.inf\r
   $(WORKSPACE)/Nt32Pkg/WinNtThunkPPIToProtocolPei/WinNtThunkPPIToProtocol.inf\r
   $(WORKSPACE)/Nt32Pkg/WinNtAutoScanPei/WinNtAutoScan.inf\r
   $(WORKSPACE)/Nt32Pkg/WinNtBlockIoDxe/WinNtBlockIo.inf\r
diff --git a/Nt32Pkg/Nt32Pkg.fdf b/Nt32Pkg/Nt32Pkg.fdf
new file mode 100644 (file)
index 0000000..1471c5b
--- /dev/null
@@ -0,0 +1,206 @@
+# This is NT32 FDF file\r
+# $(BUILD_NUMBER) The number may be specified in the platform description (DSC) file¡¯s [Defines] section, BUILD_NUMBER element. \r
+\r
+[FD.Fv_Recovery]\r
+BaseAddress   = 0x0|PcdFdBaseAddress\r
+Size          = 0x002a0000\r
+ErasePolarity = 1\r
+BlockSize     = 0x10000\r
+NumBlocks     = 0x2a\r
+\r
+0x00000000|0x00280000\r
+PcdFlashFvRecoveryBase|PcdFlashFvRecoverySize\r
+FV = FvRecovery\r
+\r
+0x00280000|0x0000c000\r
+PcdFlashNvStorageBase|PcdFlashNvStorageSize\r
+DATA = {\r
+  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \r
+  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \r
+  0x8d, 0x2b, 0xf1, 0xff, 0x96, 0x76, 0x8b, 0x4c, \r
+  0xa9, 0x85, 0x27, 0x47, 0x07, 0x5b, 0x4f, 0x50, \r
+  0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, \r
+  0x5f, 0x46, 0x56, 0x48, 0xff, 0x8c, 0xff, 0xff, \r
+  0x48, 0x00, 0x3b, 0x7c, 0x00, 0x00, 0x00, 0x01, \r
+  0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, \r
+  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \r
+  0x24, 0x56, 0x53, 0x53, 0xb8, 0xbf, 0x00, 0x00, \r
+  0x5a, 0xfe, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00\r
+}\r
+\r
+0x0028c000|0x00002000\r
+PcdFlashNvStorageEventLogBase|PcdFlashNvStorageEventLogSize\r
+\r
+0x0028e000|0x00002000\r
+PcdFlashNvStorageFtwWorkingBase|PcdFlashNvStorageFtwWorkingSize\r
+DATA = { \r
+  0x8d, 0x2b, 0xf1, 0xff, 0x96, 0x76, 0x8b, 0x4c, \r
+  0xa9, 0x85, 0x27, 0x47, 0x07, 0x5b, 0x4f, 0x50, \r
+  0xd2, 0x5f, 0x05, 0x9e, 0xfe, 0xff, 0xff, 0xff, \r
+  0xff, 0xff, 0xff, 0xff, 0xe0, 0x1f, 0x00, 0x00 \r
+}\r
+\r
+0x00290000|0x00010000\r
+PcdFlashNvStorageFtwSpareBase|PcdFlashNvStorageFtwSpareBase\r
+\r
+[FV.FvRecovery]\r
+BlockSize     = 0x10000\r
+NumBlocks     = 0x28\r
+FvAlignment        = 16\r
+ERASE_POLARITY     = 1\r
+MEMORY_MAPPED      = TRUE\r
+STICKY_WRITE       = TRUE\r
+LOCK_CAP           = TRUE\r
+LOCK_STATUS        = TRUE\r
+WRITE_DISABLED_CAP = TRUE\r
+WRITE_ENABLED_CAP  = TRUE\r
+WRITE_STATUS       = TRUE\r
+WRITE_LOCK_CAP     = TRUE\r
+WRITE_LOCK_STATUS  = TRUE\r
+READ_DISABLED_CAP  = TRUE\r
+READ_ENABLED_CAP   = TRUE\r
+READ_STATUS        = TRUE\r
+READ_LOCK_CAP      = TRUE\r
+READ_LOCK_STATUS   = TRUE\r
+\r
+INF  $(WORKSPACE)/Nt32Pkg/BootModePei/BootMode.inf\r
+INF  $(WORKSPACE)/Nt32Pkg/WinNtThunkDxe/WinNtThunk.inf\r
+#INF  $(WORKSPACE)/Nt32Pkg/MiscSubClassPlatformDxe/MiscSubclassDriver.inf\r
+INF  $(WORKSPACE)/Nt32Pkg/WinNtThunkPPIToProtocolPei/WinNtThunkPPIToProtocol.inf\r
+INF  $(WORKSPACE)/Nt32Pkg/WinNtAutoScanPei/WinNtAutoScan.inf\r
+INF  $(WORKSPACE)/Nt32Pkg/WinNtBlockIoDxe/WinNtBlockIo.inf\r
+INF  $(WORKSPACE)/Nt32Pkg/WinNtBusDriverDxe/WinNtBusDriver.inf\r
+INF  $(WORKSPACE)/Nt32Pkg/WinNtConsoleDxe/WinNtConsole.inf\r
+INF  $(WORKSPACE)/Nt32Pkg/WinNtSimpleFileSystemDxe/WinNtSimpleFileSystem.inf\r
+INF  $(WORKSPACE)/Nt32Pkg/WinNtGopDxe/WinNtGop.inf\r
+INF  $(WORKSPACE)/Nt32Pkg/WinNtSerialIoDxe/WinNtSerialIo.inf\r
+INF  $(WORKSPACE)/Nt32Pkg/TimerDxe/Timer.inf\r
+INF  $(WORKSPACE)/Nt32Pkg/ResetRuntimeDxe/Reset.inf\r
+INF  $(WORKSPACE)/Nt32Pkg/RealTimeClockRuntimeDxe/RealTimeClock.inf\r
+INF  $(WORKSPACE)/Nt32Pkg/MonotonicCounterRuntimeDxe/Metronome.inf\r
+INF  $(WORKSPACE)/Nt32Pkg/CpuRuntimeDxe/Cpu.inf\r
+INF  $(WORKSPACE)/Nt32Pkg/FvbServicesRuntimeDxe/Nt32Fwh.inf\r
+#INF  $(WORKSPACE)/Nt32Pkg/PlatformBdsDxe/PlatformBds.inf\r
+INF  $(WORKSPACE)/MdeModulePkg/Application/HelloWorld/HelloWorld.inf\r
+INF  $(WORKSPACE)/MdeModulePkg/Universal/Disk/DiskIo/Dxe/DiskIo.inf\r
+INF  $(WORKSPACE)/MdeModulePkg/Universal/Disk/Partition/Dxe/Partition.inf\r
+INF  $(WORKSPACE)/MdeModulePkg/Universal/Disk/UnicodeCollation/English/Dxe/English.inf\r
+INF  $(WORKSPACE)/MdeModulePkg/Universal/SecurityStubDxe/SecurityStub.inf\r
+INF  $(WORKSPACE)/MdeModulePkg/Universal/Capsule/RuntimeDxe/CapsuleRuntime.inf\r
+INF  $(WORKSPACE)/MdeModulePkg/Universal/Ebc/Dxe/Ebc.inf\r
+INF  $(WORKSPACE)/MdeModulePkg/Universal/GenericMemoryTest/Dxe/NullMemoryTest.inf\r
+INF  $(WORKSPACE)/MdeModulePkg/Universal/FirmwareVolume/FaultTolerantWriteLite/Dxe/FtwLite.inf\r
+INF  $(WORKSPACE)/MdeModulePkg/Universal/BaseMemoryTestPei/BaseMemoryTest.inf\r
+INF  $(WORKSPACE)/MdeModulePkg/Universal/FirmwareVolume/GuidedSectionExtraction/Crc32SectionExtract/Dxe/Crc32SectionExtract.inf\r
+INF  $(WORKSPACE)/MdeModulePkg/Universal/VariableRuntimeDxe/Variable.inf\r
+INF  $(WORKSPACE)/MdeModulePkg/Universal/RuntimeDxe/Runtime.inf\r
+INF  $(WORKSPACE)/MdeModulePkg/Bus/Pci/AtapiPassThru/Dxe/AtapiPassThru.inf\r
+INF  $(WORKSPACE)/MdeModulePkg/Universal/WatchDogTimerDxe/WatchDogTimer.inf\r
+INF  $(WORKSPACE)/MdeModulePkg/Universal/VariablePei/Variable.inf\r
+INF  $(WORKSPACE)/MdeModulePkg/Universal/VariableRuntimeDxe/Variable.inf\r
+INF  $(WORKSPACE)/MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBus.inf\r
+INF  $(WORKSPACE)/MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDisk.inf\r
+INF  $(WORKSPACE)/IntelFrameworkModulePkg/Bus/Pci/PciBus/Dxe/PciBus.inf\r
+INF  $(WORKSPACE)/IntelFrameworkModulePkg/Bus/Pci/IdeBus/Dxe/IdeBus.inf\r
+INF  $(WORKSPACE)/IntelFrameworkModulePkg/Universal/DataHub/DataHub/Dxe/DataHub.inf\r
+INF  $(WORKSPACE)/IntelFrameworkModulePkg/Universal/DataHub/DataHubStdErr/Dxe/DataHubStdErr.inf\r
+INF  $(WORKSPACE)/IntelFrameworkModulePkg/Universal/StatusCode/Dxe/DxeStatusCode.inf\r
+INF  $(WORKSPACE)/IntelFrameworkModulePkg/Universal/StatusCode/Pei/PeiStatusCode.inf\r
+INF  $(WORKSPACE)/IntelFrameworkModulePkg/Universal/HiiDataBaseDxe/HiiDatabase.inf\r
+INF  $(WORKSPACE)/IntelFrameworkModulePkg/Universal/SetupBrowserDxe/SetupBrowser.inf\r
+#INF  $(WORKSPACE)/IntelFrameworkModulePkg/Universal/DriverSampleDxe/DriverSample.inf\r
+INF  $(WORKSPACE)/MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBus.inf     ##This driver follows UEFI specification definition\r
+INF  $(WORKSPACE)/MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDisk.inf    ##This driver follows UEFI specification definition\r
+FILE APPLICATION = c57ad6b7-0515-40a8-9d21-551652854e37 CHECKSUM {\r
+    SECTION COMPRESS PI_STD {\r
+      SECTION GUIDED { \r
+        SECTION PE32 = EdkShellBinPkg/FullShell/ia32/Shell_Full.efi\r
+      }\r
+    }\r
+  }\r
+FILE DRIVER = 961578FE-B6B7-44c3-AF35-6BC705CD2B1F CHECKSUM {\r
+    SECTION COMPRESS PI_STD {\r
+      SECTION GUIDED {\r
+        SECTION PE32 = FatBinPkg/Fat/Ia32/Fat.efi\r
+      }\r
+    }\r
+  }\r
+FILE FREEFORM = 7BB28B99-61BB-11D5-9A5D-0090273FC14D CHECKSUM {\r
+    SECTION COMPRESS PI_STD { \r
+      SECTION GUIDED {\r
+        SECTION RAW = EdkNt32Pkg/Logo/Logo.bmp\r
+      }\r
+    } \r
+  } \r
+\r
+[Rule.Common.PEI_CORE]\r
+  FILE PEI_CORE = $(NAMED_GUID) CheckSum {\r
+    PE32                $(INF_OUTPUT)/$(MODULE_NAME).efi\r
+    UI Optional         $(MODULE_NAME)\r
+    VERSION Optional    BUILD_NUM=$(BUILD_NUMBER) $(INF_VERSION)\r
+  }\r
+\r
+[Rule.Common.PEIM]\r
+  FILE PEIM = $(NAMED_GUID) CheckSum {\r
+     PEI_DEPEX Optional        $(INF_OUTPUT)/$(MODULE_NAME).Depex\r
+     PE32                      $(INF_OUTPUT)/$(MODULE_NAME).efi     \r
+     UI Optional               $(MODULE_NAME)\r
+     VERSION Optional          BUILD_NUM=$(BUILD_NUMBER) $(INF_VERSION)\r
+  } \r
+\r
+[Rule.Common.DXE_CORE]\r
+  FILE DXE_CORE = $(NAMED_GUID) CheckSum {\r
+    COMPRESS PI_STD {\r
+      PE32                      $(INF_OUTPUT)/$(MODULE_NAME).efi     \r
+      UI Optional               $(MODULE_NAME)\r
+      VERSION Optional          BUILD_NUM=$(BUILD_NUMBER) $(INF_VERSION)\r
+    }    \r
+  }\r
+\r
+[Rule.Common.UEFI_DRIVER]\r
+  FILE DRIVER = $(NAMED_GUID) CheckSum {\r
+    COMPRESS PI_STD {\r
+      GUIDED {\r
+        DXE_DEPEX Optional     $(INF_OUTPUT)/$(MODULE_NAME).depex\r
+        PE32                   $(INF_OUTPUT)/$(MODULE_NAME).efi \r
+        UI Optional            $(MODULE_NAME)\r
+        VERSION Optional       BUILD_NUM=$(BUILD_NUMBER) $(INF_VERSION)\r
+      }\r
+    }\r
+  } \r
+\r
+[Rule.Common.DXE_DRIVER]\r
+  FILE DRIVER = $(NAMED_GUID) CheckSum {\r
+    COMPRESS PI_STD {\r
+      GUIDED {\r
+        DXE_DEPEX Optional     $(INF_OUTPUT)/$(MODULE_NAME).depex\r
+        PE32                   $(INF_OUTPUT)/$(MODULE_NAME).efi \r
+        UI Optional            $(MODULE_NAME)\r
+        VERSION Optional       BUILD_NUM=$(BUILD_NUMBER) $(INF_VERSION)\r
+      }\r
+    }\r
+  } \r
+\r
+[Rule.Common.DXE_RUNTIME_DRIVER]\r
+  FILE DRIVER = $(NAMED_GUID) CheckSum {\r
+    COMPRESS PI_STD {\r
+      GUIDED {\r
+        DXE_DEPEX Optional     $(INF_OUTPUT)/$(MODULE_NAME).depex\r
+        PE32                   $(INF_OUTPUT)/$(MODULE_NAME).efi \r
+        UI Optional            $(MODULE_NAME)\r
+        VERSION Optional       BUILD_NUM=$(BUILD_NUMBER) $(INF_VERSION)\r
+      }\r
+    }\r
+  } \r
+\r
+[Rule.Common.UEFI_APPLICATION]\r
+  FILE APPLICATION = $(NAMED_GUID) CheckSum {\r
+    COMPRESS PI_STD {\r
+      GUIDED {\r
+        PE32                   $(INF_OUTPUT)/$(MODULE_NAME).efi \r
+        UI Optional            $(MODULE_NAME)\r
+        VERSION Optional       BUILD_NUM=$(BUILD_NUMBER) $(INF_VERSION)\r
+      }\r
+    }\r
+  } \r
+  
\ No newline at end of file