process.cc (5973:07444c3d0a07) process.cc (6110:5051aafec8d5)
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;

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

99#include "mem/translating_port.hh"
100#include "sim/process_impl.hh"
101#include "sim/syscall_emul.hh"
102#include "sim/system.hh"
103
104using namespace std;
105using namespace X86ISA;
106
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;

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

99#include "mem/translating_port.hh"
100#include "sim/process_impl.hh"
101#include "sim/syscall_emul.hh"
102#include "sim/system.hh"
103
104using namespace std;
105using namespace X86ISA;
106
107static const int ReturnValueReg = INTREG_RAX;
108static const int ArgumentReg[] = {
109 INTREG_RDI,
110 INTREG_RSI,
111 INTREG_RDX,
112 //This argument register is r10 for syscalls and rcx for C.
113 INTREG_R10W,
114 //INTREG_RCX,
115 INTREG_R8W,

--- 583 unchanged lines hidden ---
107static const int ArgumentReg[] = {
108 INTREG_RDI,
109 INTREG_RSI,
110 INTREG_RDX,
111 //This argument register is r10 for syscalls and rcx for C.
112 INTREG_R10W,
113 //INTREG_RCX,
114 INTREG_R8W,

--- 583 unchanged lines hidden ---