diff options
author | Patrick Williams <iawillia@us.ibm.com> | 2012-11-13 15:36:05 -0600 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2012-11-14 15:45:36 -0600 |
commit | 073d82a61ee7ce0ec4522c18ce92cd93537025db (patch) | |
tree | 382b3db4c6032fb83b2e1c7e9f50eb6c0507fb5b /src/lib | |
parent | f5fc4c94d84ed3a5263d4139cb09179a5722f382 (diff) | |
download | talos-hostboot-073d82a61ee7ce0ec4522c18ce92cd93537025db.tar.gz talos-hostboot-073d82a61ee7ce0ec4522c18ce92cd93537025db.zip |
Expand memory footprint to full 8MB cache.
If fake PNOR isn't being used, we can expand our memory space to
the full 8MB cache. There will be follow up work with RTC: 49137
to support 4MB degraded caches for bring-up.
Change-Id: I1248efa37965f39ebab62aae556349c34aa24b66
RTC: 47356
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2319
Tested-by: Jenkins Server
Reviewed-by: Melissa J. Connell <missyc@us.ibm.com>
Reviewed-by: ADAM R. MUHLE <armuhle@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/syscall_mm.C | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/syscall_mm.C b/src/lib/syscall_mm.C index 7b6ba672d..5bb85a4fb 100644 --- a/src/lib/syscall_mm.C +++ b/src/lib/syscall_mm.C @@ -93,16 +93,16 @@ uint64_t mm_virt_to_phys( void* i_vaddr ) } /** - * System call to extend Memory to 32Meg. + * System call to extend Memory to 32Meg. */ -int mm_extend(void) +int mm_extend(MM_EXTEND_SIZE i_size) { - return (int64_t)_syscall0(MM_EXTEND); + return (int64_t)_syscall1(MM_EXTEND, reinterpret_cast<void*>(i_size)); } /** - * System call to create a block of memory at a specific physical address + * System call to create a block of memory at a specific physical address */ int mm_linear_map(void *i_paddr, uint64_t i_size) { |