diff options
author | Missy Connell <missyc@us.ibm.com> | 2011-11-03 12:13:31 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2011-11-17 09:05:52 -0600 |
commit | d7f4265a6a3f73e98024e9d9c7f9cc36d4d27b9d (patch) | |
tree | 8e7a45345ffd40cd7062e21b46bb4dafacb30dc2 /src/kernel/blockmsghdlr.C | |
parent | c1fd3de01dcf928cfbd917fb9fe08661808e14ba (diff) | |
download | talos-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/kernel/blockmsghdlr.C')
-rw-r--r-- | src/kernel/blockmsghdlr.C | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/src/kernel/blockmsghdlr.C b/src/kernel/blockmsghdlr.C index 6a69f3b31..e52c21361 100644 --- a/src/kernel/blockmsghdlr.C +++ b/src/kernel/blockmsghdlr.C @@ -35,17 +35,11 @@ MessageHandler::HandleResult BlockReadMsgHdlr::handleResponse( } else { - //Set the present bit for the address associated with this block - iv_block->setIsPresent(i_key); + // Call the function that attaches PTE and sets the + // sPTE entry to present while updating permissions + // on the sPTE entry of the physical addr. + iv_block->attachSPTE(i_key); - // TODO.. Add this call here and test - // update permission for the page that corresponds - // to the physical page addr. - // BaseSegment::mmSetPermission(i_key, 0, NO_ACCESS); - - - //Add the address into the page table associated with this block - iv_block->addPTE(i_key); return SUCCESS; } } |