1
0
mirror of https://github.com/simh/simh.git synced 2026-02-03 15:13:56 +00:00

Migrating scp and library global variables to be declared as extern in the appropriate library include file and remove repetitive declarations in referencing modules.

This commit is contained in:
Mark Pizzolato
2013-01-10 13:29:15 -08:00
parent bc816ae871
commit dac73b9381
139 changed files with 37 additions and 373 deletions

View File

@@ -187,10 +187,6 @@ int16 scq[SCQ_SIZE] = { 0 }; /* PC queue */
int32 scq_p = 0; /* PC queue ptr */
REG *scq_r = NULL; /* PC queue reg ptr */
extern int32 sim_interval;
extern int32 sim_int_char;
extern uint32 sim_brk_types, sim_brk_dflt, sim_brk_summ; /* breakpoint info */
t_stat cpu_ex (t_value *vptr, t_addr addr, UNIT *uptr, int32 sw);
t_stat cpu_dep (t_value val, t_addr addr, UNIT *uptr, int32 sw);
t_stat cpu_reset (DEVICE *dptr);

View File

@@ -37,7 +37,6 @@ extern DEVICE hsr_dev, hsp_dev;
extern DEVICE rtc_dev;
extern REG cpu_reg[];
extern uint16 M[];
extern int32 sim_switches;
void fprint_addr (FILE *of, uint32 val, uint32 mod, uint32 dst);