summaryrefslogtreecommitdiffstats
path: root/src/include/sys/mm.h
diff options
context:
space:
mode:
authorMatthew Barth <msbarth@us.ibm.com>2011-09-29 15:42:30 -0500
committerMATTHEW S. BARTH <msbarth@us.ibm.com>2011-10-10 15:51:19 -0500
commit8c062af8b6bd50a59823c7ec430ec5fc019052d2 (patch)
treedbe0625a3024a3737ddfa5d32634ce8225fda991 /src/include/sys/mm.h
parent4de170997eee6244b2091bb8bf065ae2da1396d7 (diff)
downloadblackbird-hostboot-8c062af8b6bd50a59823c7ec430ec5fc019052d2.tar.gz
blackbird-hostboot-8c062af8b6bd50a59823c7ec430ec5fc019052d2.zip
Flush/Release/Evict pages functionality
Change-Id: Ic0bb4122164e11f6d13e6850abf8ae9bd32caea2 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/393 Tested-by: Jenkins Server Reviewed-by: MATTHEW S. BARTH <msbarth@us.ibm.com>
Diffstat (limited to 'src/include/sys/mm.h')
-rw-r--r--src/include/sys/mm.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/include/sys/mm.h b/src/include/sys/mm.h
index bfd5a1640..3064e371a 100644
--- a/src/include/sys/mm.h
+++ b/src/include/sys/mm.h
@@ -34,11 +34,16 @@ extern "C"
/**
* Page removal operations
+ *
+ * RELEASE : Writes dirty&write-tracked pages out to a storage device
+ * and removes other pages
+ * FLUSH : Only writes dirty&write-tracked pages out to a storage
+ * device
*/
enum PAGE_REMOVAL_OPS
{
- RELEASE,
- FLUSH,
+ RELEASE = 0,
+ FLUSH = 1,
};
/**
@@ -60,7 +65,8 @@ enum PAGE_PERMISSIONS
* @brief System call to allocate virtual memory block in the base segment
*
* @param[in] mq - Message queue to be associated with the block
- * @param[in] va - Base virtual address of the block to be allocated
+ * @param[in] va - Page aligned base virtual address of the block
+ * to be allocated
* @param[in] size - Requested virtual memory size of the block
*
* @return int - 0 for successful block allocation, non-zero otherwise
OpenPOWER on IntegriCloud