From 01629105c2817a59a4f1f05039593f211cf5ddaa Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 14 Dec 1998 23:15:38 +0000 Subject: Patch from Ralf Corsepius to rename all .s files to .S in conformance with GNU conventions. This is a minor step along the way to supporting automake. --- c/src/librdbg/src/i386/rdbg_cpu_asm.S | 70 +++++++++++++++++++++++++++++++++++ c/src/librdbg/src/i386/rdbg_cpu_asm.s | 70 ----------------------------------- 2 files changed, 70 insertions(+), 70 deletions(-) create mode 100644 c/src/librdbg/src/i386/rdbg_cpu_asm.S delete mode 100644 c/src/librdbg/src/i386/rdbg_cpu_asm.s (limited to 'c/src/librdbg/src/i386') diff --git a/c/src/librdbg/src/i386/rdbg_cpu_asm.S b/c/src/librdbg/src/i386/rdbg_cpu_asm.S new file mode 100644 index 0000000000..f0942310ce --- /dev/null +++ b/c/src/librdbg/src/i386/rdbg_cpu_asm.S @@ -0,0 +1,70 @@ +/* cpu_asm.s + * + * This file contains all assembly code for the Intel i386 implementation + * of RDBG. + * + */ + +#include + + BEGIN_CODE + +/* + * void copyback_data_cache_and_invalidate_instr_cache() + * + * This routine performs a copy of the data cache + * and invalidate the instruction cache + */ + + .p2align 1 + PUBLIC (copyback_data_cache_and_invalidate_instr_cache) + +SYM (copyback_data_cache_and_invalidate_instr_cache): + wbinvd + ret + + + +/* + * void enterRdbg(void) + * + * This function perform a call to the exception 19 + * 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 (enterRdbg) + +SYM (enterRdbg): + int $50 + ret + + +/* + * void rtems_exception_prologue_50(void) + * + * Exception 50 is used to enter Rdbg + * + */ + + .p2align 4 + + PUBLIC (rtems_exception_prologue_50) + PUBLIC (_Exception_Handler) + +SYM (rtems_exception_prologue_50): + pushl $ 0 + pushl $ 50 + jmp SYM(_Exception_Handler) ; + + +END_CODE + +END diff --git a/c/src/librdbg/src/i386/rdbg_cpu_asm.s b/c/src/librdbg/src/i386/rdbg_cpu_asm.s deleted file mode 100644 index f0942310ce..0000000000 --- a/c/src/librdbg/src/i386/rdbg_cpu_asm.s +++ /dev/null @@ -1,70 +0,0 @@ -/* cpu_asm.s - * - * This file contains all assembly code for the Intel i386 implementation - * of RDBG. - * - */ - -#include - - BEGIN_CODE - -/* - * void copyback_data_cache_and_invalidate_instr_cache() - * - * This routine performs a copy of the data cache - * and invalidate the instruction cache - */ - - .p2align 1 - PUBLIC (copyback_data_cache_and_invalidate_instr_cache) - -SYM (copyback_data_cache_and_invalidate_instr_cache): - wbinvd - ret - - - -/* - * void enterRdbg(void) - * - * This function perform a call to the exception 19 - * 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 (enterRdbg) - -SYM (enterRdbg): - int $50 - ret - - -/* - * void rtems_exception_prologue_50(void) - * - * Exception 50 is used to enter Rdbg - * - */ - - .p2align 4 - - PUBLIC (rtems_exception_prologue_50) - PUBLIC (_Exception_Handler) - -SYM (rtems_exception_prologue_50): - pushl $ 0 - pushl $ 50 - jmp SYM(_Exception_Handler) ; - - -END_CODE - -END -- cgit v1.2.3