diff options
author | Alec Roelke <ar4jc@virginia.edu> | 2017-12-14 12:17:31 -0500 |
---|---|---|
committer | Alec Roelke <ar4jc@virginia.edu> | 2017-12-14 21:49:11 +0000 |
commit | c5095c75f7a721551816efd16196d88eb997ec5a (patch) | |
tree | 89da07ae0b668829ddb2f9bf1a5baa8a6447666d /src/mem/ruby/system | |
parent | e43d24590329453a8fbf14850a3884b3919b74aa (diff) | |
download | gem5-c5095c75f7a721551816efd16196d88eb997ec5a.tar.xz |
arch-riscv: Define AT_RANDOM properly
According to the getauxval(3) man page, the AT_RANDOM aux value should
be a pointer to 16 random bytes. In the initial implementation of
RISC-V, this was based on spike's program stack setup, which copied the
program header table there instead. This patch changes the
implementation to use the proper 16 random bytes, making it compatible
with some RISC-V programs that use custom linker scripts.
Change-Id: Idaae7f19bf3ed3fd06d293e5e9c0b6f778270eb2
Reviewed-on: https://gem5-review.googlesource.com/6681
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Alec Roelke <ar4jc@virginia.edu>
Diffstat (limited to 'src/mem/ruby/system')
0 files changed, 0 insertions, 0 deletions