exec_context.hh (4172:141705d83494) exec_context.hh (5639:67cc7f0427e7)
1/*
2 * Copyright (c) 2002-2005 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;

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

139 void prefetch(Addr addr, unsigned flags);
140
141 /** Hints to the memory system that an address will be written to
142 * soon, with the given size. Creates a memory request with the
143 * given flags. */
144 void writeHint(Addr addr, int size, unsigned flags);
145
146#if FULL_SYSTEM
1/*
2 * Copyright (c) 2002-2005 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;

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

139 void prefetch(Addr addr, unsigned flags);
140
141 /** Hints to the memory system that an address will be written to
142 * soon, with the given size. Creates a memory request with the
143 * given flags. */
144 void writeHint(Addr addr, int size, unsigned flags);
145
146#if FULL_SYSTEM
147 /** Somewhat Alpha-specific function that handles returning from
148 * an error or interrupt. */
149 Fault hwrei();
150
151 /**
152 * Check for special simulator handling of specific PAL calls. If
153 * return value is false, actual PAL call will be suppressed.
154 */
155 bool simPalCheck(int palFunc);
156#else
157 /** Executes a syscall specified by the callnum. */
158 void syscall(int64_t callnum);
159#endif
160};
147 /**
148 * Check for special simulator handling of specific PAL calls. If
149 * return value is false, actual PAL call will be suppressed.
150 */
151 bool simPalCheck(int palFunc);
152#else
153 /** Executes a syscall specified by the callnum. */
154 void syscall(int64_t callnum);
155#endif
156};