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

3b2: Fix for overwriting kernel memory

This commit is contained in:
Seth Morabito
2018-08-18 20:46:37 -07:00
parent c833c933ed
commit 5ae2e4c49d
6 changed files with 91 additions and 34 deletions

View File

@@ -751,7 +751,6 @@ void iu_write(uint32 pa, uint32 val, size_t size)
t_stat iu_tx(uint8 portno, uint8 val)
{
IU_PORT *p = (portno == PORT_A) ? &iu_console : &iu_contty;
UNIT *uptr = (portno == PORT_A) ? &tto_unit : contty_xmt_unit;
uint8 ists = (portno == PORT_A) ? ISTS_RAI : ISTS_RBI;
uint8 imr_mask = (portno == PORT_A) ? IMR_RXRA : IMR_RXRB;
int32 c;