diff options
author | Steve Reinhardt <steve.reinhardt@amd.com> | 2015-05-05 09:25:59 -0700 |
---|---|---|
committer | Steve Reinhardt <steve.reinhardt@amd.com> | 2015-05-05 09:25:59 -0700 |
commit | c65fa3dceb2163967bbb7199013e9fccdc6ff46c (patch) | |
tree | f31fe624e5923d05433fae473512eba6fb39e061 /configs/splash2 | |
parent | 40e180ecbe2e8201c9a0bc9b6676c9f030e95fdd (diff) | |
download | gem5-c65fa3dceb2163967bbb7199013e9fccdc6ff46c.tar.xz |
syscall_emul: fix warn_once behavior
The current ignoreWarnOnceFunc doesn't really work as expected,
since it will only generate one warning total, for whichever
"warn-once" syscall is invoked first. This patch fixes that
behavior by keeping a "warned" flag in the SyscallDesc object,
allowing suitably flagged syscalls to warn exactly once per
syscall.
Diffstat (limited to 'configs/splash2')
0 files changed, 0 insertions, 0 deletions