ReactOS Fundraising Campaign 2012
 
€ 4,060 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

debug.c
Go to the documentation of this file.
00001 #include <ntddk.h>
00002 #include <winddk.h>
00003 
00004 NTKERNELAPI
00005 VOID
00006 DbgBreakPoint() { __asm__("ti 31,0,0"); }
00007 
00008 NTKERNELAPI
00009 VOID
00010 DbgBreakPointWithStatus(ULONG Status) { __asm__("ti 31,0,0"); }
00011 
00012 ULONG
00013 NTAPI
00014 DebugService
00015 (ULONG Service, PVOID Argument1, PVOID Argument1, PVOID Argument3, PVOID Argument4)
00016 {
00017     ULONG Result;
00018     __asm__("mr 0,%1\n\t"
00019             "mr 3,%2\n\t"
00020         "mr 4,%3\n\t"
00021         "mr 5,%4\n\t"
00022         "mr 6,%5\n\t"
00023         "mr 7,%6\n\t"
00024         "sc\n\t"
00025         "mr %0,3\n\t" :
00026         "=r" (Result) :
00027         "r" (0x10000),
00028         "r" (Service),
00029         "r" (Argument1),
00030         "r" (Argument2),
00031         "r" (Argument3),
00032         "r" (Argument4) );
00033     return Result;
00034 }
00035 
00036 VOID
00037 NTAPI
00038 DebugService2
00039 (PVOID Arg1, PVOID Arg2, ULONG Service)
00040 {
00041 }

Generated on Tue May 22 2012 04:21:21 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.