2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS Run-Time Library
4 * PURPOSE: Debug Routines
5 * FILE: lib/rtl/i386/debug.S
6 * PROGRAMER: Alex Ionescu (alex@relsoft.net)
11 /* FUNCTIONS ***************************************************************/
15 PUBLIC _DbgBreakPointNoBugCheck@0
16 FUNC _DbgBreakPointNoBugCheck@0
17 FPO 0, 0, 0, 0, 0, FRAME_FPO
26 PUBLIC _DbgUserBreakPoint@0
28 PUBLIC _DbgBreakPoint@0
30 FPO 0, 0, 0, 0, 0, FRAME_FPO
39 PUBLIC _DbgBreakPointWithStatus@4
40 FUNC _DbgBreakPointWithStatus@4
41 FPO 0, 1, 0, 0, 0, FRAME_FPO
43 /* Put Status in EAX */
46 PUBLIC _RtlpBreakWithStatusInstruction@0
47 GLOBAL_LABEL _RtlpBreakWithStatusInstruction@0
50 * Do a "labeled" breakpoint -- the KD data block has a "BreakpointWithStatus" field
51 * pointing to this label, letting a debugger easily check that a breakpoint has occured here
52 * and thereby know that there is a Status for it to retrieve from EAX
54 * In other words, Status is passed as an argument directly to the debugger
62 PUBLIC _DebugService2@12
63 FUNC _DebugService2@12
64 FPO 0, 3, 3, 0, 1, FRAME_NONFPO
66 /* Set up the stack */
70 /* Call the interrupt */
84 PUBLIC _DebugService@20
86 FPO 0, 5, 3, 0, 1, FRAME_NONFPO
88 /* Set up the stack */
92 /* Save non-volatiles */
96 /* Call the Interrupt */
105 /* Restore non-volatiles */