process.cc (8795:0909f8ed7aa0) process.cc (8796:a2ae5c378d0a)
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 }
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 warn("Not extending stack: address %#x isn't at the end of the stack.",
354 vaddr);
355 return false;
356}
357
358// find all offsets for currently open files and save them
359void
360Process::fix_file_offsets()
361{
362 Process::FdMap *fdo_stdin = &fd_map[STDIN_FILENO];

--- 370 unchanged lines hidden ---
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 ---