From e89e72d2f8a2efe86acad95ed0769aa7a8fe64ae Mon Sep 17 00:00:00 2001 From: Patrick Williams Date: Tue, 26 Mar 2013 11:23:47 -0500 Subject: Secureboot memory layout support. * Start kernel in 1/4 cache mode per Secureboot. * Copy Secureboot header for base image for later use. * Blind-purge bottom half of cache. * Add bottom of cache into memory maps for 1/2 cache mode. RTC: 64762 Change-Id: I1b45f30a2d45c9709d4fd486cfe0ca2ce86b051c Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/3773 Reviewed-by: Michael Baiocchi Tested-by: Jenkins Server Reviewed-by: ADAM R. MUHLE Reviewed-by: Daniel M. Crowell Reviewed-by: A. Patrick Williams III --- src/include/sys/mm.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/include/sys') diff --git a/src/include/sys/mm.h b/src/include/sys/mm.h index 959c2fa57..38272c684 100644 --- a/src/include/sys/mm.h +++ b/src/include/sys/mm.h @@ -99,6 +99,7 @@ int mm_set_permission(void* va, uint64_t size, uint64_t access_type); enum MM_EXTEND_SIZE { + MM_EXTEND_POST_SECUREBOOT, //< Extend memory to include bottom of cache. MM_EXTEND_FULL_CACHE, //< Extend memory to include full cache (8mb). MM_EXTEND_REAL_MEMORY, //< Extend memory into real mainstore. }; -- cgit v1.2.3