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