]> git.proxmox.com Git - mirror_edk2.git/blame - Nt32Pkg/Library/EdkGenericBdsLib/EdkGenericBdsLibInternal.h
1) Remove Protocol/AcpiS3Save.h from IntelFrameworkPkg, which should be defined in...
[mirror_edk2.git] / Nt32Pkg / Library / EdkGenericBdsLib / EdkGenericBdsLibInternal.h
CommitLineData
f2569572
A
1/**@file\r
2 Common header file shared by all source files.\r
3\r
4 This file includes package header files, library classes and protocol, PPI & GUID definitions.\r
5\r
6 Copyright (c) 2006 - 2007, Intel Corporation.\r
7 All rights reserved. This program and the accompanying materials\r
8 are licensed and made available under the terms and conditions of the BSD License\r
9 which accompanies this distribution. The full text of the license may be found at\r
10 http://opensource.org/licenses/bsd-license.php\r
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
13**/\r
14\r
15#ifndef __EDK_GENERIC_BDS_LIB_INTERNAL_H_\r
16#define __EDK_GENERIC_BDS_LIB_INTERNAL_H_\r
17\r
18\r
19//\r
20// The package level header files this module uses\r
21//\r
22#include <PiDxe.h>\r
23#include <WinNtDxe.h>\r
f2569572
A
24#include <Protocol/Cpu.h>\r
25#include <Protocol/SimpleTextIn.h>\r
26#include <Protocol/SimpleTextOut.h>\r
27#include <Protocol/LoadedImage.h>\r
f2569572
A
28#include <Protocol/SimpleFileSystem.h>\r
29#include <Protocol/BlockIo.h>\r
30#include <Protocol/SimpleNetwork.h>\r
f2569572
A
31#include <Protocol/FormBrowserFramework.h>\r
32#include <Protocol/LegacyBios.h>\r
33#include <Protocol/DriverBinding.h>\r
34#include <Protocol/LoadFile.h>\r
35#include <Protocol/DevicePath.h>\r
36#include <Protocol/FirmwareVolume.h>\r
37#include <Protocol/Performance.h>\r
38#include <Protocol/WinNtIo.h>\r
39#include <Guid/PcAnsi.h>\r
7658d609
A
40#include <Guid/GlobalVariable.h>\r
41#include <Guid/GenericPlatformVariable.h>\r
42#include <Guid/ShellFile.h>\r
f2569572
A
43#include <Library/EdkGenericBdsLib.h>\r
44#include <Library/BaseLib.h>\r
45#include <Library/UefiLib.h>\r
46#include <Library/DxeServicesTableLib.h>\r
47#include <Library/DebugLib.h>\r
48#include <Library/PrintLib.h>\r
49#include <Library/HobLib.h>\r
50#include <Library/BaseMemoryLib.h>\r
51#include <Library/MemoryAllocationLib.h>\r
52#include <Library/UefiBootServicesTableLib.h>\r
53#include <Library/UefiRuntimeServicesTableLib.h>\r
54#include <Library/DevicePathLib.h>\r
55#include <Library/PerformanceLib.h>\r
56#include <Library/PeCoffLib.h>\r
7658d609
A
57#include <Library/PcdLib.h>\r
58\r
f2569572
A
59\r
60#define PERF_TOKEN_LENGTH 28\r
61#define PERF_PEI_ENTRY_MAX_NUM 50\r
62\r
63typedef struct {\r
64 CHAR8 Token[PERF_TOKEN_LENGTH];\r
65 UINT32 Duration;\r
66} PERF_DATA;\r
67\r
68typedef struct {\r
69 UINT64 BootToOs;\r
70 UINT64 S3Resume;\r
71 UINT32 S3EntryNum;\r
72 PERF_DATA S3Entry[PERF_PEI_ENTRY_MAX_NUM];\r
73 UINT64 CpuFreq;\r
74 UINT64 BDSRaw;\r
75 UINT32 Count;\r
76 UINT32 Signiture;\r
77} PERF_HEADER;\r
78\r
79VOID\r
80WriteBootToOsPerformanceData (\r
81 VOID\r
82 );\r
83\r
84VOID\r
85ClearDebugRegisters (\r
86 VOID\r
87 );\r
88\r
89\r
90#endif\r