summaryrefslogtreecommitdiffstats
path: root/src/include/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/kernel')
-rw-r--r--src/include/kernel/memstate.H10
-rw-r--r--src/include/kernel/misc.H8
2 files changed, 12 insertions, 6 deletions
diff --git a/src/include/kernel/memstate.H b/src/include/kernel/memstate.H
index 23ba4ba7e..6ef43aaab 100644
--- a/src/include/kernel/memstate.H
+++ b/src/include/kernel/memstate.H
@@ -5,7 +5,9 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* COPYRIGHT International Business Machines Corp. 2011,2014 */
+/* Contributors Listed Below - COPYRIGHT 2013,2016 */
+/* [+] International Business Machines Corp. */
+/* */
/* */
/* Licensed under the Apache License, Version 2.0 (the "License"); */
/* you may not use this file except in compliance with the License. */
@@ -42,7 +44,8 @@ namespace KernelMemState
- 32:63 - Size of active Hostboot memory in MB
- - 0 = Hostboot is not ready yet.
- - 4 = Hostboot is using half a cache
- - - 8 = Hostboot is using the full cache
+ - - 8 = Hostboot is using reduced cache
+ - - 10 = Hostboot is using the full cache
- - 32 = Hostboot is using 32 MB of mainstore*/
@@ -58,7 +61,8 @@ namespace KernelMemState
{
NO_MEM = 0x0,
HALF_CACHE = 0x00000004,
- FULL_CACHE = 0x00000008,
+ REDUCED_CACHE = 0x00000008,
+ FULL_CACHE = 0x0000000A,
MS_32MEG = 0x00000020,
PRE_SECURE_BOOT = 0x000000FF,
};
diff --git a/src/include/kernel/misc.H b/src/include/kernel/misc.H
index 802df9090..a7b1d442b 100644
--- a/src/include/kernel/misc.H
+++ b/src/include/kernel/misc.H
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2011,2015 */
+/* Contributors Listed Below - COPYRIGHT 2011,2016 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -159,11 +159,13 @@ namespace KernelMisc
/** @fn expand_full_cache
*
* @brief Expands the image footprint from a half-cache to full-cache
- * mode.
+ * mode or to reduced-cache mode.
+ *
+ * @param[in] i_expandSize - Total expanded cache size.
*
* @return 0 or -errno
*/
- int expand_full_cache();
+ int expand_full_cache(uint64_t i_expandSize);
/** @fn populate_cache_lines
*
OpenPOWER on IntegriCloud