diff options
author | Gabe Black <gabeblack@google.com> | 2019-11-22 15:59:07 -0800 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2019-12-10 23:58:14 +0000 |
commit | 771af751a2f96269dd66f6ec1792364705cf8329 (patch) | |
tree | 31dbafd4b0cbcc28dc3794f78b23c9acc87a083b /src/arch/riscv | |
parent | a33d20ccafdca5338dbdad0659c754ea065e2bfc (diff) | |
download | gem5-771af751a2f96269dd66f6ec1792364705cf8329.tar.xz |
sim: Reintroduce the ignoreWarnOnceFunc syscall handler.
Instead of just using warn_once, we'll gate each warning on a bool
which is associated with the syscall desc pointer. To avoid having to
keep warn once bookkeeping in every syscall desc, we put it in a map
which is looked up at runtime.
Jira Issue: https://gem5.atlassian.net/browse/GEM5-187
Change-Id: I1dcce48de91b8a635f9f3df3bfc0ed6ba1291c4f
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/23168
Maintainer: Gabe Black <gabeblack@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Reviewed-by: Brandon Potter <Brandon.Potter@amd.com>
Diffstat (limited to 'src/arch/riscv')
0 files changed, 0 insertions, 0 deletions