diff options
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 |