diff options
Diffstat (limited to 'src/usr/testcore/kernel/vmmpagetest.H')
| -rw-r--r-- | src/usr/testcore/kernel/vmmpagetest.H | 55 |
1 files changed, 28 insertions, 27 deletions
diff --git a/src/usr/testcore/kernel/vmmpagetest.H b/src/usr/testcore/kernel/vmmpagetest.H index a6679cc81..51b40731e 100644 --- a/src/usr/testcore/kernel/vmmpagetest.H +++ b/src/usr/testcore/kernel/vmmpagetest.H @@ -1,25 +1,25 @@ -// IBM_PROLOG_BEGIN_TAG -// This is an automatically generated prolog. -// -// $Source: src/usr/testcore/kernel/vmmpagetest.H $ -// -// IBM CONFIDENTIAL -// -// COPYRIGHT International Business Machines Corp. 2011 -// -// p1 -// -// Object Code Only (OCO) source materials -// Licensed Internal Code Source Materials -// IBM HostBoot Licensed Internal Code -// -// The source code for this program is not published or other- -// wise divested of its trade secrets, irrespective of what has -// been deposited with the U.S. Copyright Office. -// -// Origin: 30 -// -// IBM_PROLOG_END +/* IBM_PROLOG_BEGIN_TAG */ +/* This is an automatically generated prolog. */ +/* */ +/* $Source: src/usr/testcore/kernel/vmmpagetest.H $ */ +/* */ +/* IBM CONFIDENTIAL */ +/* */ +/* COPYRIGHT International Business Machines Corp. 2011,2012 */ +/* */ +/* p1 */ +/* */ +/* Object Code Only (OCO) source materials */ +/* Licensed Internal Code Source Materials */ +/* IBM HostBoot Licensed Internal Code */ +/* */ +/* The source code for this program is not published or otherwise */ +/* divested of its trade secrets, irrespective of what has been */ +/* deposited with the U.S. Copyright Office. */ +/* */ +/* Origin: 30 */ +/* */ +/* IBM_PROLOG_END_TAG */ #ifndef __VMMPAGETEST_H #define __VMMPAGETEST_H /** @@ -211,7 +211,7 @@ class vmmpagetest: public CxxTest::TestSuite private: - static void testDaemon(void* unused) + static void* testDaemon(void* unused) { msg_t* message = NULL; uint64_t ea = 0; @@ -227,19 +227,20 @@ class vmmpagetest: public CxxTest::TestSuite rc = msg_respond(iv_mq, message); } } + return NULL; } - static void writeAddrWithNoPerm(void* unused) + static void* writeAddrWithNoPerm(void* unused) { (*(volatile uint64_t *)(iv_va+4*PAGESIZE)) = 0x11111111; sync(); - task_end(); + return NULL; } - static void writeAddrWithNoPerm2(void* unused) + static void* writeAddrWithNoPerm2(void* unused) { (*(volatile uint64_t *)(iv_va+4*PAGESIZE+2*PAGESIZE)) = 0x22222222; sync(); - task_end(); + return NULL; } |

