Review Board 2.0.15


riscv: [Patch 6/5] Improve Linux emulation for RISC-V

Review Request #3668 - Created Oct. 14, 2016 and submitted

Information
Alec Roelke
gem5
default
Reviewers
Default
Changeset 11693:ac593e3451c7
---------------------------
riscv: [Patch 6/5] Improve Linux emulation for RISC-V

This is an add-on patch for the original series that implemented RISC-V
that improves the implementation of Linux emulation for SE mode. Basically
it cleans up linux/linux.hh by removing constants that haven't been
defined for the RISC-V Linux proxy kernel and rearranging the stat
struct so it aligns with RISC-V's implementation of it. It also adds
placeholders for system calls that have been given numbers in RISC-V
but haven't been given implementations yet. These system calls are
as follows:
- readlinkat
- sigprocmask
- ioctl
- clock_gettime
- getrusage
- getrlimit
- setrlimit

The first five patches implemented RISC-V with the base ISA and multiply,
floating point, and atomic extensions and added support for detailed
CPU models with memory timing.

[Fixed incompatibility with changes made from patch 1.]
Signed-off by: Alec Roelke

   
Review request changed
Updated (Dec. 8, 2016, 3:16 p.m.)

Status: Closed (submitted)