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

kdtypes.h
Go to the documentation of this file.
00001 /******************************************************************************
00002  *                          Kernel Debugger Types                             *
00003  ******************************************************************************/
00004 $if (_NTDDK_)
00005 typedef struct _DEBUG_DEVICE_ADDRESS {
00006   UCHAR Type;
00007   BOOLEAN Valid;
00008   UCHAR Reserved[2];
00009   PUCHAR TranslatedAddress;
00010   ULONG Length;
00011 } DEBUG_DEVICE_ADDRESS, *PDEBUG_DEVICE_ADDRESS;
00012 
00013 typedef struct _DEBUG_MEMORY_REQUIREMENTS {
00014   PHYSICAL_ADDRESS Start;
00015   PHYSICAL_ADDRESS MaxEnd;
00016   PVOID VirtualAddress;
00017   ULONG Length;
00018   BOOLEAN Cached;
00019   BOOLEAN Aligned;
00020 } DEBUG_MEMORY_REQUIREMENTS, *PDEBUG_MEMORY_REQUIREMENTS;
00021 
00022 typedef struct _DEBUG_DEVICE_DESCRIPTOR {
00023   ULONG Bus;
00024   ULONG Slot;
00025   USHORT Segment;
00026   USHORT VendorID;
00027   USHORT DeviceID;
00028   UCHAR BaseClass;
00029   UCHAR SubClass;
00030   UCHAR ProgIf;
00031   BOOLEAN Initialized;
00032   BOOLEAN Configured;
00033   DEBUG_DEVICE_ADDRESS BaseAddress[6];
00034   DEBUG_MEMORY_REQUIREMENTS Memory;
00035 } DEBUG_DEVICE_DESCRIPTOR, *PDEBUG_DEVICE_DESCRIPTOR;
00036 
00037 typedef NTSTATUS
00038 (NTAPI *pKdSetupPciDeviceForDebugging)(
00039   _In_opt_ PVOID LoaderBlock,
00040   _Inout_ PDEBUG_DEVICE_DESCRIPTOR PciDevice);
00041 
00042 typedef NTSTATUS
00043 (NTAPI *pKdReleasePciDeviceForDebugging)(
00044   _Inout_ PDEBUG_DEVICE_DESCRIPTOR PciDevice);
00045 
00046 typedef PVOID
00047 (NTAPI *pKdGetAcpiTablePhase0)(
00048   _In_ struct _LOADER_PARAMETER_BLOCK *LoaderBlock,
00049   _In_ ULONG Signature);
00050 
00051 typedef VOID
00052 (NTAPI *pKdCheckPowerButton)(VOID);
00053 
00054 #if (NTDDI_VERSION >= NTDDI_VISTA)
00055 typedef PVOID
00056 (NTAPI *pKdMapPhysicalMemory64)(
00057   _In_ PHYSICAL_ADDRESS PhysicalAddress,
00058   _In_ ULONG NumberPages,
00059   _In_ BOOLEAN FlushCurrentTLB);
00060 
00061 typedef VOID
00062 (NTAPI *pKdUnmapVirtualAddress)(
00063   _In_ PVOID VirtualAddress,
00064   _In_ ULONG NumberPages,
00065   _In_ BOOLEAN FlushCurrentTLB);
00066 #else
00067 typedef PVOID
00068 (NTAPI *pKdMapPhysicalMemory64)(
00069   _In_ PHYSICAL_ADDRESS PhysicalAddress,
00070   _In_ ULONG NumberPages);
00071 
00072 typedef VOID
00073 (NTAPI *pKdUnmapVirtualAddress)(
00074   _In_ PVOID VirtualAddress,
00075   _In_ ULONG NumberPages);
00076 #endif
00077 
00078 typedef ULONG
00079 (NTAPI *pKdGetPciDataByOffset)(
00080   _In_ ULONG BusNumber,
00081   _In_ ULONG SlotNumber,
00082   _Out_writes_bytes_(Length) PVOID Buffer,
00083   _In_ ULONG Offset,
00084   _In_ ULONG Length);
00085 
00086 typedef ULONG
00087 (NTAPI *pKdSetPciDataByOffset)(
00088   _In_ ULONG BusNumber,
00089   _In_ ULONG SlotNumber,
00090   _In_reads_bytes_(Length) PVOID Buffer,
00091   _In_ ULONG Offset,
00092   _In_ ULONG Length);
00093 $endif (_NTDDK_)

Generated on Tue May 22 2012 04:35:04 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.