summaryrefslogtreecommitdiff
path: root/IntelFrameworkModulePkg/Library/GenericBdsLib/InternalBdsLib.h
diff options
context:
space:
mode:
authorlzeng14 <lzeng14@6f19259b-4bc3-4df7-8a09-765794883524>2012-06-19 14:43:33 +0000
committerlzeng14 <lzeng14@6f19259b-4bc3-4df7-8a09-765794883524>2012-06-19 14:43:33 +0000
commit26c0ba7799a6a735ecb8fd1a7757aeb8989e5cfa (patch)
tree644c02ccb6472b9e962f9deded8df9c58045f4e7 /IntelFrameworkModulePkg/Library/GenericBdsLib/InternalBdsLib.h
parent23b0b155262644f0514b13d5c8f23f310e33d75b (diff)
downloadedk2-platforms-26c0ba7799a6a735ecb8fd1a7757aeb8989e5cfa.tar.xz
Align the perf data between FPDT and DP.
Signed-off-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13461 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'IntelFrameworkModulePkg/Library/GenericBdsLib/InternalBdsLib.h')
-rw-r--r--IntelFrameworkModulePkg/Library/GenericBdsLib/InternalBdsLib.h23
1 files changed, 19 insertions, 4 deletions
diff --git a/IntelFrameworkModulePkg/Library/GenericBdsLib/InternalBdsLib.h b/IntelFrameworkModulePkg/Library/GenericBdsLib/InternalBdsLib.h
index 0eea67933a..7381670bf2 100644
--- a/IntelFrameworkModulePkg/Library/GenericBdsLib/InternalBdsLib.h
+++ b/IntelFrameworkModulePkg/Library/GenericBdsLib/InternalBdsLib.h
@@ -87,16 +87,31 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
/**
- Allocates a block of memory and writes performance data of booting into it.
- OS can processing these record.
-
+ Allocates a block of memory to store performance data.
+
**/
VOID
-WriteBootToOsPerformanceData (
+AllocateMemoryForPerformanceData (
VOID
);
/**
+
+ Writes performance data of booting into the allocated memory.
+ OS can process these records.
+
+ @param Event The triggered event.
+ @param Context Context for this event.
+
+**/
+VOID
+EFIAPI
+WriteBootToOsPerformanceData (
+ IN EFI_EVENT Event,
+ IN VOID *Context
+ );
+
+/**
Get the headers (dos, image, optional header) from an image
@param Device SimpleFileSystem device handle