base.hh (8779:2a590c51adb1) | base.hh (8793:5f25086326ac) |
---|---|
1/* 2 * Copyright (c) 2002-2005 The Regents of The University of Michigan 3 * Copyright (c) 2011 Regents of the University of California 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: redistributions of source code must retain the above copyright --- 144 unchanged lines hidden (view full) --- 153 clearInterrupts() 154 { 155 interrupts->clearAll(); 156 } 157 158 bool 159 checkInterrupts(ThreadContext *tc) const 160 { | 1/* 2 * Copyright (c) 2002-2005 The Regents of The University of Michigan 3 * Copyright (c) 2011 Regents of the University of California 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: redistributions of source code must retain the above copyright --- 144 unchanged lines hidden (view full) --- 153 clearInterrupts() 154 { 155 interrupts->clearAll(); 156 } 157 158 bool 159 checkInterrupts(ThreadContext *tc) const 160 { |
161 return interrupts->checkInterrupts(tc); | 161 return FullSystem && interrupts->checkInterrupts(tc); |
162 } 163 164 class ProfileEvent : public Event 165 { 166 private: 167 BaseCPU *cpu; 168 Tick interval; 169 --- 149 unchanged lines hidden --- | 162 } 163 164 class ProfileEvent : public Event 165 { 166 private: 167 BaseCPU *cpu; 168 Tick interval; 169 --- 149 unchanged lines hidden --- |