add flush_cache PMON routine
This commit is contained in:
parent
e98c90e6ce
commit
280f90e1a0
2 changed files with 12 additions and 0 deletions
|
@ -28,6 +28,11 @@ Mon Dec 16 14:59:38 1996 Ian Lance Taylor <ian@cygnus.com>
|
|||
(INDELAYSLOT, INJALDELAYSLOT): Define.
|
||||
(simulate): Clear simJALDELAYSLOT when simDELAYSLOT is cleared.
|
||||
|
||||
Tue Dec 24 22:11:20 1996 Angela Marie Thomas (angela@cygnus.com)
|
||||
|
||||
* interp.c (sim_open): add flush_cache as a PMON routine
|
||||
(sim_monitor): handle flush_cache by ignoring it
|
||||
|
||||
Wed Dec 11 13:53:51 1996 Jim Wilson <wilson@cygnus.com>
|
||||
|
||||
* gencode.c (build_instruction): Use !ByteSwapMem instead of
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue