process.hh (5569:baeee670d4ce) | process.hh (11851:824055fe6b30) |
---|---|
1/* 2 * Copyright (c) 2003-2004 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; --- 22 unchanged lines hidden (view full) --- 31#ifndef __ALPHA_LINUX_PROCESS_HH__ 32#define __ALPHA_LINUX_PROCESS_HH__ 33 34#include "arch/alpha/process.hh" 35 36namespace AlphaISA { 37 38/// A process with emulated Alpha/Linux syscalls. | 1/* 2 * Copyright (c) 2003-2004 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; --- 22 unchanged lines hidden (view full) --- 31#ifndef __ALPHA_LINUX_PROCESS_HH__ 32#define __ALPHA_LINUX_PROCESS_HH__ 33 34#include "arch/alpha/process.hh" 35 36namespace AlphaISA { 37 38/// A process with emulated Alpha/Linux syscalls. |
39class AlphaLinuxProcess : public AlphaLiveProcess | 39class AlphaLinuxProcess : public AlphaProcess |
40{ 41 public: 42 /// Constructor. | 40{ 41 public: 42 /// Constructor. |
43 AlphaLinuxProcess(LiveProcessParams * params, ObjectFile *objFile); | 43 AlphaLinuxProcess(ProcessParams * params, ObjectFile *objFile); |
44 45 virtual SyscallDesc* getDesc(int callnum); 46 47 /// Array of syscall descriptors, indexed by call number. 48 static SyscallDesc syscallDescs[]; 49 50 const int Num_Syscall_Descs; 51}; 52 53} // namespace AlphaISA 54 55#endif // __ALPHA_LINUX_PROCESS_HH__ | 44 45 virtual SyscallDesc* getDesc(int callnum); 46 47 /// Array of syscall descriptors, indexed by call number. 48 static SyscallDesc syscallDescs[]; 49 50 const int Num_Syscall_Descs; 51}; 52 53} // namespace AlphaISA 54 55#endif // __ALPHA_LINUX_PROCESS_HH__ |