Mercurial > ecos-v3_0-branch
diff packages/hal/mips/arch/current/src/mips-stub.c @ 8:ece80412419a ecos-sw-1999-05-21
Merge from eCos master repository on 1999-05-21-22:05:54-BST
| author | jlarmour |
|---|---|
| date | Fri, 21 May 1999 15:09:30 +0000 |
| parents | 443894e2e912 |
| children | d3fbcdfa1b2f |
line wrap: on
line diff
--- a/packages/hal/mips/arch/current/src/mips-stub.c +++ b/packages/hal/mips/arch/current/src/mips-stub.c @@ -260,6 +260,12 @@ void __install_breakpoints () *instrBuffer.targetAddr = __break_opcode (); //diag_printf("ta %08x si %08x *ta %08x\n", // instrBuffer.targetAddr,instrBuffer.savedInstr,*instrBuffer.targetAddr); + + /* Ensure that the planted breakpoint makes it out to memory and + is subsequently loaded into the instruction cache. + */ + __data_cache (CACHE_FLUSH) ; + __instruction_cache (CACHE_FLUSH) ; } }
