process.hh (11851:824055fe6b30) | process.hh (11877:5ea85692a53e) |
---|---|
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; --- 47 unchanged lines hidden (view full) --- 56 void initState(); 57 58 template<class IntType> 59 void argsInit(int pageSize); 60 61 public: 62 63 // Handles traps which request services from the operating system | 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; --- 47 unchanged lines hidden (view full) --- 56 void initState(); 57 58 template<class IntType> 59 void argsInit(int pageSize); 60 61 public: 62 63 // Handles traps which request services from the operating system |
64 virtual void handleTrap(int trapNum, ThreadContext *tc); | 64 virtual void handleTrap(int trapNum, ThreadContext *tc, Fault *fault); |
65 66 Addr readFillStart() { return fillStart; } 67 Addr readSpillStart() { return spillStart; } 68 69 virtual void flushWindows(ThreadContext *tc) = 0; 70 void setSyscallReturn(ThreadContext *tc, SyscallReturn return_value); 71}; 72 --- 64 unchanged lines hidden --- | 65 66 Addr readFillStart() { return fillStart; } 67 Addr readSpillStart() { return spillStart; } 68 69 virtual void flushWindows(ThreadContext *tc) = 0; 70 void setSyscallReturn(ThreadContext *tc, SyscallReturn return_value); 71}; 72 --- 64 unchanged lines hidden --- |