1/* 2 * Copyright (c) 2009 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; --- 104 unchanged lines hidden (view full) --- 113 // Flag that is set when CP0 state has been written to. 114 bool cp0Updated; 115 116 // Enumerated List of CP0 Event Types 117 enum CP0EventType { 118 UpdateCP0 119 }; 120 |
121 /** Process a CP0 event */ 122 void processCP0Event(BaseCPU *cpu, CP0EventType); |
123 |
124 // Schedule a CP0 Update Event 125 void scheduleCP0Update(BaseCPU *cpu, Cycles delay = Cycles(0)); 126 127 // If any changes have been made, then check the state for changes 128 // and if necessary alert the CPU 129 void updateCPU(BaseCPU *cpu); 130 |
131 static std::string miscRegNames[NumMiscRegs]; 132 133 public: 134 void startup(ThreadContext *tc) {} 135 136 /// Explicitly import the otherwise hidden startup 137 using SimObject::startup; 138 --- 47 unchanged lines hidden --- |