add flush_cache PMON routine

This commit is contained in:
Angela Marie Thomas
1996-12-25 06:14:26 +00:00
parent e98c90e6ce
commit 280f90e1a0
2 changed files with 12 additions and 0 deletions

View File

@@ -816,6 +816,10 @@ Re-compile simulator with \"-DPROFILE\" to enable this option.\n");
case 8: /* cliexit */
value = 17;
break;
case 11: /* flush_cache */
value = 28;
break;
}
/* FIXME - should monitor_base be SIM_ADDR?? */
value = ((unsigned int)monitor_base + (value * 8));
@@ -1649,6 +1653,9 @@ sim_monitor(reason)
rcexit = (unsigned int)(A0 & 0xFFFFFFFF);
break;
case 28 : /* PMON flush_cache */
break;
case 55: /* void get_mem_info(unsigned int *ptr) */
/* in: A0 = pointer to three word memory location */
/* out: [A0 + 0] = size */