diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-08-02 15:00:07 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-08-02 15:00:07 +0000 |
commit | 261f99bdac9a995f8b2740b7ae52c8ad81001132 (patch) | |
tree | 2a5006b2c876e801a11527f6b20f47c312370b2f /c/src/librdbg/src/powerpc/rdbg_cpu_asm.S | |
parent | 2007-08-02 Joel Sherrill <joel.sherrill@OARcorp.com> (diff) | |
download | rtems-261f99bdac9a995f8b2740b7ae52c8ad81001132.tar.bz2 |
2007-08-02 Joel Sherrill <joel.sherrill@OARcorp.com>
* configure.ac, wrapup/Makefile.am: Remove RDBG.
* aclocal/check-rdbg.m4, aclocal/enable-rdbg.m4, librdbg/.cvsignore,
librdbg/Makefile.am, librdbg/preinstall.am,
librdbg/include/rdbg/rdbg.h, librdbg/include/rdbg/servrpc.h,
librdbg/include/rdbg/i386/rdbg_f.h, librdbg/include/rdbg/i386/reg.h,
librdbg/include/rdbg/m68k/rdbg_f.h, librdbg/include/rdbg/m68k/reg.h,
librdbg/include/rdbg/powerpc/rdbg_f.h,
librdbg/include/rdbg/powerpc/reg.h, librdbg/src/_servtgt.c,
librdbg/src/awk.svc, librdbg/src/excep.c, librdbg/src/ptrace.c,
librdbg/src/rdbg.c, librdbg/src/remdeb.x, librdbg/src/servbkpt.c,
librdbg/src/servcon.c, librdbg/src/servrpc.c, librdbg/src/servtgt.c,
librdbg/src/servtsp.c, librdbg/src/servutil.c,
librdbg/src/i386/excep_f.c, librdbg/src/i386/rdbg_cpu_asm.S,
librdbg/src/i386/rdbg_f.c, librdbg/src/i386/any/remdeb.h,
librdbg/src/i386/any/remdeb_f.x, librdbg/src/i386/any/remdeb_svc.c,
librdbg/src/i386/any/remdeb_xdr.c, librdbg/src/m68k/excep_f.c,
librdbg/src/m68k/rdbg_cpu_asm.S, librdbg/src/m68k/rdbg_f.c,
librdbg/src/m68k/any/remdeb.h, librdbg/src/m68k/any/remdeb_f.x,
librdbg/src/m68k/any/remdeb_svc.c, librdbg/src/m68k/any/remdeb_xdr.c,
librdbg/src/powerpc/excep_f.c, librdbg/src/powerpc/rdbg_cpu_asm.S,
librdbg/src/powerpc/rdbg_f.c,
librdbg/src/powerpc/new_exception_processing/remdeb.h,
librdbg/src/powerpc/new_exception_processing/remdeb_f.x,
librdbg/src/powerpc/new_exception_processing/remdeb_svc.c,
librdbg/src/powerpc/new_exception_processing/remdeb_xdr.c: Removed.
Diffstat (limited to '')
-rw-r--r-- | c/src/librdbg/src/powerpc/rdbg_cpu_asm.S | 83 |
1 files changed, 0 insertions, 83 deletions
diff --git a/c/src/librdbg/src/powerpc/rdbg_cpu_asm.S b/c/src/librdbg/src/powerpc/rdbg_cpu_asm.S deleted file mode 100644 index 4ffe49b64d..0000000000 --- a/c/src/librdbg/src/powerpc/rdbg_cpu_asm.S +++ /dev/null @@ -1,83 +0,0 @@ -/* cpu_asm.s - * - * This file contains all assembly code for the Intel i386 implementation - * of RDBG. - * - * $Id$ - * - */ - -#include <rtems/asm.h> -#include <rtems/score/cpu.h> -#include <libcpu/io.h> - - BEGIN_CODE - -/* - * void copyback_data_cache_and_invalidate_instr_cache(addr, size) - * - * This routine performs a copy of the data cache - * and invalidate the instruction cache - */ - - .p2align 5 - PUBLIC_VAR (copyback_data_cache_and_invalidate_instr_cache) - -SYM (copyback_data_cache_and_invalidate_instr_cache): - /* make sure the data changed is in the cache */ - sync - /* r3 address to handle, r4 length in bytes */ - addi r6, r0, PPC_CACHE_ALIGNMENT - /* r5 = last address to handle */ - add r5,r3,r4 - /* r3 = cache_align(r3, PPC_CACHE_ALIGNMENT) */ - subi r0,r6,1 - andc r3,r3,r0 - /* R4 = R3 = copy of first address */ - mr r4,r3 - /* - * Copyback data cache - */ -1: cmplw r4,r5 /* r4 >= r5 then done */ - dcbst 0,r4 /* flush (data cache bloc store) */ - add r4,r4,r6 /* r4 = next cache line addr */ - blt 1b /* end r4 >= r5 then done */ - sync /* Wait for all dcbst to complete on bus */ - /* - * invalidate instruction cache - */ - /* R4 = fisrt address */ - mr r4,r3 -2: cmplw r4,r5 /* r4 >= r5 then done */ - icbi 0,r4 /* invalidate (instruction cache bloc invalidate) */ - add r4,r4,r6 /* r4 = next cache line addr */ - blt 2b /* end r4 >= r5 then done */ - sync /* Wait for all icbi to complete on bus */ - isync - blr - - -/* - * void enterRdbg(void) - * - * This function perform a call to the exception SYSTEM call - * It is used : - * 1 - in the user code, to simulate a Breakpoint. - * (with justSaveContext = 0) - * 2 - in the RDBG code, to push a ctx in the list. - * (with justSaveContext = 1) - * - * In most of case, it will be use as described in 1. - * The 2nd possibility will be used by RDBG to obtain - * its own ctx - */ - - PUBLIC_VAR (enterRdbg) - -SYM (enterRdbg): - sc - blr - -END_CODE - -END |