summaryrefslogtreecommitdiffstats
path: root/src/kernel/blockmsghdlr.C
diff options
context:
space:
mode:
authorMissy Connell <missyc@us.ibm.com>2011-10-25 11:12:55 -0500
committerMelissa J. Connell <missyc@us.ibm.com>2011-10-27 15:56:31 -0500
commit9e86b070a4429e7db34a5438611a67098ab92dfb (patch)
tree52e04b08288a7496359c41eff98e8463e73ae5dc /src/kernel/blockmsghdlr.C
parent71564141e3a6c7f023a9484549baf319f0e1807e (diff)
downloadtalos-hostboot-9e86b070a4429e7db34a5438611a67098ab92dfb.tar.gz
talos-hostboot-9e86b070a4429e7db34a5438611a67098ab92dfb.zip
Full permissions with no_access as default
MERGED changes.. only need Patrick and Mark to review extintsvctasks.H Change-Id: Iba5814e1b5913c6181a2be96df9682555fa2ab58 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/458 Tested-by: Jenkins Server Reviewed-by: Melissa J. Connell <missyc@us.ibm.com>
Diffstat (limited to 'src/kernel/blockmsghdlr.C')
-rw-r--r--src/kernel/blockmsghdlr.C9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/kernel/blockmsghdlr.C b/src/kernel/blockmsghdlr.C
index fc49ae89d..6a69f3b31 100644
--- a/src/kernel/blockmsghdlr.C
+++ b/src/kernel/blockmsghdlr.C
@@ -23,7 +23,7 @@
#include <kernel/blockmsghdlr.H>
#include <kernel/block.H>
#include <kernel/pagemgr.H>
-
+#include <kernel/basesegment.H>
MessageHandler::HandleResult BlockReadMsgHdlr::handleResponse(
msg_sys_types_t i_type, void* i_key, task_t* i_task, int i_rc)
{
@@ -37,6 +37,13 @@ MessageHandler::HandleResult BlockReadMsgHdlr::handleResponse(
{
//Set the present bit for the address associated with this block
iv_block->setIsPresent(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;
OpenPOWER on IntegriCloud