exec_context.hh (2946:015472193926) exec_context.hh (3454:26850ac19a39)
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 * soon, with the given size. Creates a memory request with the
140 * given flags. */
141 void writeHint(Addr addr, int size, unsigned flags);
142
143#if FULL_SYSTEM
144 /** Somewhat Alpha-specific function that handles returning from
145 * an error or interrupt. */
146 Fault hwrei();
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 * soon, with the given size. Creates a memory request with the
140 * given flags. */
141 void writeHint(Addr addr, int size, unsigned flags);
142
143#if FULL_SYSTEM
144 /** Somewhat Alpha-specific function that handles returning from
145 * an error or interrupt. */
146 Fault hwrei();
147 /** Reads the interrupt flags. */
148 int readIntrFlag();
149 /** Sets the interrupt flags to a value. */
150 void setIntrFlag(int val);
151
152 /**
153 * Check for special simulator handling of specific PAL calls. If
154 * return value is false, actual PAL call will be suppressed.
155 */
156 bool simPalCheck(int palFunc);
157#else
158 /** Executes a syscall specified by the callnum. */
159 void syscall(int64_t callnum);
160#endif
161};
147
148 /**
149 * Check for special simulator handling of specific PAL calls. If
150 * return value is false, actual PAL call will be suppressed.
151 */
152 bool simPalCheck(int palFunc);
153#else
154 /** Executes a syscall specified by the callnum. */
155 void syscall(int64_t callnum);
156#endif
157};