Add tests for virtual priv register.
authorTim Newsome <tim@sifive.com>
Thu, 28 Jul 2016 21:47:12 +0000 (14:47 -0700)
committerTim Newsome <tim@sifive.com>
Thu, 28 Jul 2016 21:47:12 +0000 (14:47 -0700)
commit7b3fcbe9a9d336b67b914b842ff656aaafe7d939
tree428b8fc69f3004d225e595bb8d991f99667ce292
parent553f2a265fe62b514cb97fdbd80ea1743de6e3cf
Add tests for virtual priv register.

Users can use this register to inspect and change the privilege level of
the core. It doesn't make any assumptions about the actual underlying
debug mechanism (as opposed to having the user change DCSR directly,
which may not exist in all debug implementations).
debug/gdbserver.py
debug/programs/priv.S [new file with mode: 0644]