process.cc (8324:aa7a67647c7b) process.cc (8534:09745e0c3dd9)
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;

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

346 fatal("Maximum stack size exceeded\n");
347 if(stack_base - stack_min > 8*1024*1024)
348 fatal("Over max stack size for one thread\n");
349 pTable->allocate(stack_min, TheISA::PageBytes);
350 inform("Increasing stack size by one page.");
351 };
352 return true;
353 }
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;

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

346 fatal("Maximum stack size exceeded\n");
347 if(stack_base - stack_min > 8*1024*1024)
348 fatal("Over max stack size for one thread\n");
349 pTable->allocate(stack_min, TheISA::PageBytes);
350 inform("Increasing stack size by one page.");
351 };
352 return true;
353 }
354 warn("Not increasing stack: requested vaddr is outside of stack range.");
354 return false;
355}
356
357// find all offsets for currently open files and save them
358void
359Process::fix_file_offsets()
360{
361 Process::FdMap *fdo_stdin = &fd_map[STDIN_FILENO];

--- 371 unchanged lines hidden ---
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];

--- 371 unchanged lines hidden ---