process.hh (5958:2d9737bf3c2f) | process.hh (6075:1e1a874f9b17) |
---|---|
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; --- 29 unchanged lines hidden (view full) --- 38namespace SparcISA { 39 40//This contains all of the common elements of a SPARC Linux process which 41//are not shared by other operating systems. The rest come from the common 42//SPARC process class. 43class SparcLinuxProcess 44{ 45 public: | 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; --- 29 unchanged lines hidden (view full) --- 38namespace SparcISA { 39 40//This contains all of the common elements of a SPARC Linux process which 41//are not shared by other operating systems. The rest come from the common 42//SPARC process class. 43class SparcLinuxProcess 44{ 45 public: |
46 SparcLinuxProcess(); 47 | |
48 /// Array of syscall descriptors, indexed by call number. 49 static SyscallDesc syscallDescs[]; 50 51 /// Array of 32 bit compatibility syscall descriptors, 52 /// indexed by call number. 53 static SyscallDesc syscall32Descs[]; 54 55 SyscallDesc* getDesc(int callnum); 56 SyscallDesc* getDesc32(int callnum); 57 | 46 /// Array of syscall descriptors, indexed by call number. 47 static SyscallDesc syscallDescs[]; 48 49 /// Array of 32 bit compatibility syscall descriptors, 50 /// indexed by call number. 51 static SyscallDesc syscall32Descs[]; 52 53 SyscallDesc* getDesc(int callnum); 54 SyscallDesc* getDesc32(int callnum); 55 |
58 const int Num_Syscall_Descs; 59 const int Num_Syscall32_Descs; | 56 static const int Num_Syscall_Descs; 57 static const int Num_Syscall32_Descs; |
60}; 61 62/// A process with emulated SPARC/Linux syscalls. 63class Sparc32LinuxProcess : public SparcLinuxProcess, public Sparc32LiveProcess 64{ 65 public: 66 /// Constructor. 67 Sparc32LinuxProcess(LiveProcessParams * params, ObjectFile *objFile); --- 29 unchanged lines hidden --- | 58}; 59 60/// A process with emulated SPARC/Linux syscalls. 61class Sparc32LinuxProcess : public SparcLinuxProcess, public Sparc32LiveProcess 62{ 63 public: 64 /// Constructor. 65 Sparc32LinuxProcess(LiveProcessParams * params, ObjectFile *objFile); --- 29 unchanged lines hidden --- |