1
0
mirror of https://github.com/rcornwell/sims.git synced 2026-02-04 23:44:58 +00:00

I7000: Removed sim_vm_init() function.

This commit is contained in:
Richard Cornwell
2020-01-29 22:32:29 -05:00
parent 1b91036179
commit ff614048de
4 changed files with 15 additions and 4 deletions

View File

@@ -764,6 +764,9 @@ store:
t_stat
cpu_reset(DEVICE * dptr)
{
extern void sys_init(void);
sys_init();
AC = 0;
MQ = 0;
dualcore = 0;

View File

@@ -301,8 +301,6 @@ void sys_init(void) {
sim_vm_parse_addr = &parse_addr;
}
void (*sim_vm_init) (void) = &sys_init;
/* Symbolic decode
Inputs:

View File

@@ -132,7 +132,6 @@ int cycle_time = 20; /* Cycle time of 12us */
int32 hst_p = 0; /* History pointer */
int32 hst_lnt = 0; /* History length */
struct InstHistory *hst = NULL; /* History stack */
void (*sim_vm_init) (void) = &mem_init;
/* CPU data structures
@@ -2775,6 +2774,12 @@ mem_init() {
t_stat
cpu_reset(DEVICE * dptr)
{
static int initialized = 0;
if (initialized == 0) {
initialized = 1;
mem_init();
}
AC[1] = PSIGN;
AC[2] = PSIGN;

View File

@@ -231,7 +231,6 @@ int32 hst_lnt = 0; /* History length */
struct InstHistory *hst = NULL; /* History stack */
extern uint32 drum_addr;
extern UNIT chan_unit[];
void (*sim_vm_init) (void) = &mem_init;
/* CPU data structures
@@ -3174,6 +3173,12 @@ cpu_reset(DEVICE * dptr)
{
int i;
int n,p,h;
static int initialized;
if (initialized == 0) {
initialized = 1;
mem_init();
}
/* Set next and previous address arrays based on CPU type */
if (CPU_MODEL == CPU_702) {