diff options
author | Marty Gloff <mgloff@us.ibm.com> | 2016-07-27 11:55:38 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2016-08-10 14:14:54 -0400 |
commit | 0f64c7b414998e6f9b1b7211f55f0ca481208070 (patch) | |
tree | baac50f47ccab0274015612fa1faf9c8172fc10f /src/include/sys/mm.h | |
parent | 15a7b3ec80e826ed07c57739693d9e98a17d2b33 (diff) | |
download | talos-hostboot-0f64c7b414998e6f9b1b7211f55f0ca481208070.tar.gz talos-hostboot-0f64c7b414998e6f9b1b7211f55f0ca481208070.zip |
Handle 8MB reduced cache mode
Check scom register (0x1001181B) for reduced cache mode and expand the
memory footprint appropriately, reduced 8MB or full 10MB.
Change-Id: I5920572077cdcee317e7b3b9abe999e6de295459
RTC:152954
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27522
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include/sys/mm.h')
-rw-r--r-- | src/include/sys/mm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/sys/mm.h b/src/include/sys/mm.h index 5ac7078b0..e7b49f8f7 100644 --- a/src/include/sys/mm.h +++ b/src/include/sys/mm.h @@ -103,6 +103,7 @@ int mm_set_permission(void* va, uint64_t size, uint64_t access_type); enum MM_EXTEND_SIZE { MM_EXTEND_PARTIAL_CACHE, //< Extend memory to include 512KB to 4MB + MM_EXTEND_REDUCED_CACHE, //< Extend memory to include reduced cache (8MB). MM_EXTEND_FULL_CACHE, //< Extend memory to include full cache (10MB). MM_EXTEND_REAL_MEMORY, //< Extend memory into real mainstore. }; |