summaryrefslogtreecommitdiffstats
path: root/src/include/kernel/vmmmgr.H
diff options
context:
space:
mode:
authorPatrick Williams <iawillia@us.ibm.com>2011-07-25 16:41:57 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2011-07-29 15:12:07 -0500
commita4ad138162e1c2b0e7ae008d38d91a0094393bd7 (patch)
tree7c3068ebd522d36a3f3e9083303e3cf66ac281a3 /src/include/kernel/vmmmgr.H
parent786c6a4a3aa85bb9f240a86735eb8f6ac277c109 (diff)
downloadtalos-hostboot-a4ad138162e1c2b0e7ae008d38d91a0094393bd7.tar.gz
talos-hostboot-a4ad138162e1c2b0e7ae008d38d91a0094393bd7.zip
Reduce memory footprint to 3MB.
Change-Id: I309bc63bdb27baa21f65de05e12324b9c4ce3407 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/212 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/kernel/vmmmgr.H')
-rw-r--r--src/include/kernel/vmmmgr.H13
1 files changed, 4 insertions, 9 deletions
diff --git a/src/include/kernel/vmmmgr.H b/src/include/kernel/vmmmgr.H
index 49101feed..f57f01677 100644
--- a/src/include/kernel/vmmmgr.H
+++ b/src/include/kernel/vmmmgr.H
@@ -10,9 +10,11 @@ class VmmManager
public:
enum VMM_CONSTS
{
- EIGHT_MEG = 8 * 1024 * 1024,
+ ONE_MEG = 1 * 1024 * 1024,
+ THREE_MEG = 3 * ONE_MEG,
+ EIGHT_MEG = 8 * ONE_MEG,
- FULL_MEM_SIZE = 1 * EIGHT_MEG,
+ FULL_MEM_SIZE = THREE_MEG,
// put the Page Table at the end of our memory space
PTSIZE = (1 << 18),
@@ -28,13 +30,6 @@ class VmmManager
RO_EXE_ACCESS,
};
- enum PID_ALLOCATIONS
- {
- LinearSpace = (FULL_MEM_SIZE / EIGHT_MEG) - 1,
- MMIOSpace = LinearSpace + 1,
- FirstPid,
- };
-
static void init();
static void init_slb();
OpenPOWER on IntegriCloud