summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Library/UefiBootManagerLib/InternalBm.h
diff options
context:
space:
mode:
Diffstat (limited to 'MdeModulePkg/Library/UefiBootManagerLib/InternalBm.h')
-rw-r--r--MdeModulePkg/Library/UefiBootManagerLib/InternalBm.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/MdeModulePkg/Library/UefiBootManagerLib/InternalBm.h b/MdeModulePkg/Library/UefiBootManagerLib/InternalBm.h
index 4660323562..7466719194 100644
--- a/MdeModulePkg/Library/UefiBootManagerLib/InternalBm.h
+++ b/MdeModulePkg/Library/UefiBootManagerLib/InternalBm.h
@@ -202,14 +202,18 @@ BmWriteBootToOsPerformanceData (
This routine adjust the memory information for different memory type and
save them into the variables for next boot. It resets the system when
memory information is updated and the current boot option belongs to
- boot category instead of application category.
+ boot category instead of application category. It doesn't count the
+ reserved memory occupied by RAM Disk.
- @param Boot TRUE if current boot option belongs to boot category instead of
- application category.
+ @param Boot TRUE if current boot option belongs to boot
+ category instead of application category.
+ @param RamDiskSizeInPages Reserved memory size in pages occupied by
+ RAM Disk.
**/
VOID
BmSetMemoryTypeInformationVariable (
- IN BOOLEAN Boot
+ IN BOOLEAN Boot,
+ IN UINTN RamDiskSizeInPages
);
/**