Modules clean up.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3242 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@ -186,7 +186,7 @@
|
|||||||
$(WORKSPACE)/IntelFrameworkModulePkg/Universal/StatusCode/Pei/PeiStatusCode.inf
|
$(WORKSPACE)/IntelFrameworkModulePkg/Universal/StatusCode/Pei/PeiStatusCode.inf
|
||||||
$(WORKSPACE)/IntelFrameworkModulePkg/Universal/HiiDataBaseDxe/HiiDatabase.inf
|
$(WORKSPACE)/IntelFrameworkModulePkg/Universal/HiiDataBaseDxe/HiiDatabase.inf
|
||||||
$(WORKSPACE)/IntelFrameworkModulePkg/Universal/SetupBrowserDxe/SetupBrowser.inf
|
$(WORKSPACE)/IntelFrameworkModulePkg/Universal/SetupBrowserDxe/SetupBrowser.inf
|
||||||
$(WORKSPACE)/IntelFrameworkModulePkg/Universal/DriverSampleDxe/DriverSample.inf
|
$(WORKSPACE)/IntelFrameworkModulePkg/Universal/DriverSampleDxe/DriverSampleDxe.inf
|
||||||
$(WORKSPACE)/IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClassDxe.inf
|
$(WORKSPACE)/IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClassDxe.inf
|
||||||
$(WORKSPACE)/IntelFrameworkModulePkg/Bus/Pci/VgaMiniPortDxe/VgaMiniPortDxe.inf
|
$(WORKSPACE)/IntelFrameworkModulePkg/Bus/Pci/VgaMiniPortDxe/VgaMiniPortDxe.inf
|
||||||
|
|
||||||
|
@ -1,42 +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/FormCallbackFramework.h>
|
|
||||||
#include <Protocol/HiiFramework.h>
|
|
||||||
//
|
|
||||||
// The Library classes this module consumes
|
|
||||||
//
|
|
||||||
#include <Library/UefiBootServicesTableLib.h>
|
|
||||||
#include <Library/UefiRuntimeServicesTableLib.h>
|
|
||||||
#include <Library/DebugLib.h>
|
|
||||||
#include <Library/UefiDriverEntryPoint.h>
|
|
||||||
#include <Library/BaseLib.h>
|
|
||||||
#include <Library/PrintLib.h>
|
|
||||||
#include <Library/IfrSupportLibFramework.h>
|
|
||||||
#include <Library/BaseMemoryLib.h>
|
|
||||||
#include <Library/MemoryAllocationLib.h>
|
|
||||||
#include <Library/HiiLibFramework.h>
|
|
||||||
|
|
||||||
#endif
|
|
@ -18,11 +18,6 @@ Abstract:
|
|||||||
|
|
||||||
--*/
|
--*/
|
||||||
|
|
||||||
//
|
|
||||||
// Include common header file for this module.
|
|
||||||
//
|
|
||||||
#include "CommonHeader.h"
|
|
||||||
|
|
||||||
#include "DriverSample.h"
|
#include "DriverSample.h"
|
||||||
|
|
||||||
#define DISPLAY_ONLY_MY_ITEM 0x0001
|
#define DISPLAY_ONLY_MY_ITEM 0x0001
|
||||||
@ -507,7 +502,7 @@ DriverSampleInit (
|
|||||||
|
|
||||||
CallbackInfo->CallbackHandle = Handle;
|
CallbackInfo->CallbackHandle = Handle;
|
||||||
|
|
||||||
PackageList = PreparePackages (1, &mStringPackGuid, DriverSampleStrings);
|
PackageList = PreparePackages (1, &mStringPackGuid, DriverSampleDxeStrings);
|
||||||
Status = Hii->NewPack (Hii, PackageList, &HiiHandle);
|
Status = Hii->NewPack (Hii, PackageList, &HiiHandle);
|
||||||
FreePool (PackageList);
|
FreePool (PackageList);
|
||||||
|
|
||||||
|
@ -1,31 +0,0 @@
|
|||||||
/*++
|
|
||||||
|
|
||||||
Copyright (c) 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.
|
|
||||||
|
|
||||||
Module Name:
|
|
||||||
|
|
||||||
DriverSample.dxs
|
|
||||||
|
|
||||||
Abstract:
|
|
||||||
|
|
||||||
Dependency expression source file.
|
|
||||||
|
|
||||||
--*/
|
|
||||||
|
|
||||||
//
|
|
||||||
// Include common header file for this module.
|
|
||||||
//
|
|
||||||
#include "CommonHeader.h"
|
|
||||||
|
|
||||||
#include <DxeDepex.h>
|
|
||||||
|
|
||||||
DEPENDENCY_START
|
|
||||||
EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL_GUID
|
|
||||||
DEPENDENCY_END
|
|
@ -25,9 +25,27 @@ Revision History
|
|||||||
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Include common header file for this module.
|
// The package level header files this module uses
|
||||||
//
|
//
|
||||||
#include "CommonHeader.h"
|
#include <PiDxe.h>
|
||||||
|
//
|
||||||
|
// The protocols, PPI and GUID defintions for this module
|
||||||
|
//
|
||||||
|
#include <Protocol/FormCallbackFramework.h>
|
||||||
|
#include <Protocol/HiiFramework.h>
|
||||||
|
//
|
||||||
|
// The Library classes this module consumes
|
||||||
|
//
|
||||||
|
#include <Library/UefiBootServicesTableLib.h>
|
||||||
|
#include <Library/UefiRuntimeServicesTableLib.h>
|
||||||
|
#include <Library/DebugLib.h>
|
||||||
|
#include <Library/UefiDriverEntryPoint.h>
|
||||||
|
#include <Library/BaseLib.h>
|
||||||
|
#include <Library/PrintLib.h>
|
||||||
|
#include <Library/IfrSupportLibFramework.h>
|
||||||
|
#include <Library/BaseMemoryLib.h>
|
||||||
|
#include <Library/MemoryAllocationLib.h>
|
||||||
|
#include <Library/HiiLibFramework.h>
|
||||||
|
|
||||||
#include "NVDataStruc.h"
|
#include "NVDataStruc.h"
|
||||||
|
|
||||||
@ -43,7 +61,7 @@ extern UINT8 InventoryBin[];
|
|||||||
//
|
//
|
||||||
// extern UINT8 InventoryStringsStr[];
|
// extern UINT8 InventoryStringsStr[];
|
||||||
//
|
//
|
||||||
extern UINT8 DriverSampleStrings[];
|
extern UINT8 DriverSampleDxeStrings[];
|
||||||
|
|
||||||
#define SAMPLE_STRING L"This is an error!"
|
#define SAMPLE_STRING L"This is an error!"
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
################################################################################
|
################################################################################
|
||||||
[Defines]
|
[Defines]
|
||||||
INF_VERSION = 0x00010005
|
INF_VERSION = 0x00010005
|
||||||
BASE_NAME = DriverSample
|
BASE_NAME = DriverSampleDxe
|
||||||
FILE_GUID = FE3542FE-C1D3-4EF8-657C-8048606FF670
|
FILE_GUID = FE3542FE-C1D3-4EF8-657C-8048606FF670
|
||||||
MODULE_TYPE = DXE_DRIVER
|
MODULE_TYPE = DXE_DRIVER
|
||||||
VERSION_STRING = 1.0
|
VERSION_STRING = 1.0
|
||||||
@ -50,8 +50,6 @@
|
|||||||
VfrStrings.uni
|
VfrStrings.uni
|
||||||
Inventory.vfr
|
Inventory.vfr
|
||||||
InventoryStrings.uni
|
InventoryStrings.uni
|
||||||
CommonHeader.h
|
|
||||||
|
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
#
|
#
|
@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<ModuleSurfaceArea xmlns="http://www.TianoCore.org/2006/Edk2.0">
|
<ModuleSurfaceArea xmlns="http://www.TianoCore.org/2006/Edk2.0">
|
||||||
<MsaHeader>
|
<MsaHeader>
|
||||||
<ModuleName>DriverSample</ModuleName>
|
<ModuleName>DriverSampleDxe</ModuleName>
|
||||||
<ModuleType>DXE_DRIVER</ModuleType>
|
<ModuleType>DXE_DRIVER</ModuleType>
|
||||||
<GuidValue>FE3542FE-C1D3-4EF8-657C-8048606FF670</GuidValue>
|
<GuidValue>FE3542FE-C1D3-4EF8-657C-8048606FF670</GuidValue>
|
||||||
<Version>1.0</Version>
|
<Version>1.0</Version>
|
||||||
@ -19,7 +19,7 @@
|
|||||||
<ModuleDefinitions>
|
<ModuleDefinitions>
|
||||||
<SupportedArchitectures>IA32 X64 IPF EBC</SupportedArchitectures>
|
<SupportedArchitectures>IA32 X64 IPF EBC</SupportedArchitectures>
|
||||||
<BinaryModule>false</BinaryModule>
|
<BinaryModule>false</BinaryModule>
|
||||||
<OutputFileBasename>DriverSample</OutputFileBasename>
|
<OutputFileBasename>DriverSampleDxe</OutputFileBasename>
|
||||||
</ModuleDefinitions>
|
</ModuleDefinitions>
|
||||||
<LibraryClassDefinitions>
|
<LibraryClassDefinitions>
|
||||||
<LibraryClass Usage="ALWAYS_CONSUMED">
|
<LibraryClass Usage="ALWAYS_CONSUMED">
|
@ -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 <FrameworkDxe.h>
|
|
||||||
//
|
|
||||||
// The protocols, PPI and GUID defintions for this module
|
|
||||||
//
|
|
||||||
#include <Guid/GlobalVariable.h>
|
|
||||||
#include <Protocol/FormCallbackFramework.h>
|
|
||||||
#include <Protocol/HiiFramework.h>
|
|
||||||
//
|
|
||||||
// The Library classes this module consumes
|
|
||||||
//
|
|
||||||
#include <Library/BaseLib.h>
|
|
||||||
#include <Library/DebugLib.h>
|
|
||||||
#include <Library/UefiDriverEntryPoint.h>
|
|
||||||
#include <Library/MemoryAllocationLib.h>
|
|
||||||
#include <Library/BaseMemoryLib.h>
|
|
||||||
#include <Library/UefiBootServicesTableLib.h>
|
|
||||||
#include <Library/UefiRuntimeServicesTableLib.h>
|
|
||||||
#include <Library/IfrSupportLibFramework.h>
|
|
||||||
|
|
||||||
#endif
|
|
@ -20,11 +20,6 @@ Abstract:
|
|||||||
--*/
|
--*/
|
||||||
|
|
||||||
|
|
||||||
//
|
|
||||||
// Include common header file for this module.
|
|
||||||
//
|
|
||||||
#include "CommonHeader.h"
|
|
||||||
|
|
||||||
#include "HiiDatabase.h"
|
#include "HiiDatabase.h"
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -13,11 +13,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|||||||
**/
|
**/
|
||||||
|
|
||||||
|
|
||||||
//
|
|
||||||
// Include common header file for this module.
|
|
||||||
//
|
|
||||||
#include "CommonHeader.h"
|
|
||||||
|
|
||||||
#include "HiiDatabase.h"
|
#include "HiiDatabase.h"
|
||||||
|
|
||||||
STATIC
|
STATIC
|
||||||
|
@ -19,11 +19,6 @@ Abstract:
|
|||||||
|
|
||||||
--*/
|
--*/
|
||||||
|
|
||||||
//
|
|
||||||
// Include common header file for this module.
|
|
||||||
//
|
|
||||||
#include "CommonHeader.h"
|
|
||||||
|
|
||||||
#include "HiiDatabase.h"
|
#include "HiiDatabase.h"
|
||||||
|
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
|
@ -1,30 +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:
|
|
||||||
|
|
||||||
HiiDatabase.dxs
|
|
||||||
|
|
||||||
Abstract:
|
|
||||||
|
|
||||||
Dependency expression source file.
|
|
||||||
|
|
||||||
--*/
|
|
||||||
//
|
|
||||||
// Include common header file for this module.
|
|
||||||
//
|
|
||||||
#include "CommonHeader.h"
|
|
||||||
|
|
||||||
#include <DxeDepex.h>
|
|
||||||
|
|
||||||
DEPENDENCY_START
|
|
||||||
TRUE
|
|
||||||
DEPENDENCY_END
|
|
@ -24,9 +24,26 @@ Abstract:
|
|||||||
#define _HIIDATABASE_H
|
#define _HIIDATABASE_H
|
||||||
|
|
||||||
//
|
//
|
||||||
// Include common header file for this module.
|
// The package level header files this module uses
|
||||||
//
|
//
|
||||||
#include "CommonHeader.h"
|
#include <PiDxe.h>
|
||||||
|
//
|
||||||
|
// The protocols, PPI and GUID defintions for this module
|
||||||
|
//
|
||||||
|
#include <Guid/GlobalVariable.h>
|
||||||
|
#include <Protocol/FormCallbackFramework.h>
|
||||||
|
#include <Protocol/HiiFramework.h>
|
||||||
|
//
|
||||||
|
// The Library classes this module consumes
|
||||||
|
//
|
||||||
|
#include <Library/BaseLib.h>
|
||||||
|
#include <Library/DebugLib.h>
|
||||||
|
#include <Library/UefiDriverEntryPoint.h>
|
||||||
|
#include <Library/MemoryAllocationLib.h>
|
||||||
|
#include <Library/BaseMemoryLib.h>
|
||||||
|
#include <Library/UefiBootServicesTableLib.h>
|
||||||
|
#include <Library/UefiRuntimeServicesTableLib.h>
|
||||||
|
#include <Library/IfrSupportLibFramework.h>
|
||||||
|
|
||||||
//
|
//
|
||||||
// HII Database Global data
|
// HII Database Global data
|
||||||
|
@ -50,7 +50,6 @@
|
|||||||
Forms.c
|
Forms.c
|
||||||
HiiDatabase.h
|
HiiDatabase.h
|
||||||
HiiDatabase.c
|
HiiDatabase.c
|
||||||
CommonHeader.h
|
|
||||||
|
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
|
@ -20,11 +20,6 @@ Abstract:
|
|||||||
--*/
|
--*/
|
||||||
|
|
||||||
|
|
||||||
//
|
|
||||||
// Include common header file for this module.
|
|
||||||
//
|
|
||||||
#include "CommonHeader.h"
|
|
||||||
|
|
||||||
#include "HiiDatabase.h"
|
#include "HiiDatabase.h"
|
||||||
|
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
|
@ -20,11 +20,6 @@ Abstract:
|
|||||||
--*/
|
--*/
|
||||||
|
|
||||||
|
|
||||||
//
|
|
||||||
// Include common header file for this module.
|
|
||||||
//
|
|
||||||
#include "CommonHeader.h"
|
|
||||||
|
|
||||||
#include "HiiDatabase.h"
|
#include "HiiDatabase.h"
|
||||||
|
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
|
@ -20,11 +20,6 @@ Abstract:
|
|||||||
--*/
|
--*/
|
||||||
|
|
||||||
|
|
||||||
//
|
|
||||||
// Include common header file for this module.
|
|
||||||
//
|
|
||||||
#include "CommonHeader.h"
|
|
||||||
|
|
||||||
#include "HiiDatabase.h"
|
#include "HiiDatabase.h"
|
||||||
|
|
||||||
STATIC
|
STATIC
|
||||||
|
@ -20,10 +20,6 @@ Abstract:
|
|||||||
|
|
||||||
--*/
|
--*/
|
||||||
|
|
||||||
//
|
|
||||||
// Include common header file for this module.
|
|
||||||
//
|
|
||||||
#include "CommonHeader.h"
|
|
||||||
|
|
||||||
#include "Setup.h"
|
#include "Setup.h"
|
||||||
#include "Ui.h"
|
#include "Ui.h"
|
||||||
|
@ -23,11 +23,6 @@ Revision History
|
|||||||
#ifndef _COLORS_H
|
#ifndef _COLORS_H
|
||||||
#define _COLORS_H
|
#define _COLORS_H
|
||||||
|
|
||||||
//
|
|
||||||
// Include common header file for this module.
|
|
||||||
//
|
|
||||||
#include "CommonHeader.h"
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Screen Color Settings
|
// Screen Color Settings
|
||||||
//
|
//
|
||||||
|
@ -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/FormCallbackFramework.h>
|
|
||||||
#include <Protocol/FormBrowserFramework.h>
|
|
||||||
#include <Protocol/HiiFramework.h>
|
|
||||||
#include <Protocol/Print.h>
|
|
||||||
//
|
|
||||||
// The Library classes this module consumes
|
|
||||||
//
|
|
||||||
#include <Library/BaseLib.h>
|
|
||||||
#include <Library/DebugLib.h>
|
|
||||||
#include <Library/BaseMemoryLib.h>
|
|
||||||
#include <Library/MemoryAllocationLib.h>
|
|
||||||
#include <Library/UefiDriverEntryPoint.h>
|
|
||||||
#include <Library/PrintLib.h>
|
|
||||||
#include <Library/UefiBootServicesTableLib.h>
|
|
||||||
#include <Library/UefiRuntimeServicesTableLib.h>
|
|
||||||
#include <Library/HiiLibFramework.h>
|
|
||||||
#include <Library/GraphicsLib.h>
|
|
||||||
|
|
||||||
#endif
|
|
@ -21,11 +21,6 @@ Revision History
|
|||||||
|
|
||||||
--*/
|
--*/
|
||||||
|
|
||||||
//
|
|
||||||
// Include common header file for this module.
|
|
||||||
//
|
|
||||||
#include "CommonHeader.h"
|
|
||||||
|
|
||||||
#include "Setup.h"
|
#include "Setup.h"
|
||||||
#include "Ui.h"
|
#include "Ui.h"
|
||||||
#include "Colors.h"
|
#include "Colors.h"
|
||||||
|
@ -19,11 +19,6 @@ Revision History:
|
|||||||
|
|
||||||
--*/
|
--*/
|
||||||
|
|
||||||
//
|
|
||||||
// Include common header file for this module.
|
|
||||||
//
|
|
||||||
#include "CommonHeader.h"
|
|
||||||
|
|
||||||
#include "Setup.h"
|
#include "Setup.h"
|
||||||
#include "Ui.h"
|
#include "Ui.h"
|
||||||
#include "Colors.h"
|
#include "Colors.h"
|
||||||
|
@ -32,11 +32,6 @@ Abstract:
|
|||||||
|
|
||||||
--*/
|
--*/
|
||||||
|
|
||||||
//
|
|
||||||
// Include common header file for this module.
|
|
||||||
//
|
|
||||||
#include "CommonHeader.h"
|
|
||||||
|
|
||||||
#include "Print.h"
|
#include "Print.h"
|
||||||
|
|
||||||
STATIC
|
STATIC
|
||||||
|
@ -22,11 +22,6 @@ Abstract:
|
|||||||
#ifndef _PRINT_H_
|
#ifndef _PRINT_H_
|
||||||
#define _PRINT_H_
|
#define _PRINT_H_
|
||||||
|
|
||||||
//
|
|
||||||
// Include common header file for this module.
|
|
||||||
//
|
|
||||||
#include "CommonHeader.h"
|
|
||||||
|
|
||||||
#include "Setup.h"
|
#include "Setup.h"
|
||||||
|
|
||||||
#define LEFT_JUSTIFY 0x01
|
#define LEFT_JUSTIFY 0x01
|
||||||
|
@ -12,11 +12,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|||||||
|
|
||||||
**/
|
**/
|
||||||
|
|
||||||
//
|
|
||||||
// Include common header file for this module.
|
|
||||||
//
|
|
||||||
#include "CommonHeader.h"
|
|
||||||
|
|
||||||
#include "Setup.h"
|
#include "Setup.h"
|
||||||
#include "Ui.h"
|
#include "Ui.h"
|
||||||
|
|
||||||
|
@ -12,10 +12,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|||||||
|
|
||||||
**/
|
**/
|
||||||
|
|
||||||
//
|
|
||||||
// Include common header file for this module.
|
|
||||||
//
|
|
||||||
#include "CommonHeader.h"
|
|
||||||
|
|
||||||
#include "Setup.h"
|
#include "Setup.h"
|
||||||
#include "Ui.h"
|
#include "Ui.h"
|
||||||
|
@ -24,9 +24,30 @@ Revision History
|
|||||||
#define _SETUP_H
|
#define _SETUP_H
|
||||||
|
|
||||||
//
|
//
|
||||||
// Include common header file for this module.
|
// The package level header files this module uses
|
||||||
//
|
//
|
||||||
#include "CommonHeader.h"
|
#include <PiDxe.h>
|
||||||
|
//
|
||||||
|
// The protocols, PPI and GUID defintions for this module
|
||||||
|
//
|
||||||
|
#include <Protocol/FormCallbackFramework.h>
|
||||||
|
#include <Protocol/FormBrowserFramework.h>
|
||||||
|
#include <Protocol/HiiFramework.h>
|
||||||
|
#include <Protocol/Print.h>
|
||||||
|
//
|
||||||
|
// The Library classes this module consumes
|
||||||
|
//
|
||||||
|
#include <Library/BaseLib.h>
|
||||||
|
#include <Library/DebugLib.h>
|
||||||
|
#include <Library/BaseMemoryLib.h>
|
||||||
|
#include <Library/MemoryAllocationLib.h>
|
||||||
|
#include <Library/UefiDriverEntryPoint.h>
|
||||||
|
#include <Library/PrintLib.h>
|
||||||
|
#include <Library/UefiBootServicesTableLib.h>
|
||||||
|
#include <Library/UefiRuntimeServicesTableLib.h>
|
||||||
|
#include <Library/HiiLibFramework.h>
|
||||||
|
#include <Library/GraphicsLib.h>
|
||||||
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// This is the generated header file which includes whatever needs to be exported (strings + IFR)
|
// This is the generated header file which includes whatever needs to be exported (strings + IFR)
|
||||||
|
@ -57,8 +57,6 @@
|
|||||||
Setup.h
|
Setup.h
|
||||||
Setup.c
|
Setup.c
|
||||||
SetupBrowserStr.uni
|
SetupBrowserStr.uni
|
||||||
CommonHeader.h
|
|
||||||
|
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
#
|
#
|
||||||
@ -68,10 +66,9 @@
|
|||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
[Packages]
|
[Packages]
|
||||||
IntelFrameworkPkg/IntelFrameworkPkg.dec
|
|
||||||
MdePkg/MdePkg.dec
|
MdePkg/MdePkg.dec
|
||||||
MdeModulePkg/MdeModulePkg.dec
|
MdeModulePkg/MdeModulePkg.dec
|
||||||
|
IntelFrameworkPkg/IntelFrameworkPkg.dec
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
#
|
#
|
||||||
|
@ -12,10 +12,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|||||||
|
|
||||||
**/
|
**/
|
||||||
|
|
||||||
//
|
|
||||||
// Include common header file for this module.
|
|
||||||
//
|
|
||||||
#include "CommonHeader.h"
|
|
||||||
|
|
||||||
#include "Setup.h"
|
#include "Setup.h"
|
||||||
#include "Ui.h"
|
#include "Ui.h"
|
||||||
|
@ -24,10 +24,6 @@ Revision History
|
|||||||
#ifndef _UI_H
|
#ifndef _UI_H
|
||||||
#define _UI_H
|
#define _UI_H
|
||||||
|
|
||||||
//
|
|
||||||
// Include common header file for this module.
|
|
||||||
//
|
|
||||||
#include "CommonHeader.h"
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Globals
|
// Globals
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
EDK_RELEASE_VERSION = 0x00020000
|
EDK_RELEASE_VERSION = 0x00020000
|
||||||
EFI_SPECIFICATION_VERSION = 0x00020000
|
EFI_SPECIFICATION_VERSION = 0x00020000
|
||||||
|
|
||||||
ENTRY_POINT = InitializeDxeStatusCode
|
ENTRY_POINT = DxeStatusCodeDriverEntry
|
||||||
|
|
||||||
#
|
#
|
||||||
# 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.
|
||||||
@ -52,7 +52,6 @@
|
|||||||
DataHubStatusCodeWorker.c
|
DataHubStatusCodeWorker.c
|
||||||
DxeStatusCode.c
|
DxeStatusCode.c
|
||||||
DxeStatusCode.h
|
DxeStatusCode.h
|
||||||
EntryPoint.c
|
|
||||||
|
|
||||||
[Sources.Ia32]
|
[Sources.Ia32]
|
||||||
DxeStatusCodeCommon.c
|
DxeStatusCodeCommon.c
|
||||||
|
@ -14,6 +14,10 @@
|
|||||||
|
|
||||||
#include "DxeStatusCode.h"
|
#include "DxeStatusCode.h"
|
||||||
|
|
||||||
|
//
|
||||||
|
// Event for Exit Boot Services Callback
|
||||||
|
//
|
||||||
|
STATIC EFI_EVENT mExitBootServicesEvent = NULL;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Report status code to all supported device.
|
Report status code to all supported device.
|
||||||
@ -107,6 +111,15 @@ DxeStatusCodeDriverEntry (
|
|||||||
);
|
);
|
||||||
ASSERT_EFI_ERROR (Status);
|
ASSERT_EFI_ERROR (Status);
|
||||||
|
|
||||||
|
Status = gBS->CreateEvent (
|
||||||
|
EVT_SIGNAL_EXIT_BOOT_SERVICES,
|
||||||
|
TPL_NOTIFY,
|
||||||
|
VirtualAddressChangeCallBack,
|
||||||
|
NULL,
|
||||||
|
&mExitBootServicesEvent
|
||||||
|
);
|
||||||
|
ASSERT_EFI_ERROR (Status);
|
||||||
|
|
||||||
return Status;
|
return Status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,58 +0,0 @@
|
|||||||
/**@file
|
|
||||||
Entry Point Source file.
|
|
||||||
|
|
||||||
This file contains the user entry point
|
|
||||||
|
|
||||||
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.
|
|
||||||
|
|
||||||
**/
|
|
||||||
|
|
||||||
#include "DxeStatusCode.h"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Event for Exit Boot Services Callback
|
|
||||||
//
|
|
||||||
STATIC EFI_EVENT mExitBootServicesEvent = NULL;
|
|
||||||
|
|
||||||
/**
|
|
||||||
The user Entry Point for module DxeStatusCode. 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
|
|
||||||
InitializeDxeStatusCode(
|
|
||||||
IN EFI_HANDLE ImageHandle,
|
|
||||||
IN EFI_SYSTEM_TABLE *SystemTable
|
|
||||||
)
|
|
||||||
{
|
|
||||||
EFI_STATUS Status;
|
|
||||||
|
|
||||||
Status = gBS->CreateEvent (
|
|
||||||
EVT_SIGNAL_EXIT_BOOT_SERVICES,
|
|
||||||
TPL_NOTIFY,
|
|
||||||
VirtualAddressChangeCallBack,
|
|
||||||
NULL,
|
|
||||||
&mExitBootServicesEvent
|
|
||||||
);
|
|
||||||
ASSERT_EFI_ERROR (Status);
|
|
||||||
|
|
||||||
//
|
|
||||||
// Call the original Entry Point
|
|
||||||
//
|
|
||||||
Status = DxeStatusCodeDriverEntry (ImageHandle, SystemTable);
|
|
||||||
|
|
||||||
return 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, 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 <FrameworkPei.h>
|
|
||||||
//
|
|
||||||
// The protocols, PPI and GUID defintions for this module
|
|
||||||
//
|
|
||||||
#include <Guid/MemoryStatusCodeRecord.h>
|
|
||||||
#include <Guid/StatusCodeDataTypeId.h>
|
|
||||||
#include <Ppi/StatusCode.h>
|
|
||||||
//
|
|
||||||
// The Library classes this module consumes
|
|
||||||
//
|
|
||||||
#include <Library/BaseLib.h>
|
|
||||||
#include <Library/BaseMemoryLib.h>
|
|
||||||
#include <Library/DebugLib.h>
|
|
||||||
#include <Library/PrintLib.h>
|
|
||||||
#include <Library/ReportStatusCodeLib.h>
|
|
||||||
#include <Library/SerialPortLib.h>
|
|
||||||
#include <Library/HobLib.h>
|
|
||||||
#include <Library/PcdLib.h>
|
|
||||||
#include <Library/PeiServicesLib.h>
|
|
||||||
#include <Library/OemHookStatusCodeLib.h>
|
|
||||||
#include <Library/PeimEntryPoint.h>
|
|
||||||
|
|
||||||
#endif
|
|
@ -14,11 +14,6 @@
|
|||||||
|
|
||||||
**/
|
**/
|
||||||
|
|
||||||
//
|
|
||||||
// Include common header file for this module.
|
|
||||||
//
|
|
||||||
#include "CommonHeader.h"
|
|
||||||
|
|
||||||
#include "PeiStatusCode.h"
|
#include "PeiStatusCode.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -15,11 +15,6 @@
|
|||||||
|
|
||||||
**/
|
**/
|
||||||
|
|
||||||
//
|
|
||||||
// Include common header file for this module.
|
|
||||||
//
|
|
||||||
#include "CommonHeader.h"
|
|
||||||
|
|
||||||
#include "PeiStatusCode.h"
|
#include "PeiStatusCode.h"
|
||||||
|
|
||||||
STATIC
|
STATIC
|
||||||
|
@ -20,9 +20,29 @@
|
|||||||
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Include common header file for this module.
|
// The package level header files this module uses
|
||||||
//
|
//
|
||||||
#include "CommonHeader.h"
|
#include <FrameworkPei.h>
|
||||||
|
//
|
||||||
|
// The protocols, PPI and GUID defintions for this module
|
||||||
|
//
|
||||||
|
#include <Guid/MemoryStatusCodeRecord.h>
|
||||||
|
#include <Guid/StatusCodeDataTypeId.h>
|
||||||
|
#include <Ppi/StatusCode.h>
|
||||||
|
//
|
||||||
|
// The Library classes this module consumes
|
||||||
|
//
|
||||||
|
#include <Library/BaseLib.h>
|
||||||
|
#include <Library/BaseMemoryLib.h>
|
||||||
|
#include <Library/DebugLib.h>
|
||||||
|
#include <Library/PrintLib.h>
|
||||||
|
#include <Library/ReportStatusCodeLib.h>
|
||||||
|
#include <Library/SerialPortLib.h>
|
||||||
|
#include <Library/HobLib.h>
|
||||||
|
#include <Library/PcdLib.h>
|
||||||
|
#include <Library/PeiServicesLib.h>
|
||||||
|
#include <Library/OemHookStatusCodeLib.h>
|
||||||
|
#include <Library/PeimEntryPoint.h>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Convert status code value and extended data to readable ASCII string, send string to serial I/O device.
|
Convert status code value and extended data to readable ASCII string, send string to serial I/O device.
|
||||||
|
@ -47,7 +47,6 @@
|
|||||||
MemoryStausCodeWorker.c
|
MemoryStausCodeWorker.c
|
||||||
SerialStatusCodeWorker.c
|
SerialStatusCodeWorker.c
|
||||||
PeiStatusCode.h
|
PeiStatusCode.h
|
||||||
CommonHeader.h
|
|
||||||
|
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
|
@ -15,11 +15,6 @@
|
|||||||
|
|
||||||
**/
|
**/
|
||||||
|
|
||||||
//
|
|
||||||
// Include common header file for this module.
|
|
||||||
//
|
|
||||||
#include "CommonHeader.h"
|
|
||||||
|
|
||||||
#include "PeiStatusCode.h"
|
#include "PeiStatusCode.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user