]>
git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Library/GenericBdsLib/InternalBdsLib.h
3 Copyright (c) 2004 - 2007, Intel Corporation
4 All rights reserved. This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution. The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
18 BDS library definition, include the file and data structure
23 #ifndef _INTERNAL_BDS_LIB_H_
24 #define _INTERNAL_BDS_LIB_H_
28 #include <IndustryStandard/Pci22.h>
30 #include <Protocol/BlockIo.h>
31 #include <Protocol/LoadedImage.h>
32 #include <Protocol/Cpu.h>
33 #include <Protocol/SimpleFileSystem.h>
34 #include <Protocol/DebugPort.h>
35 #include <Protocol/DevicePath.h>
36 #include <Protocol/SimpleTextIn.h>
37 #include <Protocol/LegacyBios.h>
38 #include <Protocol/SimpleTextOut.h>
39 #include <Protocol/SimpleNetwork.h>
40 #include <Protocol/DevicePathToText.h>
41 #include <Protocol/FirmwareVolume2.h>
42 #include <Protocol/PciIo.h>
43 #include <Protocol/AcpiS3Save.h>
44 #include <Protocol/Performance.h>
45 #include <Protocol/FirmwareVolumeDispatch.h>
47 #include <Guid/MemoryTypeInformation.h>
48 #include <Guid/FileInfo.h>
49 #include <Guid/GlobalVariable.h>
50 #include <Guid/PcAnsi.h>
51 #include <Guid/ShellFile.h>
52 #include <Guid/HobList.h>
53 #include <Guid/GenericPlatformVariable.h>
55 #include <Library/PrintLib.h>
56 #include <Library/DebugLib.h>
57 #include <Library/BaseMemoryLib.h>
58 #include <Library/UefiBootServicesTableLib.h>
59 #include <Library/UefiLib.h>
60 #include <Library/MemoryAllocationLib.h>
61 #include <Library/DxeServicesTableLib.h>
62 #include <Library/UefiRuntimeServicesTableLib.h>
63 #include <Library/HobLib.h>
64 #include <Library/BaseLib.h>
65 #include <Library/DevicePathLib.h>
66 #include <Library/PerformanceLib.h>
67 #include <Library/PcdLib.h>
68 #include <Library/IfrSupportLib.h>
69 #include <Library/PeCoffGetEntryPointLib.h>
70 #include <Library/GenericBdsLib.h>
71 #include <Library/TimerLib.h>
73 #include "BmMachine.h"
77 #define PERFORMANCE_SIGNATURE EFI_SIGNATURE_32 ('P', 'e', 'r', 'f')
78 #define PERF_TOKEN_SIZE 28
79 #define PERF_TOKEN_LENGTH (PERF_TOKEN_SIZE - 1)
80 #define PERF_PEI_ENTRY_MAX_NUM 50
83 CHAR8 Token
[PERF_TOKEN_SIZE
];
91 PERF_DATA S3Entry
[PERF_PEI_ENTRY_MAX_NUM
];
99 WriteBootToOsPerformanceData (
103 #endif // _BDS_LIB_H_