forked from Imagelibrary/binutils-gdb
add flush_cache PMON routine
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user