diff options
Diffstat (limited to 'src/include/kernel/block.H')
-rw-r--r-- | src/include/kernel/block.H | 15 |
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 |