diff options
author | Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> | 2023-12-20 13:16:38 +0000 |
---|---|---|
committer | Thomas Huth <huth@tuxfamily.org> | 2023-12-22 14:08:26 +0100 |
commit | 22cf5ee30f017351272d5931b9287b69f39f01f2 (patch) | |
tree | 94ca3e882b2837c889d36720d2485fff6092df1b /bsd-user/openbsd | |
parent | 88d0c5b0df9ea7d1b6ff1381e8245c634fe6a2ad (diff) | |
download | qemu-22cf5ee30f017351272d5931b9287b69f39f01f2.zip qemu-22cf5ee30f017351272d5931b9287b69f39f01f2.tar.gz qemu-22cf5ee30f017351272d5931b9287b69f39f01f2.tar.bz2 |
next-cube.c: move static old_scr2 variable to NeXTPC
Move the old_scr2 variable to NeXTPC so that the old SCR2 register state is
stored along with the current SCR2 state.
Since the SCR2 register is 32-bits wide, convert old_scr2 to uint32_t and
update the SCR2 register access code to allow unaligned writes.
Note that this is a migration break, but as nothing will currently boot then
we do not need to worry about this now.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Thomas Huth <huth@tuxfamily.org>
Message-ID: <20231220131641.592826-9-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Thomas Huth <huth@tuxfamily.org>
Diffstat (limited to 'bsd-user/openbsd')
0 files changed, 0 insertions, 0 deletions