1
0
mirror of https://github.com/simh/simh.git synced 2026-05-04 15:05:39 +00:00

PDP11: Properly range check DMA access to the I/O page

Make sure that DMA access to the I/O page can only see addresses on the
Qbus/Unibus and not internal CPU registers
This commit is contained in:
Mark Pizzolato
2018-09-06 11:03:45 -07:00
parent 5f0370749e
commit 7677dad67d
16 changed files with 56 additions and 22 deletions

View File

@@ -528,6 +528,8 @@ struct pdp_dib {
/* DEVICE structure (e.g., DZ, VH, DL, DC). */
/* Populated by auto-configure */
struct pdp_dib *next; /* devices with more than one DIB can chain them */
DEVICE *dptr; /* back pointer to related device */
/* Populated by auto-configure */
};
typedef struct pdp_dib DIB;