process.cc (8215:1c89a6d235b9) process.cc (8216:70e61aa65759)
1/*
2 * Copyright (c) 2010 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 488 unchanged lines hidden (view full) ---

497
498 if (callnum < 0 || callnum > Num_Syscall_Descs)
499 return NULL;
500
501 return &syscallDescs[callnum];
502}
503
504void
1/*
2 * Copyright (c) 2010 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 488 unchanged lines hidden (view full) ---

497
498 if (callnum < 0 || callnum > Num_Syscall_Descs)
499 return NULL;
500
501 return &syscallDescs[callnum];
502}
503
504void
505ArmLinuxProcess::startup()
505ArmLinuxProcess::initState()
506{
506{
507 ArmLiveProcess::startup();
507 ArmLiveProcess::initState();
508 pTable->allocate(commPage, PageBytes);
509 ThreadContext *tc = system->getThreadContext(contextIds[0]);
510
511 uint8_t swiNeg1[] = {
512 0xff, 0xff, 0xff, 0xef // swi -1
513 };
514
515 // Fill this page with swi -1 so we'll no if we land in it somewhere.

--- 52 unchanged lines hidden ---
508 pTable->allocate(commPage, PageBytes);
509 ThreadContext *tc = system->getThreadContext(contextIds[0]);
510
511 uint8_t swiNeg1[] = {
512 0xff, 0xff, 0xff, 0xef // swi -1
513 };
514
515 // Fill this page with swi -1 so we'll no if we land in it somewhere.

--- 52 unchanged lines hidden ---