Re: [uClinux-dev] [PATCH 05/07] nios2: flush cache in ptrace poke text

2008-01-23 Thread Greg Ungerer
Hi Thomas, Thomas Chou wrote: The nios2 arch has seperated icache and dcache. We have to flush cache to change text memory. It is not necessary to flush usr and regs, as they will be accessed by data master of nios2 exclusively. Only changes in text/code should be flushed, as the code will be

[uClinux-dev] [PATCH 05/07] nios2: flush cache in ptrace poke text

2008-01-22 Thread Thomas Chou
The nios2 arch has seperated icache and dcache. We have to flush cache to change text memory. It is not necessary to flush usr and regs, as they will be accessed by data master of nios2 exclusively. Only changes in text/code should be flushed, as the code will be passed from data master to