Removed CommonHeader.h from MdePkg & MdeModulePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3180 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@ -1,56 +0,0 @@
|
|||||||
/**@file
|
|
||||||
Common header file shared by all source files.
|
|
||||||
|
|
||||||
This file includes package header files, library classes and protocol, PPI & GUID definitions.
|
|
||||||
|
|
||||||
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.
|
|
||||||
**/
|
|
||||||
|
|
||||||
#ifndef __COMMON_HEADER_H_
|
|
||||||
#define __COMMON_HEADER_H_
|
|
||||||
|
|
||||||
|
|
||||||
//
|
|
||||||
// The package level header files this module uses
|
|
||||||
//
|
|
||||||
#include <PiPei.h>
|
|
||||||
//
|
|
||||||
// The protocols, PPI and GUID defintions for this module
|
|
||||||
//
|
|
||||||
#include <Ppi/DxeIpl.h>
|
|
||||||
#include <Ppi/S3Resume.h>
|
|
||||||
#include <Protocol/EdkDecompress.h>
|
|
||||||
#include <Ppi/EndOfPeiPhase.h>
|
|
||||||
#include <Protocol/CustomizedDecompress.h>
|
|
||||||
#include <Protocol/Decompress.h>
|
|
||||||
#include <Ppi/Security.h>
|
|
||||||
#include <Ppi/SectionExtraction.h>
|
|
||||||
#include <Ppi/LoadFile.h>
|
|
||||||
#include <Ppi/RecoveryModule.h>
|
|
||||||
#include <Ppi/MemoryDiscovered.h>
|
|
||||||
//
|
|
||||||
// The Library classes this module consumes
|
|
||||||
//
|
|
||||||
#include <Library/DebugLib.h>
|
|
||||||
#include <Library/PeimEntryPoint.h>
|
|
||||||
#include <Library/BaseLib.h>
|
|
||||||
#include <Library/HobLib.h>
|
|
||||||
#include <Library/PeiServicesLib.h>
|
|
||||||
#include <Library/ReportStatusCodeLib.h>
|
|
||||||
#include <Library/CacheMaintenanceLib.h>
|
|
||||||
#include <Library/PeCoffLoaderLib.h>
|
|
||||||
#include <Library/UefiDecompressLib.h>
|
|
||||||
#include <Library/CustomDecompressLib.h>
|
|
||||||
#include <Library/PeiServicesTablePointerLib.h>
|
|
||||||
#include <Library/BaseMemoryLib.h>
|
|
||||||
#include <Library/MemoryAllocationLib.h>
|
|
||||||
#include <Library/PcdLib.h>
|
|
||||||
#include <Library/PeCoffLib.h>
|
|
||||||
|
|
||||||
#endif
|
|
@ -20,10 +20,34 @@ Abstract:
|
|||||||
#ifndef __PEI_DXEIPL_H__
|
#ifndef __PEI_DXEIPL_H__
|
||||||
#define __PEI_DXEIPL_H__
|
#define __PEI_DXEIPL_H__
|
||||||
|
|
||||||
//
|
#include <PiPei.h>
|
||||||
// Include common header file for this module.
|
#include <Ppi/DxeIpl.h>
|
||||||
//
|
#include <Ppi/S3Resume.h>
|
||||||
#include "CommonHeader.h"
|
#include <Protocol/EdkDecompress.h>
|
||||||
|
#include <Ppi/EndOfPeiPhase.h>
|
||||||
|
#include <Protocol/CustomizedDecompress.h>
|
||||||
|
#include <Protocol/Decompress.h>
|
||||||
|
#include <Ppi/Security.h>
|
||||||
|
#include <Ppi/SectionExtraction.h>
|
||||||
|
#include <Ppi/LoadFile.h>
|
||||||
|
#include <Ppi/RecoveryModule.h>
|
||||||
|
#include <Ppi/MemoryDiscovered.h>
|
||||||
|
#include <Library/DebugLib.h>
|
||||||
|
#include <Library/PeimEntryPoint.h>
|
||||||
|
#include <Library/BaseLib.h>
|
||||||
|
#include <Library/HobLib.h>
|
||||||
|
#include <Library/PeiServicesLib.h>
|
||||||
|
#include <Library/ReportStatusCodeLib.h>
|
||||||
|
#include <Library/CacheMaintenanceLib.h>
|
||||||
|
#include <Library/PeCoffLoaderLib.h>
|
||||||
|
#include <Library/UefiDecompressLib.h>
|
||||||
|
#include <Library/CustomDecompressLib.h>
|
||||||
|
#include <Library/PeiServicesTablePointerLib.h>
|
||||||
|
#include <Library/BaseMemoryLib.h>
|
||||||
|
#include <Library/MemoryAllocationLib.h>
|
||||||
|
#include <Library/PcdLib.h>
|
||||||
|
#include <Library/PeCoffLib.h>
|
||||||
|
|
||||||
|
|
||||||
#define STACK_SIZE 0x20000
|
#define STACK_SIZE 0x20000
|
||||||
#define BSP_STORE_SIZE 0x4000
|
#define BSP_STORE_SIZE 0x4000
|
||||||
|
@ -20,11 +20,6 @@ Abstract:
|
|||||||
|
|
||||||
--*/
|
--*/
|
||||||
|
|
||||||
//
|
|
||||||
// Include common header file for this module.
|
|
||||||
//
|
|
||||||
#include "CommonHeader.h"
|
|
||||||
|
|
||||||
#include "DxeIpl.h"
|
#include "DxeIpl.h"
|
||||||
|
|
||||||
// porting note remove later
|
// porting note remove later
|
||||||
|
@ -19,11 +19,6 @@ Abstract:
|
|||||||
|
|
||||||
--*/
|
--*/
|
||||||
|
|
||||||
//
|
|
||||||
// Include common header file for this module.
|
|
||||||
//
|
|
||||||
#include "CommonHeader.h"
|
|
||||||
|
|
||||||
#include "DxeIpl.h"
|
#include "DxeIpl.h"
|
||||||
#include "VirtualMemory.h"
|
#include "VirtualMemory.h"
|
||||||
|
|
||||||
|
@ -17,11 +17,6 @@ Abstract:
|
|||||||
|
|
||||||
--*/
|
--*/
|
||||||
|
|
||||||
//
|
|
||||||
// Include common header file for this module.
|
|
||||||
//
|
|
||||||
#include "CommonHeader.h"
|
|
||||||
|
|
||||||
#include "DxeIpl.h"
|
#include "DxeIpl.h"
|
||||||
|
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
|
@ -32,13 +32,10 @@ Abstract:
|
|||||||
|
|
||||||
--*/
|
--*/
|
||||||
|
|
||||||
//
|
#include "DxeIpl.h"
|
||||||
// Include common header file for this module.
|
|
||||||
//
|
|
||||||
#include "CommonHeader.h"
|
|
||||||
|
|
||||||
#include "VirtualMemory.h"
|
#include "VirtualMemory.h"
|
||||||
|
|
||||||
|
|
||||||
UINTN
|
UINTN
|
||||||
CreateIdentityMappingPageTables (
|
CreateIdentityMappingPageTables (
|
||||||
VOID
|
VOID
|
||||||
|
@ -26,11 +26,6 @@ Abstract:
|
|||||||
#define _VIRTUAL_MEMORY_H_
|
#define _VIRTUAL_MEMORY_H_
|
||||||
|
|
||||||
|
|
||||||
//
|
|
||||||
// Include common header file for this module.
|
|
||||||
//
|
|
||||||
#include "CommonHeader.h"
|
|
||||||
|
|
||||||
#define SYS_CODE64_SEL 0x38
|
#define SYS_CODE64_SEL 0x38
|
||||||
|
|
||||||
#pragma pack(1)
|
#pragma pack(1)
|
||||||
|
@ -19,11 +19,6 @@ Abstract:
|
|||||||
|
|
||||||
--*/
|
--*/
|
||||||
|
|
||||||
//
|
|
||||||
// Include common header file for this module.
|
|
||||||
//
|
|
||||||
#include "CommonHeader.h"
|
|
||||||
|
|
||||||
#include "DxeIpl.h"
|
#include "DxeIpl.h"
|
||||||
|
|
||||||
VOID
|
VOID
|
||||||
|
@ -17,11 +17,6 @@ Abstract:
|
|||||||
|
|
||||||
--*/
|
--*/
|
||||||
|
|
||||||
//
|
|
||||||
// Include common header file for this module.
|
|
||||||
//
|
|
||||||
#include "CommonHeader.h"
|
|
||||||
|
|
||||||
#include "DxeIpl.h"
|
#include "DxeIpl.h"
|
||||||
|
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
|
@ -19,11 +19,6 @@ Abstract:
|
|||||||
|
|
||||||
--*/
|
--*/
|
||||||
|
|
||||||
//
|
|
||||||
// Include common header file for this module.
|
|
||||||
//
|
|
||||||
#include "CommonHeader.h"
|
|
||||||
|
|
||||||
#include "DxeIpl.h"
|
#include "DxeIpl.h"
|
||||||
|
|
||||||
VOID
|
VOID
|
||||||
|
@ -23,11 +23,6 @@ Revision History
|
|||||||
|
|
||||||
--*/
|
--*/
|
||||||
|
|
||||||
//
|
|
||||||
// Include common header file for this module.
|
|
||||||
//
|
|
||||||
#include "CommonHeader.h"
|
|
||||||
|
|
||||||
#include <PeiMain.h>
|
#include <PeiMain.h>
|
||||||
|
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
|
@ -1,44 +0,0 @@
|
|||||||
/**@file
|
|
||||||
Common header file shared by all source files.
|
|
||||||
|
|
||||||
This file includes package header files, library classes and protocol, PPI & GUID definitions.
|
|
||||||
|
|
||||||
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.
|
|
||||||
**/
|
|
||||||
|
|
||||||
#ifndef __COMMON_HEADER_H_
|
|
||||||
#define __COMMON_HEADER_H_
|
|
||||||
|
|
||||||
#include <PiPei.h>
|
|
||||||
#include <FrameworkPei.h>
|
|
||||||
//
|
|
||||||
// The protocols, PPI and GUID defintions for this module
|
|
||||||
//
|
|
||||||
#include <Ppi/DxeIpl.h>
|
|
||||||
#include <Ppi/MemoryDiscovered.h>
|
|
||||||
#include <Ppi/FindFv.h>
|
|
||||||
#include <Ppi/StatusCode.h>
|
|
||||||
#include <Ppi/Security.h>
|
|
||||||
#include <Ppi/Reset.h>
|
|
||||||
#include <Ppi/LoadFile.h>
|
|
||||||
//
|
|
||||||
// The Library classes this module consumes
|
|
||||||
//
|
|
||||||
#include <Library/DebugLib.h>
|
|
||||||
#include <Library/PeiCoreEntryPoint.h>
|
|
||||||
#include <Library/BaseLib.h>
|
|
||||||
#include <Library/HobLib.h>
|
|
||||||
#include <Library/PerformanceLib.h>
|
|
||||||
#include <Library/PeiServicesLib.h>
|
|
||||||
#include <Library/ReportStatusCodeLib.h>
|
|
||||||
#include <Library/PeCoffGetEntryPointLib.h>
|
|
||||||
#include <Library/BaseMemoryLib.h>
|
|
||||||
#include <Library/TimerLib.h>
|
|
||||||
|
|
||||||
#endif
|
|
@ -23,11 +23,6 @@ Abstract:
|
|||||||
|
|
||||||
--*/
|
--*/
|
||||||
|
|
||||||
//
|
|
||||||
// Include common header file for this module.
|
|
||||||
//
|
|
||||||
#include "CommonHeader.h"
|
|
||||||
|
|
||||||
#include <PeiMain.h>
|
#include <PeiMain.h>
|
||||||
#include "dependency.h"
|
#include "dependency.h"
|
||||||
|
|
||||||
|
@ -23,10 +23,6 @@ Abstract:
|
|||||||
#ifndef _PEI_DEPENDENCY_H_
|
#ifndef _PEI_DEPENDENCY_H_
|
||||||
#define _PEI_DEPENDENCY_H_
|
#define _PEI_DEPENDENCY_H_
|
||||||
|
|
||||||
//
|
|
||||||
// Include common header file for this module.
|
|
||||||
//
|
|
||||||
#include "CommonHeader.h"
|
|
||||||
|
|
||||||
#define MAX_GRAMMAR_SIZE 256
|
#define MAX_GRAMMAR_SIZE 256
|
||||||
|
|
||||||
|
@ -21,11 +21,6 @@ Revision History
|
|||||||
|
|
||||||
--*/
|
--*/
|
||||||
|
|
||||||
//
|
|
||||||
// Include common header file for this module.
|
|
||||||
//
|
|
||||||
#include "CommonHeader.h"
|
|
||||||
|
|
||||||
#include <PeiMain.h>
|
#include <PeiMain.h>
|
||||||
|
|
||||||
STATIC
|
STATIC
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
//
|
//
|
||||||
// Include common header file for this module.
|
// Include common header file for this module.
|
||||||
//
|
//
|
||||||
#include "CommonHeader.h"
|
#include <PeiMain.h>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Transfers control to a function starting with a new stack.
|
Transfers control to a function starting with a new stack.
|
||||||
|
@ -19,11 +19,6 @@ Abstract:
|
|||||||
|
|
||||||
--*/
|
--*/
|
||||||
|
|
||||||
//
|
|
||||||
// Include common header file for this module.
|
|
||||||
//
|
|
||||||
#include "CommonHeader.h"
|
|
||||||
|
|
||||||
#include <PeiMain.h>
|
#include <PeiMain.h>
|
||||||
|
|
||||||
#define GETOCCUPIEDSIZE(ActualSize, Alignment) \
|
#define GETOCCUPIEDSIZE(ActualSize, Alignment) \
|
||||||
|
@ -19,11 +19,6 @@ Abstract:
|
|||||||
|
|
||||||
--*/
|
--*/
|
||||||
|
|
||||||
//
|
|
||||||
// Include common header file for this module.
|
|
||||||
//
|
|
||||||
#include "CommonHeader.h"
|
|
||||||
|
|
||||||
#include <PeiMain.h>
|
#include <PeiMain.h>
|
||||||
|
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
|
@ -19,11 +19,6 @@ Abstract:
|
|||||||
|
|
||||||
--*/
|
--*/
|
||||||
|
|
||||||
//
|
|
||||||
// Include common header file for this module.
|
|
||||||
//
|
|
||||||
#include "CommonHeader.h"
|
|
||||||
|
|
||||||
#include <PeiMain.h>
|
#include <PeiMain.h>
|
||||||
|
|
||||||
|
|
||||||
|
@ -24,11 +24,6 @@ Revision History
|
|||||||
#ifndef _IPF_PEI_MAIN_H_
|
#ifndef _IPF_PEI_MAIN_H_
|
||||||
#define _IPF_PEI_MAIN_H_
|
#define _IPF_PEI_MAIN_H_
|
||||||
|
|
||||||
//
|
|
||||||
// Include common header file for this module.
|
|
||||||
//
|
|
||||||
#include "CommonHeader.h"
|
|
||||||
|
|
||||||
#include <PeiMain.h>
|
#include <PeiMain.h>
|
||||||
|
|
||||||
SAL_RETURN_REGS
|
SAL_RETURN_REGS
|
||||||
|
@ -14,11 +14,6 @@
|
|||||||
|
|
||||||
**/
|
**/
|
||||||
|
|
||||||
//
|
|
||||||
// Include common header file for this module.
|
|
||||||
//
|
|
||||||
#include "CommonHeader.h"
|
|
||||||
|
|
||||||
#include <PeiMain.h>
|
#include <PeiMain.h>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -21,11 +21,6 @@ Revision History
|
|||||||
|
|
||||||
--*/
|
--*/
|
||||||
|
|
||||||
//
|
|
||||||
// Include common header file for this module.
|
|
||||||
//
|
|
||||||
#include "CommonHeader.h"
|
|
||||||
|
|
||||||
#include "IpfPeiMain.h"
|
#include "IpfPeiMain.h"
|
||||||
#include "IpfCpuCore.i"
|
#include "IpfCpuCore.i"
|
||||||
|
|
||||||
|
@ -19,11 +19,6 @@ Abstract:
|
|||||||
|
|
||||||
--*/
|
--*/
|
||||||
|
|
||||||
//
|
|
||||||
// Include common header file for this module.
|
|
||||||
//
|
|
||||||
#include "CommonHeader.h"
|
|
||||||
|
|
||||||
#include <PeiMain.h>
|
#include <PeiMain.h>
|
||||||
|
|
||||||
VOID
|
VOID
|
||||||
|
@ -24,10 +24,26 @@ Revision History
|
|||||||
#ifndef _PEI_MAIN_H_
|
#ifndef _PEI_MAIN_H_
|
||||||
#define _PEI_MAIN_H_
|
#define _PEI_MAIN_H_
|
||||||
|
|
||||||
//
|
#include <PiPei.h>
|
||||||
// Include common header file for this module.
|
#include <FrameworkPei.h>
|
||||||
//
|
#include <Ppi/DxeIpl.h>
|
||||||
#include "CommonHeader.h"
|
#include <Ppi/MemoryDiscovered.h>
|
||||||
|
#include <Ppi/FindFv.h>
|
||||||
|
#include <Ppi/StatusCode.h>
|
||||||
|
#include <Ppi/Security.h>
|
||||||
|
#include <Ppi/Reset.h>
|
||||||
|
#include <Ppi/LoadFile.h>
|
||||||
|
#include <Library/DebugLib.h>
|
||||||
|
#include <Library/PeiCoreEntryPoint.h>
|
||||||
|
#include <Library/BaseLib.h>
|
||||||
|
#include <Library/HobLib.h>
|
||||||
|
#include <Library/PerformanceLib.h>
|
||||||
|
#include <Library/PeiServicesLib.h>
|
||||||
|
#include <Library/ReportStatusCodeLib.h>
|
||||||
|
#include <Library/PeCoffGetEntryPointLib.h>
|
||||||
|
#include <Library/BaseMemoryLib.h>
|
||||||
|
#include <Library/TimerLib.h>
|
||||||
|
|
||||||
|
|
||||||
extern EFI_GUID gEfiPeiCorePrivateGuid;
|
extern EFI_GUID gEfiPeiCorePrivateGuid;
|
||||||
|
|
||||||
|
@ -14,11 +14,6 @@
|
|||||||
#
|
#
|
||||||
#**/
|
#**/
|
||||||
|
|
||||||
################################################################################
|
|
||||||
#
|
|
||||||
# Defines Section - statements that will be processed to create a Makefile.
|
|
||||||
#
|
|
||||||
################################################################################
|
|
||||||
[Defines]
|
[Defines]
|
||||||
INF_VERSION = 0x00010005
|
INF_VERSION = 0x00010005
|
||||||
BASE_NAME = PeiMain
|
BASE_NAME = PeiMain
|
||||||
@ -36,12 +31,6 @@
|
|||||||
# VALID_ARCHITECTURES = IA32 X64 IPF EBC
|
# VALID_ARCHITECTURES = IA32 X64 IPF EBC
|
||||||
#
|
#
|
||||||
|
|
||||||
################################################################################
|
|
||||||
#
|
|
||||||
# Sources Section - list of files that are required for the build to succeed.
|
|
||||||
#
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
[Sources.common]
|
[Sources.common]
|
||||||
StatusCode/StatusCode.c
|
StatusCode/StatusCode.c
|
||||||
Security/Security.c
|
Security/Security.c
|
||||||
@ -57,7 +46,6 @@
|
|||||||
Dependency/dependency.h
|
Dependency/dependency.h
|
||||||
BootMode/BootMode.c
|
BootMode/BootMode.c
|
||||||
PeiMain.h
|
PeiMain.h
|
||||||
CommonHeader.h
|
|
||||||
|
|
||||||
[Sources.Ia32]
|
[Sources.Ia32]
|
||||||
Dispatcher/Stack.c
|
Dispatcher/Stack.c
|
||||||
@ -76,35 +64,14 @@
|
|||||||
Dispatcher/Stack.c
|
Dispatcher/Stack.c
|
||||||
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
#
|
|
||||||
# Includes Section - list of Include locations that are required for
|
|
||||||
# this module.
|
|
||||||
#
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
[Includes]
|
[Includes]
|
||||||
$(WORKSPACE)/MdePkg\Include/Library
|
$(WORKSPACE)/MdePkg\Include/Library
|
||||||
|
|
||||||
################################################################################
|
|
||||||
#
|
|
||||||
# Package Dependency Section - list of Package files that are required for
|
|
||||||
# this module.
|
|
||||||
#
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
[Packages]
|
[Packages]
|
||||||
MdeModulePkg/MdeModulePkg.dec
|
MdeModulePkg/MdeModulePkg.dec
|
||||||
MdePkg/MdePkg.dec
|
MdePkg/MdePkg.dec
|
||||||
IntelFrameworkPkg/IntelFrameworkPkg.dec
|
IntelFrameworkPkg/IntelFrameworkPkg.dec
|
||||||
|
|
||||||
################################################################################
|
|
||||||
#
|
|
||||||
# Library Class Section - list of Library Classes that are required for
|
|
||||||
# this module.
|
|
||||||
#
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
[LibraryClasses]
|
[LibraryClasses]
|
||||||
TimerLib
|
TimerLib
|
||||||
BaseMemoryLib
|
BaseMemoryLib
|
||||||
@ -117,24 +84,9 @@
|
|||||||
OldPeiCoreEntryPoint
|
OldPeiCoreEntryPoint
|
||||||
DebugLib
|
DebugLib
|
||||||
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
#
|
|
||||||
# Guid C Name Section - list of Guids that this module uses or produces.
|
|
||||||
#
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
[Guids]
|
[Guids]
|
||||||
gEfiPeiCorePrivateGuid # PRIVATE
|
gEfiPeiCorePrivateGuid # PRIVATE
|
||||||
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
#
|
|
||||||
# PPI C Name Section - list of PPI and PPI Notify C Names that this module
|
|
||||||
# uses or produces.
|
|
||||||
#
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
[Ppis]
|
[Ppis]
|
||||||
gEfiPeiSecurityPpiGuid # PPI_NOTIFY SOMETIMES_CONSUMED
|
gEfiPeiSecurityPpiGuid # PPI_NOTIFY SOMETIMES_CONSUMED
|
||||||
gEfiPeiStatusCodePpiGuid # PPI SOMETIMES_CONSUMED
|
gEfiPeiStatusCodePpiGuid # PPI SOMETIMES_CONSUMED
|
||||||
|
@ -21,11 +21,6 @@ Revision History
|
|||||||
|
|
||||||
--*/
|
--*/
|
||||||
|
|
||||||
//
|
|
||||||
// Include common header file for this module.
|
|
||||||
//
|
|
||||||
#include "CommonHeader.h"
|
|
||||||
|
|
||||||
#include <PeiMain.h>
|
#include <PeiMain.h>
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -21,11 +21,6 @@ Revision History
|
|||||||
|
|
||||||
--*/
|
--*/
|
||||||
|
|
||||||
//
|
|
||||||
// Include common header file for this module.
|
|
||||||
//
|
|
||||||
#include "CommonHeader.h"
|
|
||||||
|
|
||||||
#include <PeiMain.h>
|
#include <PeiMain.h>
|
||||||
|
|
||||||
VOID
|
VOID
|
||||||
|
@ -21,11 +21,6 @@ Revision History
|
|||||||
|
|
||||||
--*/
|
--*/
|
||||||
|
|
||||||
//
|
|
||||||
// Include common header file for this module.
|
|
||||||
//
|
|
||||||
#include "CommonHeader.h"
|
|
||||||
|
|
||||||
#include <PeiMain.h>
|
#include <PeiMain.h>
|
||||||
|
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
|
@ -19,11 +19,6 @@ Abstract:
|
|||||||
|
|
||||||
--*/
|
--*/
|
||||||
|
|
||||||
//
|
|
||||||
// Include common header file for this module.
|
|
||||||
//
|
|
||||||
#include "CommonHeader.h"
|
|
||||||
|
|
||||||
#include <PeiMain.h>
|
#include <PeiMain.h>
|
||||||
|
|
||||||
STATIC
|
STATIC
|
||||||
|
@ -21,11 +21,6 @@ Revision History
|
|||||||
|
|
||||||
--*/
|
--*/
|
||||||
|
|
||||||
//
|
|
||||||
// Include common header file for this module.
|
|
||||||
//
|
|
||||||
#include "CommonHeader.h"
|
|
||||||
|
|
||||||
#include <PeiMain.h>
|
#include <PeiMain.h>
|
||||||
|
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
|
@ -1,54 +0,0 @@
|
|||||||
/**@file
|
|
||||||
Entry Point Source file.
|
|
||||||
|
|
||||||
This file contains the user entry point
|
|
||||||
|
|
||||||
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.
|
|
||||||
**/
|
|
||||||
|
|
||||||
//
|
|
||||||
// Include common header file for this module.
|
|
||||||
//
|
|
||||||
#include "CommonHeader.h"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Event for Exit Boot Services Callback
|
|
||||||
//
|
|
||||||
STATIC EFI_EVENT mExitBootServicesEvent = NULL;
|
|
||||||
|
|
||||||
/**
|
|
||||||
The user Entry Point for module EdkFvbServiceLib. The user code starts with this function.
|
|
||||||
|
|
||||||
@param[in] ImageHandle The firmware allocated handle for the EFI image.
|
|
||||||
@param[in] SystemTable A pointer to the EFI System Table.
|
|
||||||
|
|
||||||
@retval EFI_SUCCESS The entry point is executed successfully.
|
|
||||||
@retval other Some error occurs when executing this entry point.
|
|
||||||
|
|
||||||
**/
|
|
||||||
EFI_STATUS
|
|
||||||
EFIAPI
|
|
||||||
InitializeEdkFvbServiceLib(
|
|
||||||
IN EFI_HANDLE ImageHandle,
|
|
||||||
IN EFI_SYSTEM_TABLE *SystemTable
|
|
||||||
)
|
|
||||||
{
|
|
||||||
EFI_STATUS Status;
|
|
||||||
|
|
||||||
Status = gBS->CreateEvent (
|
|
||||||
EVT_SIGNAL_EXIT_BOOT_SERVICES,
|
|
||||||
TPL_NOTIFY,
|
|
||||||
FvbVirtualAddressChangeNotifyEvent,
|
|
||||||
NULL,
|
|
||||||
&mExitBootServicesEvent
|
|
||||||
);
|
|
||||||
ASSERT_EFI_ERROR (Status);
|
|
||||||
|
|
||||||
return Status;
|
|
||||||
}
|
|
@ -20,11 +20,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|||||||
|
|
||||||
**/
|
**/
|
||||||
|
|
||||||
//
|
|
||||||
// Include common header file for this module.
|
|
||||||
//
|
|
||||||
#include "CommonHeader.h"
|
|
||||||
|
|
||||||
#include "Fvb.h"
|
#include "Fvb.h"
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -1,54 +0,0 @@
|
|||||||
/**@file
|
|
||||||
Common header file shared by all source files.
|
|
||||||
|
|
||||||
This file includes package header files, library classes and protocol, PPI & GUID definitions.
|
|
||||||
|
|
||||||
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.
|
|
||||||
**/
|
|
||||||
|
|
||||||
#ifndef __COMMON_HEADER_H_
|
|
||||||
#define __COMMON_HEADER_H_
|
|
||||||
|
|
||||||
|
|
||||||
//
|
|
||||||
// The package level header files this module uses
|
|
||||||
//
|
|
||||||
#include <Uefi.h>
|
|
||||||
|
|
||||||
//
|
|
||||||
// The protocols, PPI and GUID defintions for this module
|
|
||||||
//
|
|
||||||
#include <Protocol/SimpleTextOut.h>
|
|
||||||
#include <Guid/GlobalVariable.h>
|
|
||||||
#include <Guid/ConsoleInDevice.h>
|
|
||||||
#include <Protocol/DevicePath.h>
|
|
||||||
#include <Protocol/SimpleTextIn.h>
|
|
||||||
#include <Guid/HotPlugDevice.h>
|
|
||||||
#include <Guid/StandardErrorDevice.h>
|
|
||||||
#include <Guid/ConsoleOutDevice.h>
|
|
||||||
//
|
|
||||||
// The Library classes this module consumes
|
|
||||||
//
|
|
||||||
#include <Library/DebugLib.h>
|
|
||||||
#include <Library/UefiDriverEntryPoint.h>
|
|
||||||
#include <Library/UefiLib.h>
|
|
||||||
#include <Library/BaseMemoryLib.h>
|
|
||||||
#include <Library/UefiBootServicesTableLib.h>
|
|
||||||
#include <Library/UefiRuntimeServicesTableLib.h>
|
|
||||||
#include <Library/DevicePathLib.h>
|
|
||||||
#include <Library/MemoryAllocationLib.h>
|
|
||||||
//
|
|
||||||
// Driver Binding Externs
|
|
||||||
//
|
|
||||||
extern EFI_DRIVER_BINDING_PROTOCOL gConPlatformTextInDriverBinding;
|
|
||||||
extern EFI_COMPONENT_NAME_PROTOCOL gConPlatformComponentName;
|
|
||||||
extern EFI_DRIVER_BINDING_PROTOCOL gConPlatformTextOutDriverBinding;
|
|
||||||
extern EFI_COMPONENT_NAME_PROTOCOL gConPlatformComponentName;
|
|
||||||
|
|
||||||
#endif
|
|
@ -22,8 +22,7 @@ Abstract:
|
|||||||
//
|
//
|
||||||
|
|
||||||
|
|
||||||
#include "ConPlatform.h"
|
#include <ConPlatform.h>
|
||||||
#include "ComponentName.h"
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// EFI Component Name Protocol
|
// EFI Component Name Protocol
|
||||||
|
@ -1,45 +0,0 @@
|
|||||||
/*++
|
|
||||||
|
|
||||||
Copyright (c) 2006, 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.
|
|
||||||
|
|
||||||
Module Name:
|
|
||||||
|
|
||||||
ComponentName.h
|
|
||||||
|
|
||||||
Abstract:
|
|
||||||
|
|
||||||
--*/
|
|
||||||
|
|
||||||
#ifndef CON_MANAGE_COMPONENT_NAME_H_
|
|
||||||
#define CON_MANAGE_COMPONENT_NAME_H_
|
|
||||||
|
|
||||||
|
|
||||||
//
|
|
||||||
// EFI Component Name Functions
|
|
||||||
//
|
|
||||||
EFI_STATUS
|
|
||||||
EFIAPI
|
|
||||||
ConPlatformComponentNameGetDriverName (
|
|
||||||
IN EFI_COMPONENT_NAME_PROTOCOL *This,
|
|
||||||
IN CHAR8 *Language,
|
|
||||||
OUT CHAR16 **DriverName
|
|
||||||
);
|
|
||||||
|
|
||||||
EFI_STATUS
|
|
||||||
EFIAPI
|
|
||||||
ConPlatformComponentNameGetControllerName (
|
|
||||||
IN EFI_COMPONENT_NAME_PROTOCOL *This,
|
|
||||||
IN EFI_HANDLE ControllerHandle,
|
|
||||||
IN EFI_HANDLE ChildHandle OPTIONAL,
|
|
||||||
IN CHAR8 *Language,
|
|
||||||
OUT CHAR16 **ControllerName
|
|
||||||
);
|
|
||||||
|
|
||||||
#endif
|
|
@ -17,40 +17,8 @@ Abstract:
|
|||||||
|
|
||||||
--*/
|
--*/
|
||||||
|
|
||||||
#include <Uefi.h>
|
#include <ConPlatform.h>
|
||||||
|
|
||||||
#include "ConPlatform.h"
|
|
||||||
|
|
||||||
|
|
||||||
//
|
|
||||||
// The protocols, PPI and GUID defintions for this module
|
|
||||||
//
|
|
||||||
#include <Protocol/SimpleTextOut.h>
|
|
||||||
#include <Guid/GlobalVariable.h>
|
|
||||||
#include <Guid/ConsoleInDevice.h>
|
|
||||||
#include <Protocol/DevicePath.h>
|
|
||||||
#include <Protocol/SimpleTextIn.h>
|
|
||||||
#include <Guid/HotPlugDevice.h>
|
|
||||||
#include <Guid/StandardErrorDevice.h>
|
|
||||||
#include <Guid/ConsoleOutDevice.h>
|
|
||||||
//
|
|
||||||
// The Library classes this module consumes
|
|
||||||
//
|
|
||||||
#include <Library/DebugLib.h>
|
|
||||||
#include <Library/UefiDriverEntryPoint.h>
|
|
||||||
#include <Library/UefiLib.h>
|
|
||||||
#include <Library/BaseMemoryLib.h>
|
|
||||||
#include <Library/UefiBootServicesTableLib.h>
|
|
||||||
#include <Library/UefiRuntimeServicesTableLib.h>
|
|
||||||
#include <Library/DevicePathLib.h>
|
|
||||||
#include <Library/MemoryAllocationLib.h>
|
|
||||||
//
|
|
||||||
// Driver Binding Externs
|
|
||||||
//
|
|
||||||
extern EFI_DRIVER_BINDING_PROTOCOL gConPlatformTextInDriverBinding;
|
|
||||||
extern EFI_COMPONENT_NAME_PROTOCOL gConPlatformComponentName;
|
|
||||||
extern EFI_DRIVER_BINDING_PROTOCOL gConPlatformTextOutDriverBinding;
|
|
||||||
extern EFI_COMPONENT_NAME_PROTOCOL gConPlatformComponentName;
|
|
||||||
|
|
||||||
EFI_DRIVER_BINDING_PROTOCOL gConPlatformTextInDriverBinding = {
|
EFI_DRIVER_BINDING_PROTOCOL gConPlatformTextInDriverBinding = {
|
||||||
ConPlatformTextInDriverBindingSupported,
|
ConPlatformTextInDriverBindingSupported,
|
||||||
|
@ -20,10 +20,31 @@ Abstract:
|
|||||||
#ifndef CON_MANAGE_H_
|
#ifndef CON_MANAGE_H_
|
||||||
#define CON_MANAGE_H_
|
#define CON_MANAGE_H_
|
||||||
|
|
||||||
|
#include <Uefi.h>
|
||||||
|
#include <Protocol/SimpleTextOut.h>
|
||||||
|
#include <Guid/GlobalVariable.h>
|
||||||
|
#include <Guid/ConsoleInDevice.h>
|
||||||
|
#include <Protocol/DevicePath.h>
|
||||||
|
#include <Protocol/SimpleTextIn.h>
|
||||||
|
#include <Guid/HotPlugDevice.h>
|
||||||
|
#include <Guid/StandardErrorDevice.h>
|
||||||
|
#include <Guid/ConsoleOutDevice.h>
|
||||||
|
#include <Library/DebugLib.h>
|
||||||
|
#include <Library/UefiDriverEntryPoint.h>
|
||||||
|
#include <Library/UefiLib.h>
|
||||||
|
#include <Library/BaseMemoryLib.h>
|
||||||
|
#include <Library/UefiBootServicesTableLib.h>
|
||||||
|
#include <Library/UefiRuntimeServicesTableLib.h>
|
||||||
|
#include <Library/DevicePathLib.h>
|
||||||
|
#include <Library/MemoryAllocationLib.h>
|
||||||
|
|
||||||
//
|
//
|
||||||
// Include common header file for this module.
|
// Driver Binding Externs
|
||||||
//
|
//
|
||||||
#include "CommonHeader.h"
|
extern EFI_DRIVER_BINDING_PROTOCOL gConPlatformTextInDriverBinding;
|
||||||
|
extern EFI_COMPONENT_NAME_PROTOCOL gConPlatformComponentName;
|
||||||
|
extern EFI_DRIVER_BINDING_PROTOCOL gConPlatformTextOutDriverBinding;
|
||||||
|
extern EFI_COMPONENT_NAME_PROTOCOL gConPlatformComponentName;
|
||||||
|
|
||||||
#define VarConsoleInpDev L"ConInDev"
|
#define VarConsoleInpDev L"ConInDev"
|
||||||
#define VarConsoleInp L"ConIn"
|
#define VarConsoleInp L"ConIn"
|
||||||
@ -129,4 +150,25 @@ IsHotPlugDevice (
|
|||||||
EFI_HANDLE ControllerHandle
|
EFI_HANDLE ControllerHandle
|
||||||
);
|
);
|
||||||
|
|
||||||
|
//
|
||||||
|
// EFI Component Name Functions
|
||||||
|
//
|
||||||
|
EFI_STATUS
|
||||||
|
EFIAPI
|
||||||
|
ConPlatformComponentNameGetDriverName (
|
||||||
|
IN EFI_COMPONENT_NAME_PROTOCOL *This,
|
||||||
|
IN CHAR8 *Language,
|
||||||
|
OUT CHAR16 **DriverName
|
||||||
|
);
|
||||||
|
|
||||||
|
EFI_STATUS
|
||||||
|
EFIAPI
|
||||||
|
ConPlatformComponentNameGetControllerName (
|
||||||
|
IN EFI_COMPONENT_NAME_PROTOCOL *This,
|
||||||
|
IN EFI_HANDLE ControllerHandle,
|
||||||
|
IN EFI_HANDLE ChildHandle OPTIONAL,
|
||||||
|
IN CHAR8 *Language,
|
||||||
|
OUT CHAR16 **ControllerName
|
||||||
|
);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -14,11 +14,6 @@
|
|||||||
#
|
#
|
||||||
#**/
|
#**/
|
||||||
|
|
||||||
################################################################################
|
|
||||||
#
|
|
||||||
# Defines Section - statements that will be processed to create a Makefile.
|
|
||||||
#
|
|
||||||
################################################################################
|
|
||||||
[Defines]
|
[Defines]
|
||||||
INF_VERSION = 0x00010005
|
INF_VERSION = 0x00010005
|
||||||
BASE_NAME = ConPlatform
|
BASE_NAME = ConPlatform
|
||||||
@ -41,38 +36,14 @@
|
|||||||
# COMPONENT_NAME = gConPlatformComponentName
|
# COMPONENT_NAME = gConPlatformComponentName
|
||||||
#
|
#
|
||||||
|
|
||||||
################################################################################
|
|
||||||
#
|
|
||||||
# Sources Section - list of files that are required for the build to succeed.
|
|
||||||
#
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
[Sources.common]
|
[Sources.common]
|
||||||
ComponentName.c
|
ComponentName.c
|
||||||
ComponentName.h
|
|
||||||
ConPlatform.h
|
ConPlatform.h
|
||||||
ConPlatform.c
|
ConPlatform.c
|
||||||
CommonHeader.h
|
|
||||||
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
#
|
|
||||||
# Package Dependency Section - list of Package files that are required for
|
|
||||||
# this module.
|
|
||||||
#
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
[Packages]
|
[Packages]
|
||||||
MdePkg/MdePkg.dec
|
MdePkg/MdePkg.dec
|
||||||
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
#
|
|
||||||
# Library Class Section - list of Library Classes that are required for
|
|
||||||
# this module.
|
|
||||||
#
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
[LibraryClasses]
|
[LibraryClasses]
|
||||||
MemoryAllocationLib
|
MemoryAllocationLib
|
||||||
DevicePathLib
|
DevicePathLib
|
||||||
@ -83,24 +54,9 @@
|
|||||||
UefiDriverEntryPoint
|
UefiDriverEntryPoint
|
||||||
DebugLib
|
DebugLib
|
||||||
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
#
|
|
||||||
# Guid C Name Section - list of Guids that this module uses or produces.
|
|
||||||
#
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
[Guids]
|
[Guids]
|
||||||
gEfiGlobalVariableGuid # SOMETIMES_CONSUMED L"ErrOut"
|
gEfiGlobalVariableGuid # SOMETIMES_CONSUMED L"ErrOut"
|
||||||
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
#
|
|
||||||
# Protocol C Name Section - list of Protocol and Protocol Notify C Names
|
|
||||||
# that this module uses or produces.
|
|
||||||
#
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
[Protocols]
|
[Protocols]
|
||||||
gEfiHotPlugDeviceGuid # PROTOCOL TO_START
|
gEfiHotPlugDeviceGuid # PROTOCOL TO_START
|
||||||
gEfiDevicePathProtocolGuid # PROTOCOL TO_START
|
gEfiDevicePathProtocolGuid # PROTOCOL TO_START
|
||||||
|
@ -1,33 +0,0 @@
|
|||||||
/*++
|
|
||||||
|
|
||||||
Copyright (c) 2006, 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.
|
|
||||||
|
|
||||||
Module Name:
|
|
||||||
|
|
||||||
ComponentName.h
|
|
||||||
|
|
||||||
Abstract:
|
|
||||||
|
|
||||||
|
|
||||||
Revision History
|
|
||||||
|
|
||||||
--*/
|
|
||||||
|
|
||||||
#ifndef _GRAPHICS_CONSOLE_COMPONENT_NAME_H
|
|
||||||
#define _GRAPHICS_CONSOLE_COMPONENT_NAME_H
|
|
||||||
|
|
||||||
//
|
|
||||||
// Include common header file for this module.
|
|
||||||
//
|
|
||||||
#include "CommonHeader.h"
|
|
||||||
|
|
||||||
#error
|
|
||||||
|
|
||||||
#endif
|
|
@ -1,44 +0,0 @@
|
|||||||
/**@file
|
|
||||||
Common header file shared by all source files.
|
|
||||||
|
|
||||||
This file includes package header files, library classes and protocol, PPI & GUID definitions.
|
|
||||||
|
|
||||||
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.
|
|
||||||
**/
|
|
||||||
|
|
||||||
#ifndef __COMMON_HEADER_H_
|
|
||||||
#define __COMMON_HEADER_H_
|
|
||||||
|
|
||||||
|
|
||||||
//
|
|
||||||
// The package level header files this module uses
|
|
||||||
//
|
|
||||||
#include <PiDxe.h>
|
|
||||||
//
|
|
||||||
// The protocols, PPI and GUID defintions for this module
|
|
||||||
//
|
|
||||||
#include <Protocol/DevicePathUtilities.h>
|
|
||||||
#include <Protocol/DebugPort.h>
|
|
||||||
#include <Protocol/DevicePathToText.h>
|
|
||||||
#include <Protocol/DevicePathFromText.h>
|
|
||||||
#include <Guid/PcAnsi.h>
|
|
||||||
//
|
|
||||||
// The Library classes this module consumes
|
|
||||||
//
|
|
||||||
#include <Library/DebugLib.h>
|
|
||||||
#include <Library/PrintLib.h>
|
|
||||||
#include <Library/UefiDriverEntryPoint.h>
|
|
||||||
#include <Library/BaseLib.h>
|
|
||||||
#include <Library/BaseMemoryLib.h>
|
|
||||||
#include <Library/MemoryAllocationLib.h>
|
|
||||||
#include <Library/UefiBootServicesTableLib.h>
|
|
||||||
#include <Library/DevicePathLib.h>
|
|
||||||
#include <Library/PcdLib.h>
|
|
||||||
|
|
||||||
#endif
|
|
@ -20,11 +20,6 @@ Abstract:
|
|||||||
|
|
||||||
--*/
|
--*/
|
||||||
|
|
||||||
//
|
|
||||||
// Include common header file for this module.
|
|
||||||
//
|
|
||||||
#include "CommonHeader.h"
|
|
||||||
|
|
||||||
#include "DevicePath.h"
|
#include "DevicePath.h"
|
||||||
|
|
||||||
EFI_HANDLE mDevicePathHandle = NULL;
|
EFI_HANDLE mDevicePathHandle = NULL;
|
||||||
|
@ -21,10 +21,21 @@ Abstract:
|
|||||||
#ifndef _DEVICE_PATH_DRIVER_H
|
#ifndef _DEVICE_PATH_DRIVER_H
|
||||||
#define _DEVICE_PATH_DRIVER_H
|
#define _DEVICE_PATH_DRIVER_H
|
||||||
|
|
||||||
//
|
#include <PiDxe.h>
|
||||||
// Include common header file for this module.
|
#include <Protocol/DevicePathUtilities.h>
|
||||||
//
|
#include <Protocol/DebugPort.h>
|
||||||
#include "CommonHeader.h"
|
#include <Protocol/DevicePathToText.h>
|
||||||
|
#include <Protocol/DevicePathFromText.h>
|
||||||
|
#include <Guid/PcAnsi.h>
|
||||||
|
#include <Library/DebugLib.h>
|
||||||
|
#include <Library/PrintLib.h>
|
||||||
|
#include <Library/UefiDriverEntryPoint.h>
|
||||||
|
#include <Library/BaseLib.h>
|
||||||
|
#include <Library/BaseMemoryLib.h>
|
||||||
|
#include <Library/MemoryAllocationLib.h>
|
||||||
|
#include <Library/UefiBootServicesTableLib.h>
|
||||||
|
#include <Library/DevicePathLib.h>
|
||||||
|
#include <Library/PcdLib.h>
|
||||||
|
|
||||||
extern const EFI_GUID mEfiDevicePathMessagingUartFlowControlGuid;
|
extern const EFI_GUID mEfiDevicePathMessagingUartFlowControlGuid;
|
||||||
extern const EFI_GUID mEfiDevicePathMessagingSASGuid;
|
extern const EFI_GUID mEfiDevicePathMessagingSASGuid;
|
||||||
|
@ -15,11 +15,6 @@
|
|||||||
#
|
#
|
||||||
#**/
|
#**/
|
||||||
|
|
||||||
################################################################################
|
|
||||||
#
|
|
||||||
# Defines Section - statements that will be processed to create a Makefile.
|
|
||||||
#
|
|
||||||
################################################################################
|
|
||||||
[Defines]
|
[Defines]
|
||||||
INF_VERSION = 0x00010005
|
INF_VERSION = 0x00010005
|
||||||
BASE_NAME = DevicePath
|
BASE_NAME = DevicePath
|
||||||
@ -37,40 +32,17 @@
|
|||||||
# VALID_ARCHITECTURES = IA32 X64 IPF EBC
|
# VALID_ARCHITECTURES = IA32 X64 IPF EBC
|
||||||
#
|
#
|
||||||
|
|
||||||
################################################################################
|
|
||||||
#
|
|
||||||
# Sources Section - list of files that are required for the build to succeed.
|
|
||||||
#
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
[Sources.common]
|
[Sources.common]
|
||||||
DevicePathUtilities.c
|
DevicePathUtilities.c
|
||||||
DevicePathToText.c
|
DevicePathToText.c
|
||||||
DevicePathFromText.c
|
DevicePathFromText.c
|
||||||
DevicePath.h
|
DevicePath.h
|
||||||
DevicePath.c
|
DevicePath.c
|
||||||
CommonHeader.h
|
|
||||||
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
#
|
|
||||||
# Package Dependency Section - list of Package files that are required for
|
|
||||||
# this module.
|
|
||||||
#
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
[Packages]
|
[Packages]
|
||||||
MdeModulePkg/MdeModulePkg.dec
|
MdeModulePkg/MdeModulePkg.dec
|
||||||
MdePkg/MdePkg.dec
|
MdePkg/MdePkg.dec
|
||||||
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
#
|
|
||||||
# Library Class Section - list of Library Classes that are required for
|
|
||||||
# this module.
|
|
||||||
#
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
[LibraryClasses]
|
[LibraryClasses]
|
||||||
PcdLib
|
PcdLib
|
||||||
DevicePathLib
|
DevicePathLib
|
||||||
@ -82,40 +54,18 @@
|
|||||||
PrintLib
|
PrintLib
|
||||||
DebugLib
|
DebugLib
|
||||||
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
#
|
|
||||||
# Guid C Name Section - list of Guids that this module uses or produces.
|
|
||||||
#
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
[Guids]
|
[Guids]
|
||||||
gEfiVTUTF8Guid # ALWAYS_CONSUMED
|
gEfiVTUTF8Guid # ALWAYS_CONSUMED
|
||||||
gEfiVT100Guid # ALWAYS_CONSUMED
|
gEfiVT100Guid # ALWAYS_CONSUMED
|
||||||
gEfiVT100PlusGuid # ALWAYS_CONSUMED
|
gEfiVT100PlusGuid # ALWAYS_CONSUMED
|
||||||
gEfiPcAnsiGuid # ALWAYS_CONSUMED
|
gEfiPcAnsiGuid # ALWAYS_CONSUMED
|
||||||
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
#
|
|
||||||
# Protocol C Name Section - list of Protocol and Protocol Notify C Names
|
|
||||||
# that this module uses or produces.
|
|
||||||
#
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
[Protocols]
|
[Protocols]
|
||||||
gEfiDevicePathToTextProtocolGuid # PROTOCOL ALWAYS_PRODUCED
|
gEfiDevicePathToTextProtocolGuid # PROTOCOL ALWAYS_PRODUCED
|
||||||
gEfiDevicePathFromTextProtocolGuid # PROTOCOL ALWAYS_PRODUCED
|
gEfiDevicePathFromTextProtocolGuid # PROTOCOL ALWAYS_PRODUCED
|
||||||
gEfiDevicePathUtilitiesProtocolGuid # PROTOCOL ALWAYS_PRODUCED
|
gEfiDevicePathUtilitiesProtocolGuid # PROTOCOL ALWAYS_PRODUCED
|
||||||
gEfiDebugPortProtocolGuid # PROTOCOL ALWAYS_CONSUMED
|
gEfiDebugPortProtocolGuid # PROTOCOL ALWAYS_CONSUMED
|
||||||
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
#
|
|
||||||
# Pcd FEATURE_FLAG - list of PCDs that this module is coded for.
|
|
||||||
#
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
[PcdsFeatureFlag.common]
|
[PcdsFeatureFlag.common]
|
||||||
PcdDevicePathSupportDevicePathFromText|gEfiMdeModulePkgTokenSpaceGuid
|
PcdDevicePathSupportDevicePathFromText|gEfiMdeModulePkgTokenSpaceGuid
|
||||||
PcdDevicePathSupportDevicePathToText|gEfiMdeModulePkgTokenSpaceGuid
|
PcdDevicePathSupportDevicePathToText|gEfiMdeModulePkgTokenSpaceGuid
|
||||||
|
@ -19,11 +19,6 @@ Abstract:
|
|||||||
|
|
||||||
--*/
|
--*/
|
||||||
|
|
||||||
//
|
|
||||||
// Include common header file for this module.
|
|
||||||
//
|
|
||||||
#include "CommonHeader.h"
|
|
||||||
|
|
||||||
#include "DevicePath.h"
|
#include "DevicePath.h"
|
||||||
|
|
||||||
STATIC
|
STATIC
|
||||||
|
@ -19,11 +19,6 @@ Abstract:
|
|||||||
|
|
||||||
--*/
|
--*/
|
||||||
|
|
||||||
//
|
|
||||||
// Include common header file for this module.
|
|
||||||
//
|
|
||||||
#include "CommonHeader.h"
|
|
||||||
|
|
||||||
#include "DevicePath.h"
|
#include "DevicePath.h"
|
||||||
|
|
||||||
STATIC
|
STATIC
|
||||||
|
@ -19,11 +19,6 @@ Abstract:
|
|||||||
|
|
||||||
--*/
|
--*/
|
||||||
|
|
||||||
//
|
|
||||||
// Include common header file for this module.
|
|
||||||
//
|
|
||||||
#include "CommonHeader.h"
|
|
||||||
|
|
||||||
#include "DevicePath.h"
|
#include "DevicePath.h"
|
||||||
|
|
||||||
UINTN
|
UINTN
|
||||||
|
@ -1,41 +0,0 @@
|
|||||||
/**@file
|
|
||||||
Common header file shared by all source files.
|
|
||||||
|
|
||||||
This file includes package header files, library classes and protocol, PPI & GUID definitions.
|
|
||||||
|
|
||||||
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.
|
|
||||||
**/
|
|
||||||
|
|
||||||
#ifndef __COMMON_HEADER_H_
|
|
||||||
#define __COMMON_HEADER_H_
|
|
||||||
|
|
||||||
|
|
||||||
//
|
|
||||||
// The package level header files this module uses
|
|
||||||
//
|
|
||||||
#include <PiDxe.h>
|
|
||||||
//
|
|
||||||
// The protocols, PPI and GUID defintions for this module
|
|
||||||
//
|
|
||||||
#include <Protocol/Pcd.h>
|
|
||||||
//
|
|
||||||
// The Library classes this module consumes
|
|
||||||
//
|
|
||||||
#include <Library/BaseLib.h>
|
|
||||||
#include <Library/DebugLib.h>
|
|
||||||
#include <Library/UefiLib.h>
|
|
||||||
#include <Library/UefiDriverEntryPoint.h>
|
|
||||||
#include <Library/PcdLib.h>
|
|
||||||
#include <Library/HobLib.h>
|
|
||||||
#include <Library/MemoryAllocationLib.h>
|
|
||||||
#include <Library/UefiBootServicesTableLib.h>
|
|
||||||
#include <Library/BaseMemoryLib.h>
|
|
||||||
#include <Library/UefiRuntimeServicesTableLib.h>
|
|
||||||
|
|
||||||
#endif
|
|
@ -15,11 +15,6 @@ Module Name: Pcd.c
|
|||||||
|
|
||||||
**/
|
**/
|
||||||
|
|
||||||
//
|
|
||||||
// Include common header file for this module.
|
|
||||||
//
|
|
||||||
#include "CommonHeader.h"
|
|
||||||
|
|
||||||
#include "Service.h"
|
#include "Service.h"
|
||||||
|
|
||||||
EFI_LOCK mPcdDatabaseLock = EFI_INITIALIZE_LOCK_VARIABLE(TPL_CALLBACK);
|
EFI_LOCK mPcdDatabaseLock = EFI_INITIALIZE_LOCK_VARIABLE(TPL_CALLBACK);
|
||||||
|
@ -14,11 +14,6 @@
|
|||||||
#
|
#
|
||||||
#**/
|
#**/
|
||||||
|
|
||||||
################################################################################
|
|
||||||
#
|
|
||||||
# Defines Section - statements that will be processed to create a Makefile.
|
|
||||||
#
|
|
||||||
################################################################################
|
|
||||||
[Defines]
|
[Defines]
|
||||||
INF_VERSION = 0x00010005
|
INF_VERSION = 0x00010005
|
||||||
BASE_NAME = PcdDxe
|
BASE_NAME = PcdDxe
|
||||||
@ -47,27 +42,9 @@
|
|||||||
Pcd.c
|
Pcd.c
|
||||||
Service.c
|
Service.c
|
||||||
Service.h
|
Service.h
|
||||||
CommonHeader.h
|
|
||||||
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
#
|
|
||||||
# Package Dependency Section - list of Package files that are required for
|
|
||||||
# this module.
|
|
||||||
#
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
[Packages]
|
[Packages]
|
||||||
MdePkg/MdePkg.dec
|
MdePkg/MdePkg.dec
|
||||||
MdeModulePkg/MdeModulePkg.dec
|
|
||||||
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
#
|
|
||||||
# Library Class Section - list of Library Classes that are required for
|
|
||||||
# this module.
|
|
||||||
#
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
[LibraryClasses]
|
[LibraryClasses]
|
||||||
UefiRuntimeServicesTableLib
|
UefiRuntimeServicesTableLib
|
||||||
@ -81,54 +58,18 @@
|
|||||||
BaseLib
|
BaseLib
|
||||||
PcdLib
|
PcdLib
|
||||||
|
|
||||||
################################################################################
|
|
||||||
#
|
|
||||||
# Guid C Name Section - list of Guids that this module uses or produces.
|
|
||||||
#
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
[Guids]
|
[Guids]
|
||||||
gPcdDataBaseHobGuid # ALWAYS_CONSUMED Hob: GUID_EXTENSION
|
gPcdDataBaseHobGuid # ALWAYS_CONSUMED Hob: GUID_EXTENSION
|
||||||
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
#
|
|
||||||
# Protocol C Name Section - list of Protocol and Protocol Notify C Names
|
|
||||||
# that this module uses or produces.
|
|
||||||
#
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
[Protocols]
|
[Protocols]
|
||||||
gPcdProtocolGuid # PROTOCOL ALWAYS_PRODUCED
|
gPcdProtocolGuid # PROTOCOL ALWAYS_PRODUCED
|
||||||
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
#
|
|
||||||
# Pcd FEATURE_FLAG - list of PCDs that this module is coded for.
|
|
||||||
#
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
[PcdsFeatureFlag.common]
|
[PcdsFeatureFlag.common]
|
||||||
PcdDxePcdDatabaseTraverseEnabled|gEfiMdeModulePkgTokenSpaceGuid
|
PcdDxePcdDatabaseTraverseEnabled|gEfiMdeModulePkgTokenSpaceGuid
|
||||||
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
#
|
|
||||||
# Pcd FIXED_AT_BUILD - list of PCDs that this module is coded for.
|
|
||||||
#
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
[PcdsFixedAtBuild.common]
|
[PcdsFixedAtBuild.common]
|
||||||
PcdVpdBaseAddress|gEfiMdeModulePkgTokenSpaceGuid
|
PcdVpdBaseAddress|gEfiMdeModulePkgTokenSpaceGuid
|
||||||
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
#
|
|
||||||
# Dependency Expression Section - list of Dependency expressions that are required for
|
|
||||||
# this module.
|
|
||||||
#
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
[Depex]
|
[Depex]
|
||||||
TRUE
|
TRUE
|
||||||
|
|
||||||
|
@ -14,10 +14,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|||||||
Module Name: Service.c
|
Module Name: Service.c
|
||||||
|
|
||||||
**/
|
**/
|
||||||
//
|
|
||||||
// Include common header file for this module.
|
|
||||||
//
|
|
||||||
#include "CommonHeader.h"
|
|
||||||
|
|
||||||
#include "Service.h"
|
#include "Service.h"
|
||||||
|
|
||||||
|
@ -18,10 +18,18 @@ Module Name: Service.h
|
|||||||
#ifndef _SERVICE_H
|
#ifndef _SERVICE_H
|
||||||
#define _SERVICE_H
|
#define _SERVICE_H
|
||||||
|
|
||||||
//
|
#include <PiDxe.h>
|
||||||
// Include common header file for this module.
|
#include <Protocol/Pcd.h>
|
||||||
//
|
#include <Library/BaseLib.h>
|
||||||
#include "CommonHeader.h"
|
#include <Library/DebugLib.h>
|
||||||
|
#include <Library/UefiLib.h>
|
||||||
|
#include <Library/UefiDriverEntryPoint.h>
|
||||||
|
#include <Library/PcdLib.h>
|
||||||
|
#include <Library/HobLib.h>
|
||||||
|
#include <Library/MemoryAllocationLib.h>
|
||||||
|
#include <Library/UefiBootServicesTableLib.h>
|
||||||
|
#include <Library/BaseMemoryLib.h>
|
||||||
|
#include <Library/UefiRuntimeServicesTableLib.h>
|
||||||
|
|
||||||
//
|
//
|
||||||
// Please make sure the PCD Serivce PEIM Version is consistent with
|
// Please make sure the PCD Serivce PEIM Version is consistent with
|
||||||
|
@ -1,20 +0,0 @@
|
|||||||
/**@file
|
|
||||||
Common header file shared by all source files.
|
|
||||||
|
|
||||||
This file includes package header files, library classes and protocol, PPI & GUID definitions.
|
|
||||||
|
|
||||||
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.
|
|
||||||
**/
|
|
||||||
|
|
||||||
#ifndef __COMMON_HEADER_H_
|
|
||||||
#define __COMMON_HEADER_H_
|
|
||||||
|
|
||||||
#error
|
|
||||||
|
|
||||||
#endif
|
|
@ -36,7 +36,6 @@
|
|||||||
Service.c
|
Service.c
|
||||||
Service.h
|
Service.h
|
||||||
Pcd.c
|
Pcd.c
|
||||||
CommonHeader.h
|
|
||||||
|
|
||||||
[Packages]
|
[Packages]
|
||||||
MdePkg/MdePkg.dec
|
MdePkg/MdePkg.dec
|
||||||
|
@ -1,48 +0,0 @@
|
|||||||
/**@file
|
|
||||||
Common header file shared by all source files.
|
|
||||||
|
|
||||||
This file includes package header files, library classes and protocol, PPI & GUID definitions.
|
|
||||||
|
|
||||||
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.
|
|
||||||
**/
|
|
||||||
|
|
||||||
#ifndef __COMMON_HEADER_H_
|
|
||||||
#define __COMMON_HEADER_H_
|
|
||||||
|
|
||||||
|
|
||||||
//
|
|
||||||
// The package level header files this module uses
|
|
||||||
//
|
|
||||||
#include <PiDxe.h>
|
|
||||||
|
|
||||||
|
|
||||||
//
|
|
||||||
// The protocols, PPI and GUID defintions for this module
|
|
||||||
//
|
|
||||||
#include <Protocol/VariableWrite.h>
|
|
||||||
#include <Protocol/FaultTolerantWriteLite.h>
|
|
||||||
#include <Protocol/FirmwareVolumeBlock.h>
|
|
||||||
#include <Protocol/Variable.h>
|
|
||||||
//
|
|
||||||
// The Library classes this module consumes
|
|
||||||
//
|
|
||||||
#include <Library/PcdLib.h>
|
|
||||||
#include <Library/UefiDriverEntryPoint.h>
|
|
||||||
#include <Library/DxeServicesTableLib.h>
|
|
||||||
#include <Library/UefiRuntimeLib.h>
|
|
||||||
#include <Library/DebugLib.h>
|
|
||||||
#include <Library/BaseMemoryLib.h>
|
|
||||||
#include <Library/FvbServiceLib.h>
|
|
||||||
#include <Library/UefiBootServicesTableLib.h>
|
|
||||||
#include <Library/UefiLib.h>
|
|
||||||
#include <Library/BaseLib.h>
|
|
||||||
#include <Library/MemoryAllocationLib.h>
|
|
||||||
|
|
||||||
|
|
||||||
#endif
|
|
@ -19,11 +19,6 @@ Revision History
|
|||||||
|
|
||||||
--*/
|
--*/
|
||||||
|
|
||||||
//
|
|
||||||
// Include common header file for this module.
|
|
||||||
//
|
|
||||||
#include "CommonHeader.h"
|
|
||||||
|
|
||||||
#include "Variable.h"
|
#include "Variable.h"
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -21,8 +21,6 @@ Revision History
|
|||||||
|
|
||||||
|
|
||||||
#include "Variable.h"
|
#include "Variable.h"
|
||||||
#include "reclaim.h"
|
|
||||||
|
|
||||||
#include <Common/FlashMap.h>
|
#include <Common/FlashMap.h>
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -20,14 +20,25 @@ Abstract:
|
|||||||
#ifndef _VARIABLE_H
|
#ifndef _VARIABLE_H
|
||||||
#define _VARIABLE_H
|
#define _VARIABLE_H
|
||||||
|
|
||||||
//
|
#include <PiDxe.h>
|
||||||
// Include common header file for this module.
|
#include <Protocol/VariableWrite.h>
|
||||||
//
|
#include <Protocol/FaultTolerantWriteLite.h>
|
||||||
#include "CommonHeader.h"
|
#include <Protocol/FirmwareVolumeBlock.h>
|
||||||
|
#include <Protocol/Variable.h>
|
||||||
//
|
#include <Library/PcdLib.h>
|
||||||
// Statements that include other header files
|
#include <Library/UefiDriverEntryPoint.h>
|
||||||
//
|
#include <Library/DxeServicesTableLib.h>
|
||||||
|
#include <Library/UefiRuntimeLib.h>
|
||||||
|
#include <Library/DebugLib.h>
|
||||||
|
#include <Library/BaseMemoryLib.h>
|
||||||
|
#include <Library/FvbServiceLib.h>
|
||||||
|
#include <Library/UefiBootServicesTableLib.h>
|
||||||
|
#include <Library/UefiLib.h>
|
||||||
|
#include <Library/BaseLib.h>
|
||||||
|
#include <Library/MemoryAllocationLib.h>
|
||||||
|
#include <Library/HobLib.h>
|
||||||
|
#include <Common/FlashMap.h>
|
||||||
|
#include <Guid/FlashMapHob.h>
|
||||||
|
|
||||||
//
|
//
|
||||||
// BugBug: We need relcate the head file.
|
// BugBug: We need relcate the head file.
|
||||||
@ -85,24 +96,21 @@ EFIAPI
|
|||||||
VariableCommonInitialize (
|
VariableCommonInitialize (
|
||||||
IN EFI_HANDLE ImageHandle,
|
IN EFI_HANDLE ImageHandle,
|
||||||
IN EFI_SYSTEM_TABLE *SystemTable
|
IN EFI_SYSTEM_TABLE *SystemTable
|
||||||
)
|
);
|
||||||
;
|
|
||||||
|
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
EFIAPI
|
EFIAPI
|
||||||
VariableServiceInitialize (
|
VariableServiceInitialize (
|
||||||
IN EFI_HANDLE ImageHandle,
|
IN EFI_HANDLE ImageHandle,
|
||||||
IN EFI_SYSTEM_TABLE *SystemTable
|
IN EFI_SYSTEM_TABLE *SystemTable
|
||||||
)
|
);
|
||||||
;
|
|
||||||
|
|
||||||
VOID
|
VOID
|
||||||
EFIAPI
|
EFIAPI
|
||||||
VariableClassAddressChangeEvent (
|
VariableClassAddressChangeEvent (
|
||||||
IN EFI_EVENT Event,
|
IN EFI_EVENT Event,
|
||||||
IN VOID *Context
|
IN VOID *Context
|
||||||
)
|
);
|
||||||
;
|
|
||||||
|
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
EFIAPI
|
EFIAPI
|
||||||
@ -114,8 +122,7 @@ GetVariable (
|
|||||||
OUT VOID *Data,
|
OUT VOID *Data,
|
||||||
IN VARIABLE_GLOBAL * Global,
|
IN VARIABLE_GLOBAL * Global,
|
||||||
IN UINT32 Instance
|
IN UINT32 Instance
|
||||||
)
|
);
|
||||||
;
|
|
||||||
|
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
EFIAPI
|
EFIAPI
|
||||||
@ -125,8 +132,7 @@ GetNextVariableName (
|
|||||||
IN OUT EFI_GUID *VendorGuid,
|
IN OUT EFI_GUID *VendorGuid,
|
||||||
IN VARIABLE_GLOBAL *Global,
|
IN VARIABLE_GLOBAL *Global,
|
||||||
IN UINT32 Instance
|
IN UINT32 Instance
|
||||||
)
|
);
|
||||||
;
|
|
||||||
|
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
EFIAPI
|
EFIAPI
|
||||||
@ -140,8 +146,7 @@ SetVariable (
|
|||||||
IN UINTN *VolatileOffset,
|
IN UINTN *VolatileOffset,
|
||||||
IN UINTN *NonVolatileOffset,
|
IN UINTN *NonVolatileOffset,
|
||||||
IN UINT32 Instance
|
IN UINT32 Instance
|
||||||
)
|
);
|
||||||
;
|
|
||||||
|
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
EFIAPI
|
EFIAPI
|
||||||
@ -152,7 +157,19 @@ QueryVariableInfo (
|
|||||||
OUT UINT64 *MaximumVariableSize,
|
OUT UINT64 *MaximumVariableSize,
|
||||||
IN VARIABLE_GLOBAL *Global,
|
IN VARIABLE_GLOBAL *Global,
|
||||||
IN UINT32 Instance
|
IN UINT32 Instance
|
||||||
)
|
);
|
||||||
;
|
|
||||||
|
EFI_STATUS
|
||||||
|
GetFvbHandleByAddress (
|
||||||
|
IN EFI_PHYSICAL_ADDRESS VariableStoreBase,
|
||||||
|
OUT EFI_HANDLE *FvbHandle
|
||||||
|
);
|
||||||
|
|
||||||
|
EFI_STATUS
|
||||||
|
FtwVariableSpace (
|
||||||
|
IN EFI_PHYSICAL_ADDRESS VariableBaseAddress,
|
||||||
|
IN UINT8 *Buffer,
|
||||||
|
IN UINTN BufferSize
|
||||||
|
);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -14,11 +14,6 @@
|
|||||||
#
|
#
|
||||||
#**/
|
#**/
|
||||||
|
|
||||||
################################################################################
|
|
||||||
#
|
|
||||||
# Defines Section - statements that will be processed to create a Makefile.
|
|
||||||
#
|
|
||||||
################################################################################
|
|
||||||
[Defines]
|
[Defines]
|
||||||
INF_VERSION = 0x00010005
|
INF_VERSION = 0x00010005
|
||||||
BASE_NAME = Variable
|
BASE_NAME = Variable
|
||||||
@ -38,38 +33,15 @@
|
|||||||
# VIRTUAL_ADDRESS_MAP_CALLBACK = VariableClassAddressChangeEvent
|
# VIRTUAL_ADDRESS_MAP_CALLBACK = VariableClassAddressChangeEvent
|
||||||
#
|
#
|
||||||
|
|
||||||
################################################################################
|
|
||||||
#
|
|
||||||
# Sources Section - list of files that are required for the build to succeed.
|
|
||||||
#
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
[Sources.common]
|
[Sources.common]
|
||||||
InitVariable.c
|
InitVariable.c
|
||||||
reclaim.c
|
reclaim.c
|
||||||
reclaim.h
|
|
||||||
Variable.c
|
Variable.c
|
||||||
Variable.h
|
Variable.h
|
||||||
CommonHeader.h
|
|
||||||
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
#
|
|
||||||
# Package Dependency Section - list of Package files that are required for
|
|
||||||
# this module.
|
|
||||||
#
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
[Packages]
|
[Packages]
|
||||||
MdePkg/MdePkg.dec
|
MdePkg/MdePkg.dec
|
||||||
|
|
||||||
################################################################################
|
|
||||||
#
|
|
||||||
# Library Class Section - list of Library Classes that are required for
|
|
||||||
# this module.
|
|
||||||
#
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
[LibraryClasses]
|
[LibraryClasses]
|
||||||
MemoryAllocationLib
|
MemoryAllocationLib
|
||||||
BaseLib
|
BaseLib
|
||||||
@ -87,39 +59,16 @@
|
|||||||
[Guids]
|
[Guids]
|
||||||
gEfiFlashMapHobGuid
|
gEfiFlashMapHobGuid
|
||||||
|
|
||||||
################################################################################
|
|
||||||
#
|
|
||||||
# Protocol C Name Section - list of Protocol and Protocol Notify C Names
|
|
||||||
# that this module uses or produces.
|
|
||||||
#
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
[Protocols]
|
[Protocols]
|
||||||
gEfiFirmwareVolumeBlockProtocolGuid # PROTOCOL SOMETIMES_CONSUMED
|
gEfiFirmwareVolumeBlockProtocolGuid # PROTOCOL SOMETIMES_CONSUMED
|
||||||
gEfiFaultTolerantWriteLiteProtocolGuid # PROTOCOL SOMETIMES_CONSUMED
|
gEfiFaultTolerantWriteLiteProtocolGuid # PROTOCOL SOMETIMES_CONSUMED
|
||||||
gEfiVariableWriteArchProtocolGuid # PROTOCOL ALWAYS_PRODUCED
|
gEfiVariableWriteArchProtocolGuid # PROTOCOL ALWAYS_PRODUCED
|
||||||
gEfiVariableArchProtocolGuid # PROTOCOL ALWAYS_PRODUCED
|
gEfiVariableArchProtocolGuid # PROTOCOL ALWAYS_PRODUCED
|
||||||
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
#
|
|
||||||
# Pcd DYNAMIC - list of PCDs that this module is coded for.
|
|
||||||
#
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
[PcdsDynamic.common]
|
[PcdsDynamic.common]
|
||||||
PcdFlashNvStorageVariableSize|gEfiMdeModulePkgTokenSpaceGuid
|
PcdFlashNvStorageVariableSize|gEfiMdeModulePkgTokenSpaceGuid
|
||||||
PcdFlashNvStorageVariableBase|gEfiMdeModulePkgTokenSpaceGuid
|
PcdFlashNvStorageVariableBase|gEfiMdeModulePkgTokenSpaceGuid
|
||||||
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
#
|
|
||||||
# Dependency Expression Section - list of Dependency expressions that are required for
|
|
||||||
# this module.
|
|
||||||
#
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
[Depex]
|
[Depex]
|
||||||
gEfiFirmwareVolumeBlockProtocolGuid AND gEfiAlternateFvBlockGuid AND gEfiFaultTolerantWriteLiteProtocolGuid
|
gEfiFirmwareVolumeBlockProtocolGuid AND gEfiAlternateFvBlockGuid AND gEfiFaultTolerantWriteLiteProtocolGuid
|
||||||
|
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@ Revision History
|
|||||||
--*/
|
--*/
|
||||||
|
|
||||||
|
|
||||||
#include "reclaim.h"
|
#include <Variable.h>
|
||||||
#include "Common/Variable.h"
|
#include "Common/Variable.h"
|
||||||
|
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
|
@ -1,50 +0,0 @@
|
|||||||
/*++
|
|
||||||
|
|
||||||
Copyright (c) 2006, 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.
|
|
||||||
|
|
||||||
Module Name:
|
|
||||||
|
|
||||||
reclaim.h
|
|
||||||
|
|
||||||
Abstract:
|
|
||||||
|
|
||||||
Definitions for non-volatile variable store garbage collection
|
|
||||||
|
|
||||||
Revision History
|
|
||||||
|
|
||||||
--*/
|
|
||||||
|
|
||||||
#ifndef _VAR_RECLAIM_H
|
|
||||||
#define _VAR_RECLAIM_H
|
|
||||||
|
|
||||||
//
|
|
||||||
// Include common header file for this module.
|
|
||||||
//
|
|
||||||
#include "CommonHeader.h"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Functions
|
|
||||||
//
|
|
||||||
EFI_STATUS
|
|
||||||
GetFvbHandleByAddress (
|
|
||||||
IN EFI_PHYSICAL_ADDRESS VariableStoreBase,
|
|
||||||
OUT EFI_HANDLE *FvbHandle
|
|
||||||
)
|
|
||||||
;
|
|
||||||
|
|
||||||
EFI_STATUS
|
|
||||||
FtwVariableSpace (
|
|
||||||
IN EFI_PHYSICAL_ADDRESS VariableBaseAddress,
|
|
||||||
IN UINT8 *Buffer,
|
|
||||||
IN UINTN BufferSize
|
|
||||||
)
|
|
||||||
;
|
|
||||||
|
|
||||||
#endif
|
|
@ -19,10 +19,9 @@ Abstract:
|
|||||||
|
|
||||||
--*/
|
--*/
|
||||||
|
|
||||||
//
|
#include <Base.h>
|
||||||
// Include common header file for this module.
|
#include <Library/CustomDecompressLib.h>
|
||||||
//
|
|
||||||
#include "CommonHeader.h"
|
|
||||||
|
|
||||||
RETURN_STATUS
|
RETURN_STATUS
|
||||||
EFIAPI
|
EFIAPI
|
||||||
|
@ -14,11 +14,6 @@
|
|||||||
#
|
#
|
||||||
#**/
|
#**/
|
||||||
|
|
||||||
################################################################################
|
|
||||||
#
|
|
||||||
# Defines Section - statements that will be processed to create a Makefile.
|
|
||||||
#
|
|
||||||
################################################################################
|
|
||||||
[Defines]
|
[Defines]
|
||||||
INF_VERSION = 0x00010005
|
INF_VERSION = 0x00010005
|
||||||
BASE_NAME = BaseCustomDecompressLibNull
|
BASE_NAME = BaseCustomDecompressLibNull
|
||||||
@ -36,23 +31,8 @@
|
|||||||
# VALID_ARCHITECTURES = IA32 X64 IPF EBC
|
# VALID_ARCHITECTURES = IA32 X64 IPF EBC
|
||||||
#
|
#
|
||||||
|
|
||||||
################################################################################
|
|
||||||
#
|
|
||||||
# Sources Section - list of files that are required for the build to succeed.
|
|
||||||
#
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
[Sources.common]
|
[Sources.common]
|
||||||
BaseCustomDecompressLibNull.c
|
BaseCustomDecompressLibNull.c
|
||||||
CommonHeader.h
|
|
||||||
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
#
|
|
||||||
# Package Dependency Section - list of Package files that are required for
|
|
||||||
# this module.
|
|
||||||
#
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
[Packages]
|
[Packages]
|
||||||
MdePkg/MdePkg.dec
|
MdePkg/MdePkg.dec
|
||||||
|
@ -1,28 +0,0 @@
|
|||||||
/**@file
|
|
||||||
Common header file shared by all source files.
|
|
||||||
|
|
||||||
This file includes package header files, library classes and protocol, PPI & GUID definitions.
|
|
||||||
|
|
||||||
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.
|
|
||||||
**/
|
|
||||||
|
|
||||||
#ifndef __COMMON_HEADER_H_
|
|
||||||
#define __COMMON_HEADER_H_
|
|
||||||
|
|
||||||
|
|
||||||
//
|
|
||||||
// The package level header files this module uses
|
|
||||||
//
|
|
||||||
#include <Base.h>
|
|
||||||
//
|
|
||||||
// The Library classes this module consumes
|
|
||||||
//
|
|
||||||
#include <Library/CustomDecompressLib.h>
|
|
||||||
|
|
||||||
#endif
|
|
@ -1,33 +0,0 @@
|
|||||||
/**@file
|
|
||||||
Common header file shared by all source files.
|
|
||||||
|
|
||||||
This file includes package header files, library classes and protocol, PPI & GUID definitions.
|
|
||||||
|
|
||||||
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.
|
|
||||||
**/
|
|
||||||
|
|
||||||
#ifndef __COMMON_HEADER_H_
|
|
||||||
#define __COMMON_HEADER_H_
|
|
||||||
|
|
||||||
|
|
||||||
//
|
|
||||||
// The package level header files this module uses
|
|
||||||
//
|
|
||||||
#include <PiDxe.h>
|
|
||||||
//
|
|
||||||
// The Library classes this module consumes
|
|
||||||
//
|
|
||||||
#include <Library/DebugLib.h>
|
|
||||||
#include <Library/BaseLib.h>
|
|
||||||
#include <Library/PrintLib.h>
|
|
||||||
#include <Library/PcdLib.h>
|
|
||||||
#include <Library/BaseMemoryLib.h>
|
|
||||||
#include <Library/SerialPortLib.h>
|
|
||||||
|
|
||||||
#endif
|
|
@ -12,10 +12,14 @@
|
|||||||
|
|
||||||
**/
|
**/
|
||||||
|
|
||||||
//
|
#include <PiDxe.h>
|
||||||
// Include common header file for this module.
|
#include <Library/DebugLib.h>
|
||||||
//
|
#include <Library/BaseLib.h>
|
||||||
#include "CommonHeader.h"
|
#include <Library/PrintLib.h>
|
||||||
|
#include <Library/PcdLib.h>
|
||||||
|
#include <Library/BaseMemoryLib.h>
|
||||||
|
#include <Library/SerialPortLib.h>
|
||||||
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Define the maximum debug and assert message length that this library supports
|
// Define the maximum debug and assert message length that this library supports
|
||||||
|
@ -14,11 +14,6 @@
|
|||||||
#
|
#
|
||||||
#**/
|
#**/
|
||||||
|
|
||||||
################################################################################
|
|
||||||
#
|
|
||||||
# Defines Section - statements that will be processed to create a Makefile.
|
|
||||||
#
|
|
||||||
################################################################################
|
|
||||||
[Defines]
|
[Defines]
|
||||||
INF_VERSION = 0x00010005
|
INF_VERSION = 0x00010005
|
||||||
BASE_NAME = DxeDebugLibSerialPort
|
BASE_NAME = DxeDebugLibSerialPort
|
||||||
@ -29,42 +24,18 @@
|
|||||||
EDK_RELEASE_VERSION = 0x00020000
|
EDK_RELEASE_VERSION = 0x00020000
|
||||||
EFI_SPECIFICATION_VERSION = 0x00020000
|
EFI_SPECIFICATION_VERSION = 0x00020000
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# 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
|
||||||
#
|
#
|
||||||
|
|
||||||
################################################################################
|
|
||||||
#
|
|
||||||
# Sources Section - list of files that are required for the build to succeed.
|
|
||||||
#
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
[Sources.common]
|
[Sources.common]
|
||||||
DebugLib.c
|
DebugLib.c
|
||||||
CommonHeader.h
|
|
||||||
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
#
|
|
||||||
# Package Dependency Section - list of Package files that are required for
|
|
||||||
# this module.
|
|
||||||
#
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
[Packages]
|
[Packages]
|
||||||
MdePkg/MdePkg.dec
|
MdePkg/MdePkg.dec
|
||||||
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
#
|
|
||||||
# Library Class Section - list of Library Classes that are required for
|
|
||||||
# this module.
|
|
||||||
#
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
[LibraryClasses]
|
[LibraryClasses]
|
||||||
SerialPortLib
|
SerialPortLib
|
||||||
BaseMemoryLib
|
BaseMemoryLib
|
||||||
@ -72,24 +43,10 @@
|
|||||||
PrintLib
|
PrintLib
|
||||||
BaseLib
|
BaseLib
|
||||||
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
#
|
|
||||||
# Pcd FIXED_AT_BUILD - list of PCDs that this module is coded for.
|
|
||||||
#
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
[PcdsFixedAtBuild.common]
|
[PcdsFixedAtBuild.common]
|
||||||
PcdDebugClearMemoryValue|gEfiMdePkgTokenSpaceGuid
|
PcdDebugClearMemoryValue|gEfiMdePkgTokenSpaceGuid
|
||||||
PcdDebugPropertyMask|gEfiMdePkgTokenSpaceGuid
|
PcdDebugPropertyMask|gEfiMdePkgTokenSpaceGuid
|
||||||
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
#
|
|
||||||
# Pcd DYNAMIC - list of PCDs that this module is coded for.
|
|
||||||
#
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
[PcdsDynamic.common]
|
[PcdsDynamic.common]
|
||||||
PcdDebugPrintErrorLevel|gEfiMdePkgTokenSpaceGuid
|
PcdDebugPrintErrorLevel|gEfiMdePkgTokenSpaceGuid
|
||||||
|
|
||||||
|
@ -1,29 +0,0 @@
|
|||||||
/**@file
|
|
||||||
Common header file shared by all source files.
|
|
||||||
|
|
||||||
This file includes package header files, library classes and protocol, PPI & GUID definitions.
|
|
||||||
|
|
||||||
Copyright (c) 2006, 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.
|
|
||||||
**/
|
|
||||||
|
|
||||||
#ifndef __COMMON_HEADER_H_
|
|
||||||
#define __COMMON_HEADER_H_
|
|
||||||
|
|
||||||
|
|
||||||
//
|
|
||||||
// The package level header files this module uses
|
|
||||||
//
|
|
||||||
#include <PiDxe.h>
|
|
||||||
//
|
|
||||||
// The Library classes this module consumes
|
|
||||||
//
|
|
||||||
#include <Library/UsbLib.h>
|
|
||||||
#include <Library/BaseMemoryLib.h>
|
|
||||||
|
|
||||||
#endif
|
|
@ -21,10 +21,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|||||||
|
|
||||||
--*/
|
--*/
|
||||||
|
|
||||||
//
|
#include "UefiUsbLibInternal.h"
|
||||||
// Include common header file for this module.
|
|
||||||
//
|
|
||||||
#include "CommonHeader.h"
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Get Device Descriptor
|
// Get Device Descriptor
|
||||||
|
@ -21,10 +21,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|||||||
|
|
||||||
--*/
|
--*/
|
||||||
|
|
||||||
//
|
#include "UefiUsbLibInternal.h"
|
||||||
// Include common header file for this module.
|
|
||||||
//
|
|
||||||
#include "CommonHeader.h"
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Function to get HID descriptor
|
// Function to get HID descriptor
|
||||||
|
Reference in New Issue
Block a user