syscall_emul: fix warn_once behavior
Review Request #2726 - Created April 2, 2015 and submitted
Information | |
---|---|
Steve Reinhardt | |
gem5 | |
default | |
Reviewers | |
Default | |
Changeset 10773:20d671d6ee6d --------------------------- 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.
Ship It!
Posted (May 5, 2015, 4:03 a.m.)
-
src/sim/syscall_emul.hh (Diff revision 1) -
const