gem5/ext/libelf
Alec Roelke e76bfc8764 arch: [Patch 1/5] Added RISC-V base instruction set RV64I
First of five patches adding RISC-V to GEM5. This patch introduces the
base 64-bit ISA (RV64I) in src/arch/riscv for use with syscall emulation.
The multiply, floating point, and atomic memory instructions will be added
in additional patches, as well as support for more detailed CPU models.
The loader is also modified to be able to parse RISC-V ELF files, and a
"Hello world\!" example for RISC-V is added to test-progs.

Patch 2 will implement the multiply extension, RV64M; patch 3 will implement
the floating point (single- and double-precision) extensions, RV64FD;
patch 4 will implement the atomic memory instructions, RV64A, and patch 5
will add support for timing, minor, and detailed CPU models that is missing
from the first four patches (such as handling locked memory).

[Removed several unused parameters and imports from RiscvInterrupts.py,
RiscvISA.py, and RiscvSystem.py.]
[Fixed copyright information in RISC-V files copied from elsewhere that had
ARM licenses attached.]
[Reorganized instruction definitions in decoder.isa so that they are sorted
by opcode in preparation for the addition of ISA extensions M, A, F, D.]
[Fixed formatting of several files, removed some variables and
instructions that were missed when moving them to other patches, fixed
RISC-V Foundation copyright attribution, and fixed history of files
copied from other architectures using hg copy.]
[Fixed indentation of switch cases in isa.cc.]
[Reorganized syscall descriptions in linux/process.cc to remove large
number of repeated unimplemented system calls and added implmementations
to functions that have received them since it process.cc was first
created.]
[Fixed spacing for some copyright attributions.]
[Replaced the rest of the file copies using hg copy.]
[Fixed style check errors and corrected unaligned memory accesses.]
[Fix some minor formatting mistakes.]
Signed-off by: Alec Roelke

Signed-off by: Jason Lowe-Power <jason@lowepower.com>
2016-11-30 17:10:28 -05:00
..
_libelf.h LibElf: Build the error management code in libelf. 2011-06-12 23:51:59 -07:00
elf32.h Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
elf64.h Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
elf_begin.c Fix compiling on Solaris since Nate's libelf change 2007-05-30 17:08:12 -04:00
elf_cntl.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
elf_common.h arch: [Patch 1/5] Added RISC-V base instruction set RV64I 2016-11-30 17:10:28 -05:00
elf_data.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
elf_end.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
elf_errmsg.c LibElf: Build the error management code in libelf. 2011-06-12 23:51:59 -07:00
elf_errno.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
elf_fill.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
elf_flag.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
elf_getarhdr.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
elf_getarsym.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
elf_getbase.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
elf_getident.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
elf_hash.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
elf_kind.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
elf_memory.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
elf_next.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
elf_phnum.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
elf_queue.h Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
elf_rand.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
elf_rawfile.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
elf_scn.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
elf_shnum.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
elf_shstrndx.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
elf_strptr.c Fix compiling on Solaris since Nate's libelf change 2007-05-30 17:08:12 -04:00
elf_types.m4 Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
elf_update.c Fix compiling on Solaris since Nate's libelf change 2007-05-30 17:08:12 -04:00
elf_version.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
gelf.h Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
gelf_checksum.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
gelf_dyn.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
gelf_ehdr.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
gelf_fsize.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
gelf_getclass.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
gelf_phdr.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
gelf_rel.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
gelf_rela.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
gelf_shdr.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
gelf_sym.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
gelf_symshndx.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
gelf_xlate.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
libelf.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
libelf.h Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
libelf_align.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
libelf_allocate.c Fix compiling on Solaris since Nate's libelf change 2007-05-30 17:08:12 -04:00
libelf_ar.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
libelf_checksum.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
libelf_convert.m4 Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
libelf_data.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
libelf_ehdr.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
libelf_extended.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
libelf_fsize.m4 Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
libelf_msize.m4 Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
libelf_phdr.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
libelf_shdr.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
libelf_xlate.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
SConscript scons: Enable -Wextra by default 2016-01-11 05:52:20 -05:00