util: Convert the m5 utility to C++.
authorGabe Black <gabeblack@google.com>
Sat, 4 Apr 2020 07:55:41 +0000 (00:55 -0700)
committerGabe Black <gabeblack@google.com>
Fri, 26 Jun 2020 02:36:48 +0000 (02:36 +0000)
commit4b0162342b304ac12d10afac18c1c8656ec2493d
treebb90a2d9f8be6fdabac3fce8755d2981162b0057
parentf5b5090be16b00ff0503fa831eeed72e82be55c8
util: Convert the m5 utility to C++.

This will make it possible to use the googletest unit testing framework,
and will let us use c++ mechanisms to simplify and streamline the code.

Change-Id: I8ab358de47ce6b5c2d601cc0b9f2a694b2037a9b
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/27548
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Gabe Black <gabeblack@google.com>
Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br>
Maintainer: Gabe Black <gabeblack@google.com>
41 files changed:
util/m5/SConstruct
util/m5/src/SConscript
util/m5/src/addr_call_type.c [deleted file]
util/m5/src/addr_call_type.cc [new file with mode: 0644]
util/m5/src/addr_call_type.h [deleted file]
util/m5/src/addr_call_type.hh [new file with mode: 0644]
util/m5/src/args.c [deleted file]
util/m5/src/args.cc [new file with mode: 0644]
util/m5/src/args.h [deleted file]
util/m5/src/args.hh [new file with mode: 0644]
util/m5/src/arm/SConsopts
util/m5/src/call_type.c [deleted file]
util/m5/src/call_type.cc [new file with mode: 0644]
util/m5/src/call_type.h [deleted file]
util/m5/src/call_type.hh [new file with mode: 0644]
util/m5/src/commands.c [deleted file]
util/m5/src/commands.cc [new file with mode: 0644]
util/m5/src/commands.h [deleted file]
util/m5/src/commands.hh [new file with mode: 0644]
util/m5/src/dispatch_table.h [deleted file]
util/m5/src/dispatch_table.hh [new file with mode: 0644]
util/m5/src/inst_call_type.c [deleted file]
util/m5/src/inst_call_type.cc [new file with mode: 0644]
util/m5/src/inst_call_type.h [deleted file]
util/m5/src/inst_call_type.hh [new file with mode: 0644]
util/m5/src/lua_gem5Op.c [deleted file]
util/m5/src/lua_gem5Op.cc [new file with mode: 0644]
util/m5/src/m5.c [deleted file]
util/m5/src/m5.cc [new file with mode: 0644]
util/m5/src/m5_mmap.h
util/m5/src/semi_call_type.c [deleted file]
util/m5/src/semi_call_type.cc [new file with mode: 0644]
util/m5/src/semi_call_type.h [deleted file]
util/m5/src/semi_call_type.hh [new file with mode: 0644]
util/m5/src/sparc/SConsopts
util/m5/src/thumb/SConsopts
util/m5/src/usage.c [deleted file]
util/m5/src/usage.cc [new file with mode: 0644]
util/m5/src/usage.h [deleted file]
util/m5/src/usage.hh [new file with mode: 0644]
util/m5/src/x86/SConsopts