1
0
mirror of https://github.com/simh/simh.git synced 2026-04-29 13:12:13 +00:00

3b2: Refactor IU into 5 devices

This commit is contained in:
Seth Morabito
2017-11-24 08:33:34 -08:00
committed by Mark Pizzolato
parent f6e63892b4
commit b23ebbe312
5 changed files with 422 additions and 169 deletions

View File

@@ -151,7 +151,7 @@ void csr_write(uint32 pa, uint32 val, size_t size)
csr_data &= ~CSRPARE;
break;
case 0x0b: /* Set System Reset Request */
iu_reset(&iu_dev);
iu_reset();
cpu_reset(&cpu_dev);
cpu_boot(0, &cpu_dev);
break;