Add some infrastructure for multicore tests.
authorTim Newsome <tim@sifive.com>
Fri, 1 Sep 2017 19:31:15 +0000 (12:31 -0700)
committerTim Newsome <tim@sifive.com>
Fri, 1 Sep 2017 19:31:15 +0000 (12:31 -0700)
commita7238f6f683705a92a3216562d91cfc8979c75ed
treeb05fb4b85558c595517fb23e08193baa8623c415
parent5acbf6414ddaa6552ead5099868897a161bd945f
Add some infrastructure for multicore tests.

When compiling, define the number of harts. This means we only need to
allocate a lot of stack if there are a lot of harts.
debug/gdbserver.py
debug/programs/entry.S
debug/programs/init.c
debug/targets.py
debug/testlib.py