util: Pull argument parsing functions out of m5.c.
authorGabe Black <gabeblack@google.com>
Fri, 27 Mar 2020 09:42:00 +0000 (02:42 -0700)
committerGabe Black <gabeblack@google.com>
Mon, 18 May 2020 04:03:38 +0000 (04:03 +0000)
commite850d3f4c7fe668842aef1c0907eee5769140e2f
tree86d2e34b838f2394081c2d9df0be80bd104955dd
parent27426fab83887cfd48d3eb97be10fd1285918771
util: Pull argument parsing functions out of m5.c.

Make them available in other files as well.

Change-Id: I3ddaed1a06023f929acc95c90f8f9adda7ff429c
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/27243
Maintainer: Gabe Black <gabeblack@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Pouya Fotouhi <pfotouhi@ucdavis.edu>
util/m5/src/SConscript
util/m5/src/args.c [new file with mode: 0644]
util/m5/src/args.h [new file with mode: 0644]
util/m5/src/m5.c