summaryrefslogtreecommitdiffstats
path: root/src/kernel/pagemgr.C
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2012-03-21 15:58:32 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2012-03-28 14:21:43 -0500
commit26314374050a4466e378f827a6ab05d2c34a28d9 (patch)
treed1d687a79d635f5d414792c79560edf2bb9a895b /src/kernel/pagemgr.C
parent548d17a3c263373ce3d8ecbd948cb2a0e56bdb9f (diff)
downloadtalos-hostboot-26314374050a4466e378f827a6ab05d2c34a28d9.tar.gz
talos-hostboot-26314374050a4466e378f827a6ab05d2c34a28d9.zip
Make MURANO config work in Simics
This is work for Task 38048 -Updated bbuild to an 810 build with the latest Simics support -Pulled support for Salerno from build tools -Changed DEFAULT_MACHINE to MURANO -Updated testcases to follow error logging guidelines -Fixed up some FSI error handling bugs -Disabled FSI loopback on VENICE (fix with Task 39187) -Disabled a few testcases (see Impediment 39188) Verified both MURANO and VENICE configurations Change-Id: Ie7761f49c9e653489c8c4dad261b1c8852fa7548 RTC: 35596 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/791 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/kernel/pagemgr.C')
-rw-r--r--src/kernel/pagemgr.C5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/kernel/pagemgr.C b/src/kernel/pagemgr.C
index 6b36a1054..858215ecf 100644
--- a/src/kernel/pagemgr.C
+++ b/src/kernel/pagemgr.C
@@ -26,6 +26,8 @@
#include <kernel/console.H>
#include <arch/ppc.H>
#include <util/locked/pqueue.H>
+#include <kernel/task.H>
+#include <kernel/taskmgr.H>
size_t PageManager::cv_coalesce_count = 0;
size_t PageManager::cv_low_page_count = -1;
@@ -118,7 +120,8 @@ void* PageManager::_allocatePage(size_t n)
if (NULL == page)
{
// TODO: Add abort instead.
- printk("Insufficient memory for allocation of size %zd!\n", n);
+ task_t* t = TaskManager::getCurrentTask();
+ printk("Insufficient memory for alloc of size %zd on tid=%d!\n", n, t->tid);
while(1);
}
OpenPOWER on IntegriCloud