[arch][openrisc] fix up and get the OpenRISC port working again

Previous to now it had always relied on a custom patched gcc
and a custom sim. In the interim since the initial port went in
some time in 2015 GCC and QEMU have both officially picked up support
for the architecture and the machine that was emulated in the previous
emultor.

Using gcc 10.2 fix up the build and get it basically working. Timers
seem to not be working right but it's probably fairly easy to fix.
This commit is contained in:
Travis Geiselbrecht
2020-10-21 02:19:51 -07:00
parent 917906e4a4
commit 01f9a97dc1
6 changed files with 91 additions and 10 deletions