1/* 2 * Copyright (c) 2001-2005 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; --- 336 unchanged lines hidden (view full) --- 345 fatal("Maximum stack size exceeded\n"); 346 if (stack_base - stack_min > 8 * 1024 * 1024) 347 fatal("Over max stack size for one thread\n"); 348 allocateMem(stack_min, TheISA::PageBytes); 349 inform("Increasing stack size by one page."); 350 }; 351 return true; 352 } |
353 return false; 354} 355 356// find all offsets for currently open files and save them 357void 358Process::fix_file_offsets() 359{ 360 Process::FdMap *fdo_stdin = &fd_map[STDIN_FILENO]; --- 370 unchanged lines hidden --- |