Author: tkreuzer Date: Sat Apr 11 12:47:29 2015 New Revision: 67162
URL: http://svn.reactos.org/svn/reactos?rev=67162&view=rev Log: {RTL/ASM] Fix ARM build
Modified: trunk/reactos/include/asm/kxarm.h trunk/reactos/lib/rtl/arm/debug_asm.S
Modified: trunk/reactos/include/asm/kxarm.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/asm/kxarm.h?rev=671... ============================================================================== --- trunk/reactos/include/asm/kxarm.h [iso-8859-1] (original) +++ trunk/reactos/include/asm/kxarm.h [iso-8859-1] Sat Apr 11 12:47:29 2015 @@ -20,7 +20,7 @@ FuncName SETS "$Name" PrologName SETS "$Name":CC:"_Prolog" FuncEndName SETS "$Name":CC:"_end" - AREA |.pdata|,ALIGN=2,PDATA + //AREA |.pdata|,ALIGN=2,PDATA ALIGN 2 EXPORT $FuncName [FUNC] $FuncName @@ -67,16 +67,16 @@ TRAP_EPILOG $SystemCall fixme MEND - + #define CR 13 #define LF 10 #define NUL 0 - + #define ASCII dcb - + MACRO UNIMPLEMENTED $Name - MEND + MEND
#else
Modified: trunk/reactos/lib/rtl/arm/debug_asm.S URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/arm/debug_asm.S?rev... ============================================================================== --- trunk/reactos/lib/rtl/arm/debug_asm.S [iso-8859-1] (original) +++ trunk/reactos/lib/rtl/arm/debug_asm.S [iso-8859-1] Sat Apr 11 12:47:29 2015 @@ -6,34 +6,33 @@ * PROGRAMMERS: ReactOS Portable Systems Group */
- .title "ARM Kernel/User NT Debugging and Exception" - .include "ntoskrnl/include/internal/arm/kxarm.h" - .include "ntoskrnl/include/internal/arm/ksarm.h" +#include <ksarm.h>
TEXTAREA + NESTED_ENTRY DbgBreakPoint PROLOG_END DbgBreakPoint - + // // Do a breakpoint and return // bkpt BREAKPOINT_BREAK bx lr ENTRY_END DbgBreakPoint - + NESTED_ENTRY DebugService PROLOG_END DebugService - + // // Do a breakpoint and return // bkpt BREAKPOINT_PRINT // Could be prompt too, we check this later bx lr ENTRY_END DebugService - + NESTED_ENTRY DebugService2 PROLOG_END DebugService2 - + // // FIXME-TODO: Do a breakpoint and return // @@ -59,21 +58,24 @@ str r9, [a1, #CsR9] str r10, [a1, #CsR10] str r11, [a1, #CsR11] - str r12, [a1, #CsR12] + str r12, [a1, #CsR12] str sp, [a1, #CsSp] str lr, [a1, #CsLr] - str pc, [a1, #CsPc] +// str pc, [a1, #CsPc] // FIXME: error A2193: this instruction generates unpredictable behavior mrs ip, spsr - str ip, [a1, #CsPsr] - + str ip, [a1, #CsCpsr] + // // Set flags // mov ip, #CONTEXT_FULL str ip, [a1, #CsContextFlags] - + // // Return // bx lr ENTRY_END RtlCaptureContext + + END +/* EOF */