Deleted Added
sdiff udiff text old ( 7532:3f6413fc37a2 ) new ( 7741:340b6f01d69b )
full compact
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;

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

41class System;
42
43class SparcLiveProcess : public LiveProcess
44{
45 protected:
46
47 const Addr StackBias;
48
49 //The locations of the fill and spill handlers
50 Addr fillStart, spillStart;
51
52 SparcLiveProcess(LiveProcessParams * params,
53 ObjectFile *objFile, Addr _StackBias);
54
55 void initState();
56
57 template<class IntType>
58 void argsInit(int pageSize);
59
60 public:
61
62 //Handles traps which request services from the operating system
63 virtual void handleTrap(int trapNum, ThreadContext *tc);
64
65 Addr readFillStart()
66 { return fillStart; }
67
68 Addr readSpillStart()
69 { return spillStart; }
70
71 virtual void flushWindows(ThreadContext *tc) = 0;
72 void setSyscallReturn(ThreadContext *tc, SyscallReturn return_value);
73};
74
75class Sparc32LiveProcess : public SparcLiveProcess
76{
77 protected:
78

--- 52 unchanged lines hidden ---