2003-04-09 Chris Demetriou <cgd@broadcom.com>
* mips/cfe.c (_flush_cache): New function.
This commit is contained in:
parent
2a1e8e117e
commit
a028e70029
|
@ -1,3 +1,7 @@
|
|||
2003-04-09 Chris Demetriou <cgd@broadcom.com>
|
||||
|
||||
* mips/cfe.c (_flush_cache): New function.
|
||||
|
||||
2003-02-18 Richard Sandiford <rsandifo@redhat.com>
|
||||
|
||||
* mips/nullmon.c (_ftext, _end): Adjust declaration.
|
||||
|
|
|
@ -127,3 +127,13 @@ get_mem_info (mem)
|
|||
don't have enough stack to do that (yet). */
|
||||
mem->size = 0x4000000; /* Assume 64 MB of RAM */
|
||||
}
|
||||
|
||||
/* This is the MIPS cache flush function call. No defines are provided
|
||||
by libgloss for 'cache', and CFE doesn't let you flush ranges, so
|
||||
we just flush all I & D for every call. */
|
||||
int
|
||||
_flush_cache (char *addr, int nbytes, int cache)
|
||||
{
|
||||
cfe_flushcache (0);
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue