diff options
author | Doug Gilbert <dgilbert@us.ibm.com> | 2012-06-27 17:59:25 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2012-07-11 08:18:00 -0500 |
commit | a23283c6facfee055c9c6d43e23a04ca02edc467 (patch) | |
tree | 51c7e8e5af9344041941a140be33950159b00972 /src/include/sys/mm.h | |
parent | 2a37ac4be40500b6849444168181931202892a96 (diff) | |
download | talos-hostboot-a23283c6facfee055c9c6d43e23a04ca02edc467.tar.gz talos-hostboot-a23283c6facfee055c9c6d43e23a04ca02edc467.zip |
Improve memory page manager for low memory situations
RTC: 40831
Change-Id: I7889f91eec44a10d56ffc94e03c7557f8085100a
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1272
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Tested-by: Jenkins Server
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 | 51 |
1 files changed, 29 insertions, 22 deletions
diff --git a/src/include/sys/mm.h b/src/include/sys/mm.h index 3064e371a..105b145be 100644 --- a/src/include/sys/mm.h +++ b/src/include/sys/mm.h @@ -1,25 +1,26 @@ -// IBM_PROLOG_BEGIN_TAG -// This is an automatically generated prolog. -// -// $Source: src/include/sys/mm.h $ -// -// IBM CONFIDENTIAL -// -// COPYRIGHT International Business Machines Corp. 2011 -// -// p1 -// -// Object Code Only (OCO) source materials -// Licensed Internal Code Source Materials -// IBM HostBoot Licensed Internal Code -// -// The source code for this program is not published or other- -// wise divested of its trade secrets, irrespective of what has -// been deposited with the U.S. Copyright Office. -// -// Origin: 30 -// -// IBM_PROLOG_END +/* IBM_PROLOG_BEGIN_TAG + * This is an automatically generated prolog. + * + * $Source: src/include/sys/mm.h $ + * + * IBM CONFIDENTIAL + * + * COPYRIGHT International Business Machines Corp. 2011-2012 + * + * p1 + * + * Object Code Only (OCO) source materials + * Licensed Internal Code Source Materials + * IBM HostBoot Licensed Internal Code + * + * The source code for this program is not published or other- + * wise divested of its trade secrets, irrespective of what has + * been deposited with the U.S. Copyright Office. + * + * Origin: 30 + * + * IBM_PROLOG_END_TAG + */ #ifndef __SYS_MM_H #define __SYS_MM_H @@ -96,6 +97,12 @@ int mm_remove_pages(PAGE_REMOVAL_OPS i_op, void* i_vaddr, uint64_t i_size); */ int mm_set_permission(void* va, uint64_t size, uint64_t access_type); +/** @fn mm_flush_pages() + * @brief System call to flush pages + * @param[in] i_sev - [VmmManager::NORMAL | VmmManager::CRITIAL] + */ +void mm_flush_pages(uint64_t i_sev); + #ifdef __cplusplus } #endif |