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