exec_context.hh (8444:56de1f9320df) | exec_context.hh (8779:2a590c51adb1) |
---|---|
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; --- 97 unchanged lines hidden (view full) --- 106 /** Returns a pointer to the ThreadContext. */ 107 ThreadContext *tcBase(); 108 109 Fault readMem(Addr addr, uint8_t *data, unsigned size, unsigned flags); 110 111 Fault writeMem(uint8_t *data, unsigned size, 112 Addr addr, unsigned flags, uint64_t *res); 113 | 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; --- 97 unchanged lines hidden (view full) --- 106 /** Returns a pointer to the ThreadContext. */ 107 ThreadContext *tcBase(); 108 109 Fault readMem(Addr addr, uint8_t *data, unsigned size, unsigned flags); 110 111 Fault writeMem(uint8_t *data, unsigned size, 112 Addr addr, unsigned flags, uint64_t *res); 113 |
114#if FULL_SYSTEM | |
115 /** Somewhat Alpha-specific function that handles returning from 116 * an error or interrupt. */ 117 Fault hwrei(); 118 119 /** 120 * Check for special simulator handling of specific PAL calls. If 121 * return value is false, actual PAL call will be suppressed. 122 */ 123 bool simPalCheck(int palFunc); | 114 /** Somewhat Alpha-specific function that handles returning from 115 * an error or interrupt. */ 116 Fault hwrei(); 117 118 /** 119 * Check for special simulator handling of specific PAL calls. If 120 * return value is false, actual PAL call will be suppressed. 121 */ 122 bool simPalCheck(int palFunc); |
124#else | 123 |
125 /** Executes a syscall specified by the callnum. */ 126 void syscall(int64_t callnum); | 124 /** Executes a syscall specified by the callnum. */ 125 void syscall(int64_t callnum); |
127#endif | |
128 129 /** Finish a DTB address translation. */ 130 void finishTranslation(WholeTranslationState *state); 131}; | 126 127 /** Finish a DTB address translation. */ 128 void finishTranslation(WholeTranslationState *state); 129}; |