summaryrefslogtreecommitdiffstats
path: root/src/include/kernel
diff options
context:
space:
mode:
authorMissy Connell <missyc@us.ibm.com>2011-11-03 12:13:31 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2011-11-17 09:05:52 -0600
commitd7f4265a6a3f73e98024e9d9c7f9cc36d4d27b9d (patch)
tree8e7a45345ffd40cd7062e21b46bb4dafacb30dc2 /src/include/kernel
parentc1fd3de01dcf928cfbd917fb9fe08661808e14ba (diff)
downloadtalos-hostboot-d7f4265a6a3f73e98024e9d9c7f9cc36d4d27b9d.tar.gz
talos-hostboot-d7f4265a6a3f73e98024e9d9c7f9cc36d4d27b9d.zip
permissions update.. heap (write, no execute), Error when page fault on no_access SPTE entry
Change-Id: I66e0aa4f47819dd2cc4be69ff6f18ca1d4a851e4 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/484 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/kernel')
-rw-r--r--src/include/kernel/block.H15
1 files changed, 6 insertions, 9 deletions
diff --git a/src/include/kernel/block.H b/src/include/kernel/block.H
index b5ab709cc..df48c6b27 100644
--- a/src/include/kernel/block.H
+++ b/src/include/kernel/block.H
@@ -212,29 +212,26 @@ class Block
*/
int mmSetPermission(uint64_t i_va, uint64_t i_size, uint64_t i_access_type);
+
/**
* @brief Adds the page table entry for the given address
+ * along with setting the shadow PTE entry to present
+ * and setting the base block heap SPTE page entry
+ * permissions to NO_ACCESS
*
* @param[in] i_vaddr - Virtual address to add to the page table
*
* The permissions set within the Shadow page table are used for
* this address
*/
- void addPTE(void* i_vaddr);
-
- /**
- * @brief Sets the 'present' bit within the Shadow page table
- *
- * @param[in] i_vaddr - Virtual address within the Shadow page table
- */
- void setIsPresent(void* i_vaddr);
+ void attachSPTE(void* i_vaddr);
/**
* @brief Effectively removes the given page table entry from the
* shadow page table
* @param[in] i_pte - Shadow page table entry to release
*/
- void releasePTE(ShadowPTE* i_pte);
+ void releaseSPTE(ShadowPTE* i_pte);
/**
* @brief Cast out older phyiscal memory pages
OpenPOWER on IntegriCloud