mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-08 17:05:09 +02:00
Make end of line consistent caused by previous check in.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9183 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
31dd4e2711
commit
31f228cfc0
MdeModulePkg
Core
Universal
File diff suppressed because it is too large
Load Diff
@ -1,70 +1,70 @@
|
||||
/** @file
|
||||
ARM specifc functionality for DxeLoad.
|
||||
|
||||
Copyright (c) 2006 - 2008, Intel Corporation. <BR>
|
||||
Portions copyright (c) 2008-2009 Apple Inc. All rights reserved.<BR>
|
||||
|
||||
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.
|
||||
|
||||
**/
|
||||
|
||||
#include "DxeIpl.h"
|
||||
|
||||
/**
|
||||
Transfers control to DxeCore.
|
||||
|
||||
This function performs a CPU architecture specific operations to execute
|
||||
the entry point of DxeCore with the parameters of HobList.
|
||||
It also installs EFI_END_OF_PEI_PPI to signal the end of PEI phase.
|
||||
|
||||
@param DxeCoreEntryPoint The entry point of DxeCore.
|
||||
@param HobList The start of HobList passed to DxeCore.
|
||||
|
||||
**/
|
||||
VOID
|
||||
HandOffToDxeCore (
|
||||
IN EFI_PHYSICAL_ADDRESS DxeCoreEntryPoint,
|
||||
IN EFI_PEI_HOB_POINTERS HobList
|
||||
)
|
||||
{
|
||||
VOID *BaseOfStack;
|
||||
VOID *TopOfStack;
|
||||
EFI_STATUS Status;
|
||||
|
||||
//
|
||||
// Allocate 128KB for the Stack
|
||||
//
|
||||
BaseOfStack = AllocatePages (EFI_SIZE_TO_PAGES (STACK_SIZE));
|
||||
ASSERT (BaseOfStack != NULL);
|
||||
|
||||
//
|
||||
// Compute the top of the stack we were allocated. Pre-allocate a UINTN
|
||||
// for safety.
|
||||
//
|
||||
TopOfStack = (VOID *) ((UINTN) BaseOfStack + EFI_SIZE_TO_PAGES (STACK_SIZE) * EFI_PAGE_SIZE - CPU_STACK_ALIGNMENT);
|
||||
TopOfStack = ALIGN_POINTER (TopOfStack, CPU_STACK_ALIGNMENT);
|
||||
|
||||
//
|
||||
// End of PEI phase singal
|
||||
//
|
||||
Status = PeiServicesInstallPpi (&gEndOfPeiSignalPpi);
|
||||
ASSERT_EFI_ERROR (Status);
|
||||
|
||||
//
|
||||
// Update the contents of BSP stack HOB to reflect the real stack info passed to DxeCore.
|
||||
//
|
||||
UpdateStackHob ((EFI_PHYSICAL_ADDRESS)(UINTN) BaseOfStack, STACK_SIZE);
|
||||
|
||||
SwitchStack (
|
||||
(SWITCH_STACK_ENTRY_POINT)(UINTN)DxeCoreEntryPoint,
|
||||
HobList.Raw,
|
||||
NULL,
|
||||
TopOfStack
|
||||
);
|
||||
}
|
||||
/** @file
|
||||
ARM specifc functionality for DxeLoad.
|
||||
|
||||
Copyright (c) 2006 - 2008, Intel Corporation. <BR>
|
||||
Portions copyright (c) 2008-2009 Apple Inc. All rights reserved.<BR>
|
||||
|
||||
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.
|
||||
|
||||
**/
|
||||
|
||||
#include "DxeIpl.h"
|
||||
|
||||
/**
|
||||
Transfers control to DxeCore.
|
||||
|
||||
This function performs a CPU architecture specific operations to execute
|
||||
the entry point of DxeCore with the parameters of HobList.
|
||||
It also installs EFI_END_OF_PEI_PPI to signal the end of PEI phase.
|
||||
|
||||
@param DxeCoreEntryPoint The entry point of DxeCore.
|
||||
@param HobList The start of HobList passed to DxeCore.
|
||||
|
||||
**/
|
||||
VOID
|
||||
HandOffToDxeCore (
|
||||
IN EFI_PHYSICAL_ADDRESS DxeCoreEntryPoint,
|
||||
IN EFI_PEI_HOB_POINTERS HobList
|
||||
)
|
||||
{
|
||||
VOID *BaseOfStack;
|
||||
VOID *TopOfStack;
|
||||
EFI_STATUS Status;
|
||||
|
||||
//
|
||||
// Allocate 128KB for the Stack
|
||||
//
|
||||
BaseOfStack = AllocatePages (EFI_SIZE_TO_PAGES (STACK_SIZE));
|
||||
ASSERT (BaseOfStack != NULL);
|
||||
|
||||
//
|
||||
// Compute the top of the stack we were allocated. Pre-allocate a UINTN
|
||||
// for safety.
|
||||
//
|
||||
TopOfStack = (VOID *) ((UINTN) BaseOfStack + EFI_SIZE_TO_PAGES (STACK_SIZE) * EFI_PAGE_SIZE - CPU_STACK_ALIGNMENT);
|
||||
TopOfStack = ALIGN_POINTER (TopOfStack, CPU_STACK_ALIGNMENT);
|
||||
|
||||
//
|
||||
// End of PEI phase singal
|
||||
//
|
||||
Status = PeiServicesInstallPpi (&gEndOfPeiSignalPpi);
|
||||
ASSERT_EFI_ERROR (Status);
|
||||
|
||||
//
|
||||
// Update the contents of BSP stack HOB to reflect the real stack info passed to DxeCore.
|
||||
//
|
||||
UpdateStackHob ((EFI_PHYSICAL_ADDRESS)(UINTN) BaseOfStack, STACK_SIZE);
|
||||
|
||||
SwitchStack (
|
||||
(SWITCH_STACK_ENTRY_POINT)(UINTN)DxeCoreEntryPoint,
|
||||
HobList.Raw,
|
||||
NULL,
|
||||
TopOfStack
|
||||
);
|
||||
}
|
||||
|
@ -1,120 +1,120 @@
|
||||
#/** @file
|
||||
# Last PEIM executed in PEI phase to load DXE Core from a Firmware Volume.
|
||||
#
|
||||
# This module produces a special PPI named the DXE Initial Program Load (IPL)
|
||||
# PPI to discover and dispatch the DXE Foundation and components that are
|
||||
# needed to run the DXE Foundation.
|
||||
#
|
||||
# Copyright (c) 2006 - 2009, Intel Corporation. <BR>
|
||||
# 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]
|
||||
INF_VERSION = 0x00010005
|
||||
BASE_NAME = DxeIpl
|
||||
FILE_GUID = 86D70125-BAA3-4296-A62F-602BEBBB9081
|
||||
MODULE_TYPE = PEIM
|
||||
VERSION_STRING = 1.0
|
||||
|
||||
ENTRY_POINT = PeimInitializeDxeIpl
|
||||
|
||||
#
|
||||
# The following information is for reference only and not required by the build tools.
|
||||
#
|
||||
# VALID_ARCHITECTURES = IA32 X64 IPF EBC (EBC is for build only)
|
||||
#
|
||||
|
||||
[Sources.common]
|
||||
DxeIpl.h
|
||||
DxeLoad.c
|
||||
|
||||
[Sources.Ia32]
|
||||
Ia32/VirtualMemory.h ||||PcdDxeIplSwitchToLongMode
|
||||
Ia32/VirtualMemory.c ||||PcdDxeIplSwitchToLongMode
|
||||
Ia32/DxeLoadFunc.c
|
||||
Ia32/IdtVectorAsm.asm||||PcdDxeIplSwitchToLongMode
|
||||
Ia32/IdtVectorAsm.S ||||PcdDxeIplSwitchToLongMode
|
||||
|
||||
[Sources.X64]
|
||||
X64/VirtualMemory.h
|
||||
X64/VirtualMemory.c
|
||||
X64/DxeLoadFunc.c
|
||||
|
||||
[Sources.IPF]
|
||||
Ipf/DxeLoadFunc.c
|
||||
|
||||
[Sources.EBC]
|
||||
Ebc/DxeLoadFunc.c
|
||||
|
||||
[Sources.ARM]
|
||||
Arm/DxeLoadFunc.c
|
||||
|
||||
[Packages]
|
||||
MdePkg/MdePkg.dec
|
||||
MdeModulePkg/MdeModulePkg.dec
|
||||
|
||||
[LibraryClasses]
|
||||
PcdLib
|
||||
MemoryAllocationLib
|
||||
BaseMemoryLib
|
||||
ExtractGuidedSectionLib
|
||||
UefiDecompressLib
|
||||
ReportStatusCodeLib
|
||||
PeiServicesLib
|
||||
HobLib
|
||||
BaseLib
|
||||
PeimEntryPoint
|
||||
DebugLib
|
||||
|
||||
[Ppis]
|
||||
gEfiDxeIplPpiGuid ## PRODUCES
|
||||
gEfiEndOfPeiSignalPpiGuid ## SOMETIMES_PRODUCES(Not produced on S3 boot path)
|
||||
gEfiPeiDecompressPpiGuid ## SOMETIMES_PRODUCES
|
||||
gEfiPeiReadOnlyVariable2PpiGuid ## SOMETIMES_CONSUMES
|
||||
gEfiPeiLoadFilePpiGuid ## CONSUMES
|
||||
gEfiPeiS3ResumePpiGuid ## SOMETIMES_CONSUMES(Consumed on S3 boot path)
|
||||
gEfiPeiRecoveryModulePpiGuid ## SOMETIMES_CONSUMES(Consumed on recovery boot path)
|
||||
|
||||
[Guids]
|
||||
gEfiMemoryTypeInformationGuid ## SOMETIMES_CONSUMES ## Variable:L"MemoryTypeInformation"
|
||||
gEfiMemoryTypeInformationGuid ## SOMETIMES_PRODUCES ## HOB
|
||||
|
||||
[FeaturePcd.IA32]
|
||||
gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode
|
||||
|
||||
[FeaturePcd.common]
|
||||
gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress
|
||||
|
||||
[FixedPcd.common]
|
||||
gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValuePeiHandoffToDxe
|
||||
|
||||
[Depex]
|
||||
gEfiPeiMemoryDiscoveredPpiGuid AND gEfiPeiLoadFilePpiGuid
|
||||
|
||||
#
|
||||
# [BootMode]
|
||||
# S3_RESUME ## SOMETIMES_CONSUMES
|
||||
# RECOVERY ## SOMETIMES_CONSUMES
|
||||
#
|
||||
#
|
||||
# [Hob]
|
||||
# ##
|
||||
# # New Stack HoB
|
||||
# MEMORY_ALLOCATION ## PRODUCES
|
||||
# ##
|
||||
# # Old Stack HOB
|
||||
# MEMORY_ALLOCATION ## CONSUMES
|
||||
#
|
||||
# [Hob.IPF]
|
||||
# ##
|
||||
# # BSP Stack HOB for IPF
|
||||
# MEMORY_ALLOCATION ## PRODUCES
|
||||
#
|
||||
#
|
||||
#/** @file
|
||||
# Last PEIM executed in PEI phase to load DXE Core from a Firmware Volume.
|
||||
#
|
||||
# This module produces a special PPI named the DXE Initial Program Load (IPL)
|
||||
# PPI to discover and dispatch the DXE Foundation and components that are
|
||||
# needed to run the DXE Foundation.
|
||||
#
|
||||
# Copyright (c) 2006 - 2009, Intel Corporation. <BR>
|
||||
# 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]
|
||||
INF_VERSION = 0x00010005
|
||||
BASE_NAME = DxeIpl
|
||||
FILE_GUID = 86D70125-BAA3-4296-A62F-602BEBBB9081
|
||||
MODULE_TYPE = PEIM
|
||||
VERSION_STRING = 1.0
|
||||
|
||||
ENTRY_POINT = PeimInitializeDxeIpl
|
||||
|
||||
#
|
||||
# The following information is for reference only and not required by the build tools.
|
||||
#
|
||||
# VALID_ARCHITECTURES = IA32 X64 IPF EBC (EBC is for build only)
|
||||
#
|
||||
|
||||
[Sources.common]
|
||||
DxeIpl.h
|
||||
DxeLoad.c
|
||||
|
||||
[Sources.Ia32]
|
||||
Ia32/VirtualMemory.h ||||PcdDxeIplSwitchToLongMode
|
||||
Ia32/VirtualMemory.c ||||PcdDxeIplSwitchToLongMode
|
||||
Ia32/DxeLoadFunc.c
|
||||
Ia32/IdtVectorAsm.asm||||PcdDxeIplSwitchToLongMode
|
||||
Ia32/IdtVectorAsm.S ||||PcdDxeIplSwitchToLongMode
|
||||
|
||||
[Sources.X64]
|
||||
X64/VirtualMemory.h
|
||||
X64/VirtualMemory.c
|
||||
X64/DxeLoadFunc.c
|
||||
|
||||
[Sources.IPF]
|
||||
Ipf/DxeLoadFunc.c
|
||||
|
||||
[Sources.EBC]
|
||||
Ebc/DxeLoadFunc.c
|
||||
|
||||
[Sources.ARM]
|
||||
Arm/DxeLoadFunc.c
|
||||
|
||||
[Packages]
|
||||
MdePkg/MdePkg.dec
|
||||
MdeModulePkg/MdeModulePkg.dec
|
||||
|
||||
[LibraryClasses]
|
||||
PcdLib
|
||||
MemoryAllocationLib
|
||||
BaseMemoryLib
|
||||
ExtractGuidedSectionLib
|
||||
UefiDecompressLib
|
||||
ReportStatusCodeLib
|
||||
PeiServicesLib
|
||||
HobLib
|
||||
BaseLib
|
||||
PeimEntryPoint
|
||||
DebugLib
|
||||
|
||||
[Ppis]
|
||||
gEfiDxeIplPpiGuid ## PRODUCES
|
||||
gEfiEndOfPeiSignalPpiGuid ## SOMETIMES_PRODUCES(Not produced on S3 boot path)
|
||||
gEfiPeiDecompressPpiGuid ## SOMETIMES_PRODUCES
|
||||
gEfiPeiReadOnlyVariable2PpiGuid ## SOMETIMES_CONSUMES
|
||||
gEfiPeiLoadFilePpiGuid ## CONSUMES
|
||||
gEfiPeiS3ResumePpiGuid ## SOMETIMES_CONSUMES(Consumed on S3 boot path)
|
||||
gEfiPeiRecoveryModulePpiGuid ## SOMETIMES_CONSUMES(Consumed on recovery boot path)
|
||||
|
||||
[Guids]
|
||||
gEfiMemoryTypeInformationGuid ## SOMETIMES_CONSUMES ## Variable:L"MemoryTypeInformation"
|
||||
gEfiMemoryTypeInformationGuid ## SOMETIMES_PRODUCES ## HOB
|
||||
|
||||
[FeaturePcd.IA32]
|
||||
gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode
|
||||
|
||||
[FeaturePcd.common]
|
||||
gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress
|
||||
|
||||
[FixedPcd.common]
|
||||
gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValuePeiHandoffToDxe
|
||||
|
||||
[Depex]
|
||||
gEfiPeiMemoryDiscoveredPpiGuid AND gEfiPeiLoadFilePpiGuid
|
||||
|
||||
#
|
||||
# [BootMode]
|
||||
# S3_RESUME ## SOMETIMES_CONSUMES
|
||||
# RECOVERY ## SOMETIMES_CONSUMES
|
||||
#
|
||||
#
|
||||
# [Hob]
|
||||
# ##
|
||||
# # New Stack HoB
|
||||
# MEMORY_ALLOCATION ## PRODUCES
|
||||
# ##
|
||||
# # Old Stack HOB
|
||||
# MEMORY_ALLOCATION ## CONSUMES
|
||||
#
|
||||
# [Hob.IPF]
|
||||
# ##
|
||||
# # BSP Stack HOB for IPF
|
||||
# MEMORY_ALLOCATION ## PRODUCES
|
||||
#
|
||||
#
|
||||
|
@ -1,22 +1,22 @@
|
||||
/** @file
|
||||
Defines PXE Arch type.
|
||||
|
||||
Copyright (c) 2006, Intel Corporation.<BR>
|
||||
Portions copyright (c) 2008-2009 Apple Inc. All rights reserved.<BR>
|
||||
|
||||
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.
|
||||
|
||||
**/
|
||||
|
||||
#ifndef _EFI_PXE_ARCH_H_
|
||||
#define _EFI_PXE_ARCH_H_
|
||||
|
||||
#define SYS_ARCH 0x0A
|
||||
|
||||
#endif
|
||||
/** @file
|
||||
Defines PXE Arch type.
|
||||
|
||||
Copyright (c) 2006, Intel Corporation.<BR>
|
||||
Portions copyright (c) 2008-2009 Apple Inc. All rights reserved.<BR>
|
||||
|
||||
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.
|
||||
|
||||
**/
|
||||
|
||||
#ifndef _EFI_PXE_ARCH_H_
|
||||
#define _EFI_PXE_ARCH_H_
|
||||
|
||||
#define SYS_ARCH 0x0A
|
||||
|
||||
#endif
|
||||
|
@ -1,99 +1,99 @@
|
||||
#/** @file
|
||||
# Component name for module UefiPxeBc
|
||||
#
|
||||
# Copyright (c) 2007 - 2009, Intel Corporation. All rights reserved.
|
||||
#
|
||||
# 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]
|
||||
INF_VERSION = 0x00010005
|
||||
BASE_NAME = UefiPxeBcDxe
|
||||
FILE_GUID = 3B1DEAB5-C75D-442e-9238-8E2FFB62B0BB
|
||||
MODULE_TYPE = UEFI_DRIVER
|
||||
VERSION_STRING = 1.0
|
||||
ENTRY_POINT = PxeBcDriverEntryPoint
|
||||
|
||||
#
|
||||
# The following information is for reference only and not required by the build tools.
|
||||
#
|
||||
# VALID_ARCHITECTURES = IA32 X64 IPF EBC
|
||||
#
|
||||
# DRIVER_BINDING = gPxeBcDriverBinding
|
||||
# COMPONENT_NAME = gPxeBcComponentName
|
||||
# COMPONENT_NAME2 = gPxeBcComponentName2
|
||||
#
|
||||
|
||||
[Sources.common]
|
||||
PxeBcMtftp.c
|
||||
PxeBcSupport.h
|
||||
PxeBcSupport.c
|
||||
PxeBcDriver.c
|
||||
PxeBcDhcp.h
|
||||
ComponentName.c
|
||||
PxeBcImpl.c
|
||||
PxeBcImpl.h
|
||||
PxeBcDhcp.c
|
||||
PxeBcMtftp.h
|
||||
PxeBcDriver.h
|
||||
|
||||
[Sources.IA32]
|
||||
Ia32/PxeArch.h
|
||||
|
||||
[Sources.X64]
|
||||
X64/PxeArch.h
|
||||
|
||||
[Sources.IPF]
|
||||
Ipf/PxeArch.h
|
||||
|
||||
[Sources.ARM]
|
||||
Arm/PxeArch.h
|
||||
|
||||
[Sources.EBC]
|
||||
Ebc/PxeArch.h
|
||||
Ebc/PxeArch.c
|
||||
|
||||
[Packages]
|
||||
MdePkg/MdePkg.dec
|
||||
MdeModulePkg/MdeModulePkg.dec
|
||||
|
||||
|
||||
|
||||
[LibraryClasses]
|
||||
BaseLib
|
||||
UefiLib
|
||||
UefiBootServicesTableLib
|
||||
UefiDriverEntryPoint
|
||||
BaseMemoryLib
|
||||
MemoryAllocationLib
|
||||
DebugLib
|
||||
NetLib
|
||||
DpcLib
|
||||
|
||||
[Guids]
|
||||
gEfiSmbiosTableGuid # ALWAYS_CONSUMED
|
||||
|
||||
[Protocols]
|
||||
gEfiArpServiceBindingProtocolGuid # PROTOCOL ALWAYS_CONSUMED
|
||||
gEfiArpProtocolGuid # PROTOCOL ALWAYS_CONSUMED
|
||||
gEfiMtftp4ServiceBindingProtocolGuid # PROTOCOL ALWAYS_CONSUMED
|
||||
gEfiMtftp4ProtocolGuid # PROTOCOL ALWAYS_CONSUMED
|
||||
gEfiUdp4ServiceBindingProtocolGuid # PROTOCOL ALWAYS_CONSUMED
|
||||
gEfiDhcp4ServiceBindingProtocolGuid # PROTOCOL ALWAYS_CONSUMED
|
||||
gEfiPxeBaseCodeCallbackProtocolGuid # PROTOCOL ALWAYS_PRODUCED
|
||||
gEfiPxeBaseCodeProtocolGuid # PROTOCOL ALWAYS_PRODUCED
|
||||
gEfiLoadFileProtocolGuid # PROTOCOL ALWAYS_PRODUCED
|
||||
gEfiDhcp4ProtocolGuid # PROTOCOL ALWAYS_CONSUMED
|
||||
gEfiUdp4ProtocolGuid # PROTOCOL ALWAYS_CONSUMED
|
||||
gEfiNetworkInterfaceIdentifierProtocolGuid_31 ## SOMETIMES_CONSUMES
|
||||
gEfiIp4ServiceBindingProtocolGuid # PROTOCOL ALWAYS_CONSUMED
|
||||
gEfiIp4ProtocolGuid # PROTOCOL ALWAYS_CONSUMED
|
||||
#/** @file
|
||||
# Component name for module UefiPxeBc
|
||||
#
|
||||
# Copyright (c) 2007 - 2009, Intel Corporation. All rights reserved.
|
||||
#
|
||||
# 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]
|
||||
INF_VERSION = 0x00010005
|
||||
BASE_NAME = UefiPxeBcDxe
|
||||
FILE_GUID = 3B1DEAB5-C75D-442e-9238-8E2FFB62B0BB
|
||||
MODULE_TYPE = UEFI_DRIVER
|
||||
VERSION_STRING = 1.0
|
||||
ENTRY_POINT = PxeBcDriverEntryPoint
|
||||
|
||||
#
|
||||
# The following information is for reference only and not required by the build tools.
|
||||
#
|
||||
# VALID_ARCHITECTURES = IA32 X64 IPF EBC
|
||||
#
|
||||
# DRIVER_BINDING = gPxeBcDriverBinding
|
||||
# COMPONENT_NAME = gPxeBcComponentName
|
||||
# COMPONENT_NAME2 = gPxeBcComponentName2
|
||||
#
|
||||
|
||||
[Sources.common]
|
||||
PxeBcMtftp.c
|
||||
PxeBcSupport.h
|
||||
PxeBcSupport.c
|
||||
PxeBcDriver.c
|
||||
PxeBcDhcp.h
|
||||
ComponentName.c
|
||||
PxeBcImpl.c
|
||||
PxeBcImpl.h
|
||||
PxeBcDhcp.c
|
||||
PxeBcMtftp.h
|
||||
PxeBcDriver.h
|
||||
|
||||
[Sources.IA32]
|
||||
Ia32/PxeArch.h
|
||||
|
||||
[Sources.X64]
|
||||
X64/PxeArch.h
|
||||
|
||||
[Sources.IPF]
|
||||
Ipf/PxeArch.h
|
||||
|
||||
[Sources.ARM]
|
||||
Arm/PxeArch.h
|
||||
|
||||
[Sources.EBC]
|
||||
Ebc/PxeArch.h
|
||||
Ebc/PxeArch.c
|
||||
|
||||
[Packages]
|
||||
MdePkg/MdePkg.dec
|
||||
MdeModulePkg/MdeModulePkg.dec
|
||||
|
||||
|
||||
|
||||
[LibraryClasses]
|
||||
BaseLib
|
||||
UefiLib
|
||||
UefiBootServicesTableLib
|
||||
UefiDriverEntryPoint
|
||||
BaseMemoryLib
|
||||
MemoryAllocationLib
|
||||
DebugLib
|
||||
NetLib
|
||||
DpcLib
|
||||
|
||||
[Guids]
|
||||
gEfiSmbiosTableGuid # ALWAYS_CONSUMED
|
||||
|
||||
[Protocols]
|
||||
gEfiArpServiceBindingProtocolGuid # PROTOCOL ALWAYS_CONSUMED
|
||||
gEfiArpProtocolGuid # PROTOCOL ALWAYS_CONSUMED
|
||||
gEfiMtftp4ServiceBindingProtocolGuid # PROTOCOL ALWAYS_CONSUMED
|
||||
gEfiMtftp4ProtocolGuid # PROTOCOL ALWAYS_CONSUMED
|
||||
gEfiUdp4ServiceBindingProtocolGuid # PROTOCOL ALWAYS_CONSUMED
|
||||
gEfiDhcp4ServiceBindingProtocolGuid # PROTOCOL ALWAYS_CONSUMED
|
||||
gEfiPxeBaseCodeCallbackProtocolGuid # PROTOCOL ALWAYS_PRODUCED
|
||||
gEfiPxeBaseCodeProtocolGuid # PROTOCOL ALWAYS_PRODUCED
|
||||
gEfiLoadFileProtocolGuid # PROTOCOL ALWAYS_PRODUCED
|
||||
gEfiDhcp4ProtocolGuid # PROTOCOL ALWAYS_CONSUMED
|
||||
gEfiUdp4ProtocolGuid # PROTOCOL ALWAYS_CONSUMED
|
||||
gEfiNetworkInterfaceIdentifierProtocolGuid_31 ## SOMETIMES_CONSUMES
|
||||
gEfiIp4ServiceBindingProtocolGuid # PROTOCOL ALWAYS_CONSUMED
|
||||
gEfiIp4ProtocolGuid # PROTOCOL ALWAYS_CONSUMED
|
||||
|
@ -62,7 +62,7 @@ EFIAPI
|
||||
FreeMappingDatabase (
|
||||
IN OUT LIST_ENTRY *MappingDataBase
|
||||
)
|
||||
;
|
||||
;
|
||||
|
||||
/**
|
||||
Read the NV environment variable(s) that contain the override mappings from Controller Device Path to
|
||||
@ -81,7 +81,7 @@ EFIAPI
|
||||
InitOverridesMapping (
|
||||
OUT LIST_ENTRY *MappingDataBase
|
||||
)
|
||||
;
|
||||
;
|
||||
|
||||
/**
|
||||
Save the memory mapping database into NV environment variable(s).
|
||||
@ -98,7 +98,7 @@ EFIAPI
|
||||
SaveOverridesMapping (
|
||||
IN LIST_ENTRY *MappingDataBase
|
||||
)
|
||||
;
|
||||
;
|
||||
|
||||
/**
|
||||
Retrieves the image handle of the platform override driver for a controller in the system from the memory mapping database.
|
||||
@ -132,7 +132,7 @@ GetDriverFromMapping (
|
||||
IN LIST_ENTRY *MappingDataBase,
|
||||
IN EFI_HANDLE CallerImageHandle
|
||||
)
|
||||
;
|
||||
;
|
||||
|
||||
/**
|
||||
Check mapping database whether already has the mapping info which
|
||||
@ -160,7 +160,7 @@ CheckMapping (
|
||||
OUT UINT32 *DriverInfoNum OPTIONAL,
|
||||
OUT UINT32 *DriverImageNO OPTIONAL
|
||||
)
|
||||
;
|
||||
;
|
||||
|
||||
/**
|
||||
Insert a driver image as a controller's override driver into the mapping database.
|
||||
@ -189,7 +189,7 @@ InsertDriverImage (
|
||||
IN LIST_ENTRY *MappingDataBase,
|
||||
IN UINT32 DriverImageNO
|
||||
)
|
||||
;
|
||||
;
|
||||
|
||||
/**
|
||||
Delete a controller's override driver from the mapping database.
|
||||
@ -213,6 +213,6 @@ DeleteDriverImage (
|
||||
IN EFI_DEVICE_PATH_PROTOCOL *DriverImageDevicePath,
|
||||
IN LIST_ENTRY *MappingDataBase
|
||||
)
|
||||
;
|
||||
;
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user