riscv-fesvr
riscv-fesvr copied to clipboard
RISC-V Frontend Server
A clean clone of `riscv-tools`followed by the use of the `build-r32ima.sh` script results in a failure of the form: `device-tree-compiler not found` while attempting to build `riscv-fesvr`.
## build output: g++ -fPIC -MMD -MP -Wall -O2 -std=c++11 -DPREFIX=\"/opt/riscv\" -I. -I../fesvr -c ../fesvr/elfloader.cc ../fesvr/elfloader.cc:1:0: warning: -fPIC ignored for target (all code is position independent) // See LICENSE for...
I'm mostly filing this issue so I can point out what would need to change for v13 of the spec. Will add some pointers to line numbers here.
``` In file included from ../fesvr/tsi.cc:1: ../fesvr/tsi.h:39:10: warning: 'chunk_align' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] size_t chunk_align() { return 4; } ^ ../fesvr/htif.h:35:18: note: overridden virtual...
Adds simple flag to htif_t to enable loading a flat binary to target @ 0x2000. Flag defaults to false to maintain current ELF loading behavior. Included flatloader.cc based on existing...