diff options
author | Nathan Binkert <nate@binkert.org> | 2008-10-21 07:12:53 -0700 |
---|---|---|
committer | Nathan Binkert <nate@binkert.org> | 2008-10-21 07:12:53 -0700 |
commit | 9836d81c2bba97e36c43ca22feee1d51a12ce6ac (patch) | |
tree | eaa352df03cfe58d315e975bbe2a6384c801f221 /src/cpu/o3/commit_impl.hh | |
parent | aac93b7d0ce5e8e0241c7299b49cc59a9d095f3e (diff) | |
download | gem5-9836d81c2bba97e36c43ca22feee1d51a12ce6ac.tar.xz |
style: Use the correct m5 style for things relating to interrupts.
Diffstat (limited to 'src/cpu/o3/commit_impl.hh')
-rw-r--r-- | src/cpu/o3/commit_impl.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cpu/o3/commit_impl.hh b/src/cpu/o3/commit_impl.hh index 68fc6ef3b..46c4158f6 100644 --- a/src/cpu/o3/commit_impl.hh +++ b/src/cpu/o3/commit_impl.hh @@ -665,7 +665,7 @@ DefaultCommit<Impl>::handleInterrupt() DPRINTF(Commit, "Interrupt pending, waiting for ROB to empty.\n"); } } else if (commitStatus[0] != TrapPending && - cpu->check_interrupts(cpu->tcBase(0)) && + cpu->checkInterrupts(cpu->tcBase(0)) && !trapSquash[0] && !tcSquash[0]) { // Process interrupts if interrupts are enabled, not in PAL @@ -695,7 +695,7 @@ DefaultCommit<Impl>::commit() // Check for any interrupt, and start processing it. Or if we // have an outstanding interrupt and are at a point when it is // valid to take an interrupt, process it. - if (cpu->check_interrupts(cpu->tcBase(0))) { + if (cpu->checkInterrupts(cpu->tcBase(0))) { handleInterrupt(); } #endif // FULL_SYSTEM |