From: klu2 Date: Mon, 16 Jul 2007 18:10:40 +0000 (+0000) Subject: Add postfix as PEI or DXE X-Git-Tag: edk2-stable201903~22699 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=590d33cc71e1533fda096e913621165526eeb37c;hp=fd79032e48b26a869806f598d56b55a21ce4ff4f Add postfix as PEI or DXE git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3262 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/Nt32Pkg/Nt32Pkg.dsc b/Nt32Pkg/Nt32Pkg.dsc index bad4ce74f5..2515342a45 100644 --- a/Nt32Pkg/Nt32Pkg.dsc +++ b/Nt32Pkg/Nt32Pkg.dsc @@ -365,7 +365,7 @@ $(WORKSPACE)/Nt32Pkg/WinNtFlashMapPei/FlashMap.inf $(WORKSPACE)/MdeModulePkg/Universal/BaseMemoryTestPei/BaseMemoryTest.inf $(WORKSPACE)/MdeModulePkg/Universal/VariablePei/VariablePei.inf - $(WORKSPACE)/Nt32Pkg/WinNtAutoScanPei/WinNtAutoScan.inf + $(WORKSPACE)/Nt32Pkg/WinNtAutoScanPei/WinNtAutoScanPei.inf $(WORKSPACE)/Nt32Pkg/WinNtFirmwareVolumePei/WinNtFwh.inf $(WORKSPACE)/Nt32Pkg/WinNtThunkPPIToProtocolPei/WinNtThunkPPIToProtocol.inf $(WORKSPACE)/MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf @@ -416,7 +416,7 @@ $(WORKSPACE)/MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf ##This driver follows UEFI specification definition $(WORKSPACE)/IntelFrameworkModulePkg/Bus/Pci/IdeBus/Dxe/IdeBus.inf $(WORKSPACE)/Nt32Pkg/WinNtBusDriverDxe/WinNtBusDriver.inf - $(WORKSPACE)/Nt32Pkg/WinNtBlockIoDxe/WinNtBlockIo.inf + $(WORKSPACE)/Nt32Pkg/WinNtBlockIoDxe/WinNtBlockIoDxe.inf $(WORKSPACE)/Nt32Pkg/WinNtConsoleDxe/WinNtConsole.inf $(WORKSPACE)/Nt32Pkg/WinNtSerialIoDxe/WinNtSerialIo.inf $(WORKSPACE)/Nt32Pkg/WinNtGopDxe/WinNtGop.inf diff --git a/Nt32Pkg/Nt32Pkg.fdf b/Nt32Pkg/Nt32Pkg.fdf index 2570eb1bde..7a3d9b3a23 100644 --- a/Nt32Pkg/Nt32Pkg.fdf +++ b/Nt32Pkg/Nt32Pkg.fdf @@ -119,7 +119,7 @@ INF $(WORKSPACE)/Nt32Pkg/BootModePei/BootModePei.inf INF $(WORKSPACE)/Nt32Pkg/WinNtFlashMapPei/FlashMap.inf INF $(WORKSPACE)/MdeModulePkg/Universal/BaseMemoryTestPei/BaseMemoryTest.inf INF $(WORKSPACE)/MdeModulePkg/Universal/VariablePei/VariablePei.inf -INF $(WORKSPACE)/Nt32Pkg/WinNtAutoScanPei/WinNtAutoScan.inf +INF $(WORKSPACE)/Nt32Pkg/WinNtAutoScanPei/WinNtAutoScanPei.inf INF $(WORKSPACE)/Nt32Pkg/WinNtFirmwareVolumePei/WinNtFwh.inf INF $(WORKSPACE)/Nt32Pkg/WinNtThunkPPIToProtocolPei/WinNtThunkPPIToProtocol.inf INF $(WORKSPACE)/MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf @@ -167,7 +167,7 @@ INF $(WORKSPACE)/MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf ##This dri INF $(WORKSPACE)/MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf ##This driver follows UEFI specification definition INF $(WORKSPACE)/IntelFrameworkModulePkg/Bus/Pci/IdeBus/Dxe/IdeBus.inf INF $(WORKSPACE)/Nt32Pkg/WinNtBusDriverDxe/WinNtBusDriver.inf -INF $(WORKSPACE)/Nt32Pkg/WinNtBlockIoDxe/WinNtBlockIo.inf +INF $(WORKSPACE)/Nt32Pkg/WinNtBlockIoDxe/WinNtBlockIoDxe.inf INF $(WORKSPACE)/Nt32Pkg/WinNtConsoleDxe/WinNtConsole.inf INF $(WORKSPACE)/Nt32Pkg/WinNtSerialIoDxe/WinNtSerialIo.inf INF $(WORKSPACE)/Nt32Pkg/WinNtGopDxe/WinNtGop.inf diff --git a/Nt32Pkg/WinNtAutoScanPei/WinNtAutoScan.inf b/Nt32Pkg/WinNtAutoScanPei/WinNtAutoScan.inf deleted file mode 100644 index 2233c87b4b..0000000000 --- a/Nt32Pkg/WinNtAutoScanPei/WinNtAutoScan.inf +++ /dev/null @@ -1,86 +0,0 @@ -#/** @file -# Component description file for WinNtAutoScan module -# -# This module abstracts memory auto-scan in a Windows NT environment. -# Copyright (c) 2006 - 2007, Intel Corporation -# -# All rights reserved. This program and the accompanying materials -# are licensed and made available under the terms and conditions of the BSD License -# which accompanies this distribution. The full text of the license may be found at -# http://opensource.org/licenses/bsd-license.php -# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, -# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. -# -# -#**/ - -################################################################################ -# -# Defines Section - statements that will be processed to create a Makefile. -# -################################################################################ -[Defines] - INF_VERSION = 0x00010005 - BASE_NAME = WinNtAutoScan - FILE_GUID = BE0FEABA-3443-4919-9F3A-2D4216329EA9 - MODULE_TYPE = PEIM - VERSION_STRING = 1.0 - EDK_RELEASE_VERSION = 0x00020000 - EFI_SPECIFICATION_VERSION = 0x00020000 - - ENTRY_POINT = PeimInitializeWinNtAutoScan - -# -# The following information is for reference only and not required by the build tools. -# -# VALID_ARCHITECTURES = IA32 -# - -################################################################################ -# -# Sources Section - list of files that are required for the build to succeed. -# -################################################################################ - -[Sources.common] - WinntAutoscan.c - -################################################################################ -# -# Package Dependency Section - list of Package files that are required for -# this module. -# -################################################################################ - -[Packages] - MdePkg/MdePkg.dec - MdeModulePkg/MdeModulePkg.dec - Nt32Pkg/Nt32Pkg.dec - - -################################################################################ -# -# Library Class Section - list of Library Classes that are required for -# this module. -# -################################################################################ - -[LibraryClasses] - HobLib - PeimEntryPoint - DebugLib - - -################################################################################ -# -# PPI C Name Section - list of PPI and PPI Notify C Names that this module -# uses or produces. -# -################################################################################ - -[Ppis] - gPeiBaseMemoryTestPpiGuid # PPI ALWAYS_CONSUMED - gPeiNtAutoScanPpiGuid # PPI ALWAYS_CONSUMED - -[depex] - gPeiNtAutoScanPpiGuid AND gEfiPeiMasterBootModePpiGuid AND gPeiBaseMemoryTestPpiGuid \ No newline at end of file diff --git a/Nt32Pkg/WinNtAutoScanPei/WinNtAutoScanPei.inf b/Nt32Pkg/WinNtAutoScanPei/WinNtAutoScanPei.inf new file mode 100644 index 0000000000..2233c87b4b --- /dev/null +++ b/Nt32Pkg/WinNtAutoScanPei/WinNtAutoScanPei.inf @@ -0,0 +1,86 @@ +#/** @file +# Component description file for WinNtAutoScan module +# +# This module abstracts memory auto-scan in a Windows NT environment. +# Copyright (c) 2006 - 2007, Intel Corporation +# +# All rights reserved. This program and the accompanying materials +# are licensed and made available under the terms and conditions of the BSD License +# which accompanies this distribution. The full text of the license may be found at +# http://opensource.org/licenses/bsd-license.php +# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, +# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. +# +# +#**/ + +################################################################################ +# +# Defines Section - statements that will be processed to create a Makefile. +# +################################################################################ +[Defines] + INF_VERSION = 0x00010005 + BASE_NAME = WinNtAutoScan + FILE_GUID = BE0FEABA-3443-4919-9F3A-2D4216329EA9 + MODULE_TYPE = PEIM + VERSION_STRING = 1.0 + EDK_RELEASE_VERSION = 0x00020000 + EFI_SPECIFICATION_VERSION = 0x00020000 + + ENTRY_POINT = PeimInitializeWinNtAutoScan + +# +# The following information is for reference only and not required by the build tools. +# +# VALID_ARCHITECTURES = IA32 +# + +################################################################################ +# +# Sources Section - list of files that are required for the build to succeed. +# +################################################################################ + +[Sources.common] + WinntAutoscan.c + +################################################################################ +# +# Package Dependency Section - list of Package files that are required for +# this module. +# +################################################################################ + +[Packages] + MdePkg/MdePkg.dec + MdeModulePkg/MdeModulePkg.dec + Nt32Pkg/Nt32Pkg.dec + + +################################################################################ +# +# Library Class Section - list of Library Classes that are required for +# this module. +# +################################################################################ + +[LibraryClasses] + HobLib + PeimEntryPoint + DebugLib + + +################################################################################ +# +# PPI C Name Section - list of PPI and PPI Notify C Names that this module +# uses or produces. +# +################################################################################ + +[Ppis] + gPeiBaseMemoryTestPpiGuid # PPI ALWAYS_CONSUMED + gPeiNtAutoScanPpiGuid # PPI ALWAYS_CONSUMED + +[depex] + gPeiNtAutoScanPpiGuid AND gEfiPeiMasterBootModePpiGuid AND gPeiBaseMemoryTestPpiGuid \ No newline at end of file diff --git a/Nt32Pkg/WinNtBlockIoDxe/WinNtBlockIo.inf b/Nt32Pkg/WinNtBlockIoDxe/WinNtBlockIo.inf deleted file mode 100644 index 4884adf1ed..0000000000 --- a/Nt32Pkg/WinNtBlockIoDxe/WinNtBlockIo.inf +++ /dev/null @@ -1,110 +0,0 @@ -#/** @file -# Block Io driver -# -# Produce block IO abstractions for real devices on your PC using Win32 APIs. -# The configuration of what devices to mount or emulate comes from NT -# environment variables. The variables must be visible to the Microsoft* -# Developer Studio for them to work. -# Copyright (c) 2006 - 2007, Intel Corporation -# -# All rights reserved. This program and the accompanying materials -# are licensed and made available under the terms and conditions of the BSD License -# which accompanies this distribution. The full text of the license may be found at -# http://opensource.org/licenses/bsd-license.php -# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, -# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. -# -# -#**/ - -################################################################################ -# -# Defines Section - statements that will be processed to create a Makefile. -# -################################################################################ -[Defines] - INF_VERSION = 0x00010005 - BASE_NAME = WinNtBlockIo - FILE_GUID = F479E147-A125-11d4-BCFC-0080C73C8881 - MODULE_TYPE = UEFI_DRIVER - VERSION_STRING = 1.0 - EDK_RELEASE_VERSION = 0x00020000 - EFI_SPECIFICATION_VERSION = 0x00020000 - - ENTRY_POINT = InitializeWinNtBlockIo - -# -# The following information is for reference only and not required by the build tools. -# -# VALID_ARCHITECTURES = IA32 -# -# DRIVER_BINDING = gWinNtBlockIoDriverBinding -# COMPONENT_NAME = gWinNtBlockIoComponentName -# DRIVER_DIAG = gWinNtBlockIoDriverDiagnostics -# - -################################################################################ -# -# Sources Section - list of files that are required for the build to succeed. -# -################################################################################ - -[Sources.common] - DriverDiagnostics.c - DriverConfiguration.c - ComponentName.c - WinNtBlockIo.c - WinNtBlockIo.h - - -################################################################################ -# -# Package Dependency Section - list of Package files that are required for -# this module. -# -################################################################################ - -[Packages] - MdePkg/MdePkg.dec - Nt32Pkg/Nt32Pkg.dec - - -################################################################################ -# -# Library Class Section - list of Library Classes that are required for -# this module. -# -################################################################################ - -[LibraryClasses] - MemoryAllocationLib - UefiBootServicesTableLib - BaseMemoryLib - UefiLib - UefiDriverEntryPoint - BaseLib - DebugLib - - -################################################################################ -# -# Guid C Name Section - list of Guids that this module uses or produces. -# -################################################################################ - -[Guids] - gEfiWinNtPhysicalDisksGuid # SOMETIMES_CONSUMED - gEfiWinNtVirtualDisksGuid # ALWAYS_CONSUMED - - -################################################################################ -# -# Protocol C Name Section - list of Protocol and Protocol Notify C Names -# that this module uses or produces. -# -################################################################################ - -[Protocols] - gEfiBlockIoProtocolGuid # PROTOCOL BY_START - gEfiWinNtIoProtocolGuid # PROTOCOL TO_START - diff --git a/Nt32Pkg/WinNtBlockIoDxe/WinNtBlockIoDxe.inf b/Nt32Pkg/WinNtBlockIoDxe/WinNtBlockIoDxe.inf new file mode 100644 index 0000000000..4884adf1ed --- /dev/null +++ b/Nt32Pkg/WinNtBlockIoDxe/WinNtBlockIoDxe.inf @@ -0,0 +1,110 @@ +#/** @file +# Block Io driver +# +# Produce block IO abstractions for real devices on your PC using Win32 APIs. +# The configuration of what devices to mount or emulate comes from NT +# environment variables. The variables must be visible to the Microsoft* +# Developer Studio for them to work. +# Copyright (c) 2006 - 2007, Intel Corporation +# +# All rights reserved. This program and the accompanying materials +# are licensed and made available under the terms and conditions of the BSD License +# which accompanies this distribution. The full text of the license may be found at +# http://opensource.org/licenses/bsd-license.php +# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, +# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. +# +# +#**/ + +################################################################################ +# +# Defines Section - statements that will be processed to create a Makefile. +# +################################################################################ +[Defines] + INF_VERSION = 0x00010005 + BASE_NAME = WinNtBlockIo + FILE_GUID = F479E147-A125-11d4-BCFC-0080C73C8881 + MODULE_TYPE = UEFI_DRIVER + VERSION_STRING = 1.0 + EDK_RELEASE_VERSION = 0x00020000 + EFI_SPECIFICATION_VERSION = 0x00020000 + + ENTRY_POINT = InitializeWinNtBlockIo + +# +# The following information is for reference only and not required by the build tools. +# +# VALID_ARCHITECTURES = IA32 +# +# DRIVER_BINDING = gWinNtBlockIoDriverBinding +# COMPONENT_NAME = gWinNtBlockIoComponentName +# DRIVER_DIAG = gWinNtBlockIoDriverDiagnostics +# + +################################################################################ +# +# Sources Section - list of files that are required for the build to succeed. +# +################################################################################ + +[Sources.common] + DriverDiagnostics.c + DriverConfiguration.c + ComponentName.c + WinNtBlockIo.c + WinNtBlockIo.h + + +################################################################################ +# +# Package Dependency Section - list of Package files that are required for +# this module. +# +################################################################################ + +[Packages] + MdePkg/MdePkg.dec + Nt32Pkg/Nt32Pkg.dec + + +################################################################################ +# +# Library Class Section - list of Library Classes that are required for +# this module. +# +################################################################################ + +[LibraryClasses] + MemoryAllocationLib + UefiBootServicesTableLib + BaseMemoryLib + UefiLib + UefiDriverEntryPoint + BaseLib + DebugLib + + +################################################################################ +# +# Guid C Name Section - list of Guids that this module uses or produces. +# +################################################################################ + +[Guids] + gEfiWinNtPhysicalDisksGuid # SOMETIMES_CONSUMED + gEfiWinNtVirtualDisksGuid # ALWAYS_CONSUMED + + +################################################################################ +# +# Protocol C Name Section - list of Protocol and Protocol Notify C Names +# that this module uses or produces. +# +################################################################################ + +[Protocols] + gEfiBlockIoProtocolGuid # PROTOCOL BY_START + gEfiWinNtIoProtocolGuid # PROTOCOL TO_START +