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 /** 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); |
123 |
124 /** Executes a syscall specified by the callnum. */ 125 void syscall(int64_t callnum); |
126 127 /** Finish a DTB address translation. */ 128 void finishTranslation(WholeTranslationState *state); 129}; |