util: Pull most code out of m5.c.
authorGabe Black <gabeblack@google.com>
Sat, 4 Apr 2020 07:05:48 +0000 (00:05 -0700)
committerGabe Black <gabeblack@google.com>
Fri, 26 Jun 2020 02:36:48 +0000 (02:36 +0000)
commitf5b5090be16b00ff0503fa831eeed72e82be55c8
tree81abacd0d145ce9518847ad9baad61dd510dcb00
parent25b5f5dfa1ac2527bf1346aaca8eefd6634885b8
util: Pull most code out of m5.c.

By pulling the code out, this code can be tested by unit tests.

Change-Id: I2d0510995d3e97d721f1de3024120f0c90b7a5ba
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/27547
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>
16 files changed:
util/m5/src/SConscript
util/m5/src/addr_call_type.c
util/m5/src/addr_call_type.h
util/m5/src/args.c
util/m5/src/args.h
util/m5/src/call_type.c [new file with mode: 0644]
util/m5/src/call_type.h
util/m5/src/commands.c [new file with mode: 0644]
util/m5/src/commands.h [new file with mode: 0644]
util/m5/src/inst_call_type.c
util/m5/src/inst_call_type.h
util/m5/src/m5.c
util/m5/src/semi_call_type.c
util/m5/src/semi_call_type.h
util/m5/src/usage.c [new file with mode: 0644]
util/m5/src/usage.h [new file with mode: 0644]