diff options
Diffstat (limited to 'misc/simh-classic/pdp11_defs.h.patch')
-rw-r--r-- | misc/simh-classic/pdp11_defs.h.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/misc/simh-classic/pdp11_defs.h.patch b/misc/simh-classic/pdp11_defs.h.patch new file mode 100644 index 0000000000000..b5e7a9a235b3d --- /dev/null +++ b/misc/simh-classic/pdp11_defs.h.patch @@ -0,0 +1,23 @@ +--- PDP11/pdp11_defs.h 2017-02-10 15:31:48.000000000 +0000 ++++ PDP11/.new/pdp11_defs.h 2022-02-07 20:45:14.270208500 +0000 +@@ -900,13 +900,13 @@ + #define WrMemW(pa,d) uc15_WrMemW (pa, d) + #define WrMemB(pa, d) uc15_WrMemB (pa, d) + +-uint32 uc15_memsize; +-int32 uc15_RdMemW (int32 pa); +-int32 uc15_RdMemB (int32 pa); +-void uc15_WrMemW (int32 pa, int32 d); +-void uc15_WrMemB (int32 pa, int32 d); +-int32 Map_Read18 (uint32 ba, int32 bc, uint32 *buf); +-int32 Map_Write18 (uint32 ba, int32 bc, uint32 *buf); ++extern uint32 uc15_memsize; ++extern int32 uc15_RdMemW (int32 pa); ++extern int32 uc15_RdMemB (int32 pa); ++extern void uc15_WrMemW (int32 pa, int32 d); ++extern void uc15_WrMemB (int32 pa, int32 d); ++extern int32 Map_Read18 (uint32 ba, int32 bc, uint32 *buf); ++extern int32 Map_Write18 (uint32 ba, int32 bc, uint32 *buf); + + #else /* PDP-11 */ + |