process.cc (5183:b4decf133fe4) process.cc (5188:974af6059943)
1/*
2 * Copyright (c) 2003-2006 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;

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

121
122 // Set up stack. On X86_64 Linux, stack goes from the top of memory
123 // downward, less the hole for the kernel address space plus one page
124 // for undertermined purposes.
125 stack_base = (Addr)0x7FFFFFFFF000ULL;
126
127 // Set up region for mmaps. This was determined empirically and may not
128 // always be correct.
1/*
2 * Copyright (c) 2003-2006 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;

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

121
122 // Set up stack. On X86_64 Linux, stack goes from the top of memory
123 // downward, less the hole for the kernel address space plus one page
124 // for undertermined purposes.
125 stack_base = (Addr)0x7FFFFFFFF000ULL;
126
127 // Set up region for mmaps. This was determined empirically and may not
128 // always be correct.
129 mmap_start = mmap_end = 0x2aaaaaaab000;
129 mmap_start = mmap_end = (Addr)0x2aaaaaaab000ULL;
130}
131
132void X86LiveProcess::handleTrap(int trapNum, ThreadContext *tc)
133{
134 switch(trapNum)
135 {
136 default:
137 panic("Unimplemented trap to operating system: trap number %#x.\n", trapNum);

--- 334 unchanged lines hidden ---
130}
131
132void X86LiveProcess::handleTrap(int trapNum, ThreadContext *tc)
133{
134 switch(trapNum)
135 {
136 default:
137 panic("Unimplemented trap to operating system: trap number %#x.\n", trapNum);

--- 334 unchanged lines hidden ---