Alec Roelke has uploaded a new patch set (#2). ( https://gem5-review.googlesource.com/6681 )

Change subject: arch-riscv: Define AT_RANDOM properly
......................................................................

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
---
M src/arch/riscv/process.cc
1 file changed, 11 insertions(+), 10 deletions(-)


--
To view, visit https://gem5-review.googlesource.com/6681
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Idaae7f19bf3ed3fd06d293e5e9c0b6f778270eb2
Gerrit-Change-Number: 6681
Gerrit-PatchSet: 2
Gerrit-Owner: Alec Roelke <ar...@virginia.edu>
Gerrit-CC: Jason Lowe-Power <ja...@lowepower.com>
_______________________________________________
gem5-dev mailing list
gem5-dev@gem5.org
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to