sim: Clean up some constants used in some syscalls.
authorGabe Black <gabeblack@google.com>
Sat, 7 Dec 2019 11:35:39 +0000 (03:35 -0800)
committerGabe Black <gabeblack@google.com>
Thu, 12 Mar 2020 07:21:13 +0000 (07:21 +0000)
commitb2625d0b03d375085fb1989fa95871255850c7d4
treef5a42f75ded55c12d30cabc4dbd4fa6ee36497d8
parent0c00e7851603cbe93a08801fcb69e221866fb0f8
sim: Clean up some constants used in some syscalls.

Having readable constants for these large numbers is good, but they
used incorrect style, were at global scope, and were only used in one
place.

This change centralizes them where they're used, fixes their style, and
rewrites the actual constants in a way that makes it clear what they're
values are.

Change-Id: Ib89c46fce133d4180296d384a61d51d1fe1f8d20
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/23455
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Bobby R. Bruce <bbruce@ucdavis.edu>
Maintainer: Gabe Black <gabeblack@google.com>
src/sim/syscall_emul.hh