summaryrefslogtreecommitdiffstats
path: root/src/kernel
diff options
context:
space:
mode:
authorPatrick Williams <iawillia@us.ibm.com>2013-07-16 15:29:15 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2013-09-17 16:45:31 -0500
commit5652d7c0c6a8db05699f2b4334e4615e1ba22127 (patch)
treea04321010213943bc44a908a0de0e88149a7e7de /src/kernel
parent7c3226b7ef2b3e09bd40823732f05fbf0fe6778f (diff)
downloadtalos-hostboot-5652d7c0c6a8db05699f2b4334e4615e1ba22127.tar.gz
talos-hostboot-5652d7c0c6a8db05699f2b4334e4615e1ba22127.zip
Initial Hostboot Runtime image support.
RTC: 76675 Change-Id: Ibd21cf5b555e6dcee182a2f1a292b47d4f384ba0 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/6127 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/kernel')
-rw-r--r--src/kernel/basesegment.C2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/basesegment.C b/src/kernel/basesegment.C
index e9f966433..c9843beda 100644
--- a/src/kernel/basesegment.C
+++ b/src/kernel/basesegment.C
@@ -73,7 +73,7 @@ void BaseSegment::_init()
if (i == 0) continue;
// Set pages in kernel text section to be read-only / executable.
- if (((uint64_t)&data_load_address) > i)
+ if ((ALIGN_PAGE_DOWN((uint64_t)&data_load_address)) > i)
{
// Set the Text section to Excutable (implies read)
iv_block->setPhysicalPage(i, i, EXECUTABLE);
OpenPOWER on IntegriCloud