summaryrefslogtreecommitdiffstats
path: root/src/usr/testcore
diff options
context:
space:
mode:
authorPatrick Williams <iawillia@us.ibm.com>2011-08-22 16:20:11 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2011-08-31 14:24:59 -0500
commit0ebac914541254c4b9ee2a271f26cd67fc2b94a0 (patch)
tree872be77d5870ea788513d8cb044f837904ddf8cc /src/usr/testcore
parentf7b7b56dea28dd69a44a877f7b7073c4496ced9e (diff)
downloadtalos-hostboot-0ebac914541254c4b9ee2a271f26cd67fc2b94a0.tar.gz
talos-hostboot-0ebac914541254c4b9ee2a271f26cd67fc2b94a0.zip
Dynamic stack support.
- Create stack segment. - Allocate stack blocks on stack create. Change-Id: Ida90055afb68f208c479b5fdc19d3d931d026105 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/271 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/testcore')
-rw-r--r--src/usr/testcore/kernel/slbtest.H22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/usr/testcore/kernel/slbtest.H b/src/usr/testcore/kernel/slbtest.H
index 82a8d26b0..2112b7fa8 100644
--- a/src/usr/testcore/kernel/slbtest.H
+++ b/src/usr/testcore/kernel/slbtest.H
@@ -40,19 +40,6 @@ class slbtest: public CxxTest::TestSuite
static volatile int rc;
- void testSLB()
- {
- rc = 0;
- printk("Data Segment exception expected in 1TB segment test - ");
- task_create(writeEA1TB, this);
- while (rc == 0) task_yield();
- task_yield();
- if (rc == -1)
- {
- TS_FAIL("Data Segment exception expected in 1TB segment\n");
- }
- }
-
void testDevSeg()
{
int rc = 0;
@@ -111,15 +98,6 @@ class slbtest: public CxxTest::TestSuite
private:
- static void writeEA1TB(void *i_p)
- {
- rc = 1;
- sync();
- *(int *)0x10000000000 = 1;
- sync();
- rc = -1;
- task_end();
- }
};
volatile int slbtest::rc = 0;
OpenPOWER on IntegriCloud