process.cc (12432:2480d8b432f5) | process.cc (12441:ece14e2e8c0a) |
---|---|
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; --- 38 unchanged lines hidden (view full) --- 47 48using namespace AlphaISA; 49using namespace std; 50 51AlphaProcess::AlphaProcess(ProcessParams *params, ObjectFile *objFile) 52 : Process(params, new FuncPageTable(params->name, params->pid, PageBytes), 53 objFile) 54{ | 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; --- 38 unchanged lines hidden (view full) --- 47 48using namespace AlphaISA; 49using namespace std; 50 51AlphaProcess::AlphaProcess(ProcessParams *params, ObjectFile *objFile) 52 : Process(params, new FuncPageTable(params->name, params->pid, PageBytes), 53 objFile) 54{ |
55 fatal_if(!params->useArchPT, "Arch page tables not implemented."); | 55 fatal_if(params->useArchPT, "Arch page tables not implemented."); |
56 Addr brk_point = objFile->dataBase() + objFile->dataSize() + 57 objFile->bssSize(); 58 brk_point = roundUp(brk_point, PageBytes); 59 60 // Set up stack. On Alpha, stack goes below text section. This 61 // code should get moved to some architecture-specific spot. 62 Addr stack_base = objFile->textBase() - (409600+4096); 63 --- 190 unchanged lines hidden --- | 56 Addr brk_point = objFile->dataBase() + objFile->dataSize() + 57 objFile->bssSize(); 58 brk_point = roundUp(brk_point, PageBytes); 59 60 // Set up stack. On Alpha, stack goes below text section. This 61 // code should get moved to some architecture-specific spot. 62 Addr stack_base = objFile->textBase() - (409600+4096); 63 --- 190 unchanged lines hidden --- |