process.cc (5958:2d9737bf3c2f) | process.cc (6110:5051aafec8d5) |
---|---|
1/* 2 * Copyright (c) 2003-2004 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 28 unchanged lines hidden (view full) --- 37#include "cpu/thread_context.hh" 38#include "mem/page_table.hh" 39#include "sim/process_impl.hh" 40#include "sim/system.hh" 41 42using namespace AlphaISA; 43using namespace std; 44 | 1/* 2 * Copyright (c) 2003-2004 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 28 unchanged lines hidden (view full) --- 37#include "cpu/thread_context.hh" 38#include "mem/page_table.hh" 39#include "sim/process_impl.hh" 40#include "sim/system.hh" 41 42using namespace AlphaISA; 43using namespace std; 44 |
45static const int SyscallSuccessReg = 19; 46 | |
47AlphaLiveProcess::AlphaLiveProcess(LiveProcessParams *params, 48 ObjectFile *objFile) 49 : LiveProcess(params, objFile) 50{ 51 brk_point = objFile->dataBase() + objFile->dataSize() + objFile->bssSize(); 52 brk_point = roundUp(brk_point, VMPageSize); 53 54 // Set up stack. On Alpha, stack goes below text section. This --- 175 unchanged lines hidden --- | 45AlphaLiveProcess::AlphaLiveProcess(LiveProcessParams *params, 46 ObjectFile *objFile) 47 : LiveProcess(params, objFile) 48{ 49 brk_point = objFile->dataBase() + objFile->dataSize() + objFile->bssSize(); 50 brk_point = roundUp(brk_point, VMPageSize); 51 52 // Set up stack. On Alpha, stack goes below text section. This --- 175 unchanged lines hidden --- |