ReactOS  0.4.14-dev-323-g6fe6a88
rsdump.c File Reference
#include "acpi.h"
#include "accommon.h"
#include "acresrc.h"
Include dependency graph for rsdump.c:

Go to the source code of this file.

Macros

#define _COMPONENT   ACPI_RESOURCES
 

Functions

static void AcpiRsOutString (const char *Title, const char *Value)
 
static void AcpiRsOutInteger8 (const char *Title, UINT8 Value)
 
static void AcpiRsOutInteger16 (const char *Title, UINT16 Value)
 
static void AcpiRsOutInteger32 (const char *Title, UINT32 Value)
 
static void AcpiRsOutInteger64 (const char *Title, UINT64 Value)
 
static void AcpiRsOutTitle (const char *Title)
 
static void AcpiRsDumpByteList (UINT16 Length, UINT8 *Data)
 
static void AcpiRsDumpWordList (UINT16 Length, UINT16 *Data)
 
static void AcpiRsDumpDwordList (UINT8 Length, UINT32 *Data)
 
static void AcpiRsDumpShortByteList (UINT8 Length, UINT8 *Data)
 
static void AcpiRsDumpResourceSource (ACPI_RESOURCE_SOURCE *ResourceSource)
 
static void AcpiRsDumpResourceLabel (char *Title, ACPI_RESOURCE_LABEL *ResourceLabel)
 
static void AcpiRsDumpAddressCommon (ACPI_RESOURCE_DATA *Resource)
 
static void AcpiRsDumpDescriptor (void *Resource, ACPI_RSDUMP_INFO *Table)
 
void AcpiRsDumpResourceList (ACPI_RESOURCE *ResourceList)
 
void AcpiRsDumpIrqList (UINT8 *RouteTable)
 

Macro Definition Documentation

◆ _COMPONENT

#define _COMPONENT   ACPI_RESOURCES

Definition at line 48 of file rsdump.c.

Function Documentation

◆ AcpiRsDumpAddressCommon()

static void AcpiRsDumpAddressCommon ( ACPI_RESOURCE_DATA Resource)
static

Definition at line 534 of file rsdump.c.

536 {
538 
539 
540  /* Decode the type-specific flags */
541 
542  switch (Resource->Address.ResourceType)
543  {
544  case ACPI_MEMORY_RANGE:
545 
546  AcpiRsDumpDescriptor (Resource, AcpiRsDumpMemoryFlags);
547  break;
548 
549  case ACPI_IO_RANGE:
550 
551  AcpiRsDumpDescriptor (Resource, AcpiRsDumpIoFlags);
552  break;
553 
555 
556  AcpiRsOutString ("Resource Type", "Bus Number Range");
557  break;
558 
559  default:
560 
561  AcpiRsOutInteger8 ("Resource Type",
562  (UINT8) Resource->Address.ResourceType);
563  break;
564  }
565 
566  /* Decode the general flags */
567 
568  AcpiRsDumpDescriptor (Resource, AcpiRsDumpGeneralFlags);
569 }
#define ACPI_BUS_NUMBER_RANGE
Definition: acrestyp.h:139
static void AcpiRsOutString(const char *Title, const char *Value)
Definition: rsdump.c:587
static void AcpiRsOutInteger8(const char *Title, UINT8 Value)
Definition: rsdump.c:601
_Acquires_exclusive_lock_ Resource _Acquires_shared_lock_ Resource _Inout_ PERESOURCE Resource
Definition: cdprocs.h:848
#define ACPI_FUNCTION_ENTRY()
Definition: acoutput.h:484
#define ACPI_IO_RANGE
Definition: acrestyp.h:138
#define ACPI_MEMORY_RANGE
Definition: acrestyp.h:137
static void AcpiRsDumpDescriptor(void *Resource, ACPI_RSDUMP_INFO *Table)
Definition: rsdump.c:265
unsigned char UINT8

Referenced by AcpiRsDumpDescriptor().

◆ AcpiRsDumpByteList()

static void AcpiRsDumpByteList ( UINT16  Length,
UINT8 Data 
)
static

Definition at line 659 of file rsdump.c.

662 {
663  UINT16 i;
664 
665 
666  for (i = 0; i < Length; i++)
667  {
668  AcpiOsPrintf ("%25s%2.2X : %2.2X\n", "Byte", i, Data[i]);
669  }
670 }
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Definition: glfuncs.h:248
_In_ ULONG _In_ ULONG _In_ ULONG Length
Definition: ntddpcm.h:101
void ACPI_INTERNAL_VAR_XFACE AcpiOsPrintf(const char *Format,...)
Definition: osl.c:851
unsigned short UINT16

Referenced by AcpiRsDumpDescriptor().

◆ AcpiRsDumpDescriptor()

static void AcpiRsDumpDescriptor ( void Resource,
ACPI_RSDUMP_INFO Table 
)
static

Definition at line 265 of file rsdump.c.

268 {
269  UINT8 *Target = NULL;
270  UINT8 *PreviousTarget;
271  const char *Name;
272  UINT8 Count;
273 
274 
275  /* First table entry must contain the table length (# of table entries) */
276 
277  Count = Table->Offset;
278 
279  while (Count)
280  {
281  PreviousTarget = Target;
282  Target = ACPI_ADD_PTR (UINT8, Resource, Table->Offset);
283  Name = Table->Name;
284 
285  switch (Table->Opcode)
286  {
287  case ACPI_RSD_TITLE:
288  /*
289  * Optional resource title
290  */
291  if (Table->Name)
292  {
293  AcpiOsPrintf ("%s Resource\n", Name);
294  }
295  break;
296 
297  /* Strings */
298 
299  case ACPI_RSD_LITERAL:
300 
301  AcpiRsOutString (Name, ACPI_CAST_PTR (char, Table->Pointer));
302  break;
303 
304  case ACPI_RSD_STRING:
305 
307  break;
308 
309  /* Data items, 8/16/32/64 bit */
310 
311  case ACPI_RSD_UINT8:
312 
313  if (Table->Pointer)
314  {
315  AcpiRsOutString (Name, Table->Pointer [*Target]);
316  }
317  else
318  {
320  }
321  break;
322 
323  case ACPI_RSD_UINT16:
324 
326  break;
327 
328  case ACPI_RSD_UINT32:
329 
331  break;
332 
333  case ACPI_RSD_UINT64:
334 
336  break;
337 
338  /* Flags: 1-bit and 2-bit flags supported */
339 
340  case ACPI_RSD_1BITFLAG:
341 
342  AcpiRsOutString (Name, Table->Pointer [*Target & 0x01]);
343  break;
344 
345  case ACPI_RSD_2BITFLAG:
346 
347  AcpiRsOutString (Name, Table->Pointer [*Target & 0x03]);
348  break;
349 
350  case ACPI_RSD_3BITFLAG:
351 
352  AcpiRsOutString (Name, Table->Pointer [*Target & 0x07]);
353  break;
354 
355  case ACPI_RSD_SHORTLIST:
356  /*
357  * Short byte list (single line output) for DMA and IRQ resources
358  * Note: The list length is obtained from the previous table entry
359  */
360  if (PreviousTarget)
361  {
363  AcpiRsDumpShortByteList (*PreviousTarget, Target);
364  }
365  break;
366 
367  case ACPI_RSD_SHORTLISTX:
368  /*
369  * Short byte list (single line output) for GPIO vendor data
370  * Note: The list length is obtained from the previous table entry
371  */
372  if (PreviousTarget)
373  {
375  AcpiRsDumpShortByteList (*PreviousTarget,
377  }
378  break;
379 
380  case ACPI_RSD_LONGLIST:
381  /*
382  * Long byte list for Vendor resource data
383  * Note: The list length is obtained from the previous table entry
384  */
385  if (PreviousTarget)
386  {
387  AcpiRsDumpByteList (ACPI_GET16 (PreviousTarget), Target);
388  }
389  break;
390 
391  case ACPI_RSD_DWORDLIST:
392  /*
393  * Dword list for Extended Interrupt resources
394  * Note: The list length is obtained from the previous table entry
395  */
396  if (PreviousTarget)
397  {
398  AcpiRsDumpDwordList (*PreviousTarget,
400  }
401  break;
402 
403  case ACPI_RSD_WORDLIST:
404  /*
405  * Word list for GPIO Pin Table
406  * Note: The list length is obtained from the previous table entry
407  */
408  if (PreviousTarget)
409  {
410  AcpiRsDumpWordList (*PreviousTarget,
412  }
413  break;
414 
415  case ACPI_RSD_ADDRESS:
416  /*
417  * Common flags for all Address resources
418  */
421  break;
422 
423  case ACPI_RSD_SOURCE:
424  /*
425  * Optional ResourceSource for Address resources
426  */
429  break;
430 
431  case ACPI_RSD_LABEL:
432  /*
433  * ResourceLabel
434  */
435  AcpiRsDumpResourceLabel ("Resource Label", ACPI_CAST_PTR (
437  break;
438 
440  /*
441  * ResourceSourceLabel
442  */
443  AcpiRsDumpResourceLabel ("Resource Source Label", ACPI_CAST_PTR (
445  break;
446 
447  default:
448 
449  AcpiOsPrintf ("**** Invalid table opcode [%X] ****\n",
450  Table->Opcode);
451  return;
452  }
453 
454  Table++;
455  Count--;
456  }
457 }
ASMGENDATA Table[]
Definition: genincdata.c:61
char Name[55]
Definition: genincdata.c:33
#define ACPI_GET16(ptr)
Definition: acmacros.h:58
static void AcpiRsDumpByteList(UINT16 Length, UINT8 *Data)
Definition: rsdump.c:659
static void AcpiRsDumpResourceLabel(char *Title, ACPI_RESOURCE_LABEL *ResourceLabel)
Definition: rsdump.c:508
_Inout_ __drv_aliasesMem PSLIST_ENTRY _Inout_ PSLIST_ENTRY _In_ ULONG Count
Definition: exfuncs.h:1015
#define ACPI_GET8(ptr)
Definition: acmacros.h:57
static void AcpiRsOutString(const char *Title, const char *Value)
Definition: rsdump.c:587
static void AcpiRsOutInteger8(const char *Title, UINT8 Value)
Definition: rsdump.c:601
_Acquires_exclusive_lock_ Resource _Acquires_shared_lock_ Resource _Inout_ PERESOURCE Resource
Definition: cdprocs.h:848
unsigned int UINT32
static void AcpiRsDumpDwordList(UINT8 Length, UINT32 *Data)
Definition: rsdump.c:689
struct NameRec_ * Name
Definition: cdprocs.h:464
static void AcpiRsDumpAddressCommon(ACPI_RESOURCE_DATA *Resource)
Definition: rsdump.c:534
static void AcpiRsOutInteger16(const char *Title, UINT16 Value)
Definition: rsdump.c:609
smooth NULL
Definition: ftsmooth.c:416
static void AcpiRsDumpShortByteList(UINT8 Length, UINT8 *Data)
Definition: rsdump.c:673
static void AcpiRsOutInteger32(const char *Title, UINT32 Value)
Definition: rsdump.c:618
static void AcpiRsDumpWordList(UINT16 Length, UINT16 *Data)
Definition: rsdump.c:703
_Must_inspect_result_ typedef _In_ ULONG _In_ BOOLEAN Target
Definition: iotypes.h:1068
void ACPI_INTERNAL_VAR_XFACE AcpiOsPrintf(const char *Format,...)
Definition: osl.c:851
#define ACPI_CAST_INDIRECT_PTR(t, p)
Definition: actypes.h:545
static void AcpiRsOutInteger64(const char *Title, UINT64 Value)
Definition: rsdump.c:627
static void AcpiRsDumpResourceSource(ACPI_RESOURCE_SOURCE *ResourceSource)
Definition: rsdump.c:474
#define ACPI_GET32(ptr)
Definition: acmacros.h:59
static void AcpiRsOutTitle(const char *Title)
Definition: rsdump.c:637
unsigned short UINT16
#define ACPI_ADD_PTR(t, a, b)
Definition: actypes.h:546
#define ACPI_GET64(ptr)
Definition: acmacros.h:60
#define ACPI_CAST_PTR(t, p)
Definition: actypes.h:544
unsigned char UINT8

Referenced by AcpiRsDumpAddressCommon(), AcpiRsDumpIrqList(), and AcpiRsDumpResourceList().

◆ AcpiRsDumpDwordList()

static void AcpiRsDumpDwordList ( UINT8  Length,
UINT32 Data 
)
static

Definition at line 689 of file rsdump.c.

692 {
693  UINT8 i;
694 
695 
696  for (i = 0; i < Length; i++)
697  {
698  AcpiOsPrintf ("%25s%2.2X : %8.8X\n", "Dword", i, Data[i]);
699  }
700 }
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Definition: glfuncs.h:248
_In_ ULONG _In_ ULONG _In_ ULONG Length
Definition: ntddpcm.h:101
void ACPI_INTERNAL_VAR_XFACE AcpiOsPrintf(const char *Format,...)
Definition: osl.c:851
unsigned char UINT8

Referenced by AcpiRsDumpDescriptor().

◆ AcpiRsDumpIrqList()

void AcpiRsDumpIrqList ( UINT8 RouteTable)

Definition at line 219 of file rsdump.c.

221 {
222  ACPI_PCI_ROUTING_TABLE *PrtElement;
223  UINT8 Count;
224 
225 
227 
228 
229  /* Check if debug output enabled */
230 
232  {
233  return;
234  }
235 
237 
238  /* Dump all table elements, Exit on zero length element */
239 
240  for (Count = 0; PrtElement->Length; Count++)
241  {
242  AcpiOsPrintf ("\n[%02X] PCI IRQ Routing Table Package\n", Count);
243  AcpiRsDumpDescriptor (PrtElement, AcpiRsDumpPrt);
244 
245  PrtElement = ACPI_ADD_PTR (ACPI_PCI_ROUTING_TABLE,
246  PrtElement, PrtElement->Length);
247  }
248 }
_Inout_ __drv_aliasesMem PSLIST_ENTRY _Inout_ PSLIST_ENTRY _In_ ULONG Count
Definition: exfuncs.h:1015
#define ACPI_FUNCTION_ENTRY()
Definition: acoutput.h:484
#define ACPI_LV_RESOURCES
Definition: acoutput.h:108
#define _COMPONENT
Definition: rsdump.c:48
void ACPI_INTERNAL_VAR_XFACE AcpiOsPrintf(const char *Format,...)
Definition: osl.c:851
static void AcpiRsDumpDescriptor(void *Resource, ACPI_RSDUMP_INFO *Table)
Definition: rsdump.c:265
#define ACPI_ADD_PTR(t, a, b)
Definition: actypes.h:546
#define ACPI_IS_DEBUG_ENABLED(Level, Component)
Definition: acoutput.h:490
#define ACPI_CAST_PTR(t, p)
Definition: actypes.h:544
unsigned char UINT8

◆ AcpiRsDumpResourceLabel()

static void AcpiRsDumpResourceLabel ( char Title,
ACPI_RESOURCE_LABEL ResourceLabel 
)
static

Definition at line 508 of file rsdump.c.

511 {
513 
515  ResourceLabel->StringPtr ?
516  ResourceLabel->StringPtr : "[Not Specified]");
517 }
static void AcpiRsOutString(const char *Title, const char *Value)
Definition: rsdump.c:587
#define ACPI_FUNCTION_ENTRY()
Definition: acoutput.h:484
static const WCHAR Title[]
Definition: oid.c:1259

Referenced by AcpiRsDumpDescriptor().

◆ AcpiRsDumpResourceList()

void AcpiRsDumpResourceList ( ACPI_RESOURCE ResourceList)

Definition at line 138 of file rsdump.c.

140 {
141  UINT32 Count = 0;
142  UINT32 Type;
143 
144 
146 
147 
148  /* Check if debug output enabled */
149 
151  {
152  return;
153  }
154 
155  /* Walk list and dump all resource descriptors (END_TAG terminates) */
156 
157  do
158  {
159  AcpiOsPrintf ("\n[%02X] ", Count);
160  Count++;
161 
162  /* Validate Type before dispatch */
163 
164  Type = ResourceList->Type;
166  {
167  AcpiOsPrintf (
168  "Invalid descriptor type (%X) in resource list\n",
169  ResourceList->Type);
170  return;
171  }
172 
173  /* Sanity check the length. It must not be zero, or we loop forever */
174 
175  if (!ResourceList->Length)
176  {
177  AcpiOsPrintf (
178  "Invalid zero length descriptor in resource list\n");
179  return;
180  }
181 
182  /* Dump the resource descriptor */
183 
185  {
187  AcpiGbl_DumpSerialBusDispatch[
188  ResourceList->Data.CommonSerialBus.Type]);
189  }
190  else
191  {
193  AcpiGbl_DumpResourceDispatch[Type]);
194  }
195 
196  /* Point to the next resource structure */
197 
199 
200  /* Exit when END_TAG descriptor is reached */
201 
202  } while (Type != ACPI_RESOURCE_TYPE_END_TAG);
203 }
Type
Definition: Type.h:6
#define ACPI_RESOURCE_TYPE_SERIAL_BUS
Definition: acrestyp.h:733
#define ACPI_RESOURCE_TYPE_END_TAG
Definition: acrestyp.h:721
_Inout_ __drv_aliasesMem PSLIST_ENTRY _Inout_ PSLIST_ENTRY _In_ ULONG Count
Definition: exfuncs.h:1015
const MUI_LANGUAGE_RESOURCE ResourceList[]
Definition: muilanguages.h:414
unsigned int UINT32
#define ACPI_FUNCTION_ENTRY()
Definition: acoutput.h:484
#define ACPI_LV_RESOURCES
Definition: acoutput.h:108
#define _COMPONENT
Definition: rsdump.c:48
void ACPI_INTERNAL_VAR_XFACE AcpiOsPrintf(const char *Format,...)
Definition: osl.c:851
#define ACPI_RESOURCE_TYPE_MAX
Definition: acrestyp.h:739
#define ACPI_NEXT_RESOURCE(Res)
Definition: acrestyp.h:802
static void AcpiRsDumpDescriptor(void *Resource, ACPI_RSDUMP_INFO *Table)
Definition: rsdump.c:265
#define ACPI_IS_DEBUG_ENABLED(Level, Component)
Definition: acoutput.h:490

◆ AcpiRsDumpResourceSource()

static void AcpiRsDumpResourceSource ( ACPI_RESOURCE_SOURCE ResourceSource)
static

Definition at line 474 of file rsdump.c.

476 {
478 
479 
480  if (ResourceSource->Index == 0xFF)
481  {
482  return;
483  }
484 
485  AcpiRsOutInteger8 ("Resource Source Index",
486  ResourceSource->Index);
487 
488  AcpiRsOutString ("Resource Source",
489  ResourceSource->StringPtr ?
490  ResourceSource->StringPtr : "[Not Specified]");
491 }
static void AcpiRsOutString(const char *Title, const char *Value)
Definition: rsdump.c:587
static void AcpiRsOutInteger8(const char *Title, UINT8 Value)
Definition: rsdump.c:601
#define ACPI_FUNCTION_ENTRY()
Definition: acoutput.h:484

Referenced by AcpiRsDumpDescriptor().

◆ AcpiRsDumpShortByteList()

static void AcpiRsDumpShortByteList ( UINT8  Length,
UINT8 Data 
)
static

Definition at line 673 of file rsdump.c.

676 {
677  UINT8 i;
678 
679 
680  for (i = 0; i < Length; i++)
681  {
682  AcpiOsPrintf ("%X ", Data[i]);
683  }
684 
685  AcpiOsPrintf ("\n");
686 }
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Definition: glfuncs.h:248
_In_ ULONG _In_ ULONG _In_ ULONG Length
Definition: ntddpcm.h:101
void ACPI_INTERNAL_VAR_XFACE AcpiOsPrintf(const char *Format,...)
Definition: osl.c:851
unsigned char UINT8

Referenced by AcpiRsDumpDescriptor().

◆ AcpiRsDumpWordList()

static void AcpiRsDumpWordList ( UINT16  Length,
UINT16 Data 
)
static

Definition at line 703 of file rsdump.c.

706 {
707  UINT16 i;
708 
709 
710  for (i = 0; i < Length; i++)
711  {
712  AcpiOsPrintf ("%25s%2.2X : %4.4X\n", "Word", i, Data[i]);
713  }
714 }
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Definition: glfuncs.h:248
_In_ ULONG _In_ ULONG _In_ ULONG Length
Definition: ntddpcm.h:101
void ACPI_INTERNAL_VAR_XFACE AcpiOsPrintf(const char *Format,...)
Definition: osl.c:851
unsigned short UINT16

Referenced by AcpiRsDumpDescriptor().

◆ AcpiRsOutInteger16()

static void AcpiRsOutInteger16 ( const char Title,
UINT16  Value 
)
static

Definition at line 609 of file rsdump.c.

612 {
613 
614  AcpiOsPrintf ("%27s : %4.4X\n", Title, Value);
615 }
_In_opt_ ULONG _Out_ PULONG Value
Definition: rtlfuncs.h:2343
static const WCHAR Title[]
Definition: oid.c:1259
void ACPI_INTERNAL_VAR_XFACE AcpiOsPrintf(const char *Format,...)
Definition: osl.c:851

Referenced by AcpiRsDumpDescriptor().

◆ AcpiRsOutInteger32()

static void AcpiRsOutInteger32 ( const char Title,
UINT32  Value 
)
static

Definition at line 618 of file rsdump.c.

621 {
622 
623  AcpiOsPrintf ("%27s : %8.8X\n", Title, Value);
624 }
_In_opt_ ULONG _Out_ PULONG Value
Definition: rtlfuncs.h:2343
static const WCHAR Title[]
Definition: oid.c:1259
void ACPI_INTERNAL_VAR_XFACE AcpiOsPrintf(const char *Format,...)
Definition: osl.c:851

Referenced by AcpiRsDumpDescriptor().

◆ AcpiRsOutInteger64()

static void AcpiRsOutInteger64 ( const char Title,
UINT64  Value 
)
static

Definition at line 627 of file rsdump.c.

630 {
631 
632  AcpiOsPrintf ("%27s : %8.8X%8.8X\n", Title,
634 }
_In_opt_ ULONG _Out_ PULONG Value
Definition: rtlfuncs.h:2343
static const WCHAR Title[]
Definition: oid.c:1259
void ACPI_INTERNAL_VAR_XFACE AcpiOsPrintf(const char *Format,...)
Definition: osl.c:851
#define ACPI_FORMAT_UINT64(i)
Definition: acmacros.h:71

Referenced by AcpiRsDumpDescriptor().

◆ AcpiRsOutInteger8()

static void AcpiRsOutInteger8 ( const char Title,
UINT8  Value 
)
static

Definition at line 601 of file rsdump.c.

604 {
605  AcpiOsPrintf ("%27s : %2.2X\n", Title, Value);
606 }
_In_opt_ ULONG _Out_ PULONG Value
Definition: rtlfuncs.h:2343
static const WCHAR Title[]
Definition: oid.c:1259
void ACPI_INTERNAL_VAR_XFACE AcpiOsPrintf(const char *Format,...)
Definition: osl.c:851

Referenced by AcpiRsDumpAddressCommon(), AcpiRsDumpDescriptor(), and AcpiRsDumpResourceSource().

◆ AcpiRsOutString()

static void AcpiRsOutString ( const char Title,
const char Value 
)
static

Definition at line 587 of file rsdump.c.

590 {
591 
592  AcpiOsPrintf ("%27s : %s", Title, Value);
593  if (!*Value)
594  {
595  AcpiOsPrintf ("[NULL NAMESTRING]");
596  }
597  AcpiOsPrintf ("\n");
598 }
_In_opt_ ULONG _Out_ PULONG Value
Definition: rtlfuncs.h:2343
static const WCHAR Title[]
Definition: oid.c:1259
void ACPI_INTERNAL_VAR_XFACE AcpiOsPrintf(const char *Format,...)
Definition: osl.c:851

Referenced by AcpiRsDumpAddressCommon(), AcpiRsDumpDescriptor(), AcpiRsDumpResourceLabel(), and AcpiRsDumpResourceSource().

◆ AcpiRsOutTitle()

static void AcpiRsOutTitle ( const char Title)
static

Definition at line 637 of file rsdump.c.

639 {
640 
641  AcpiOsPrintf ("%27s : ", Title);
642 }
static const WCHAR Title[]
Definition: oid.c:1259
void ACPI_INTERNAL_VAR_XFACE AcpiOsPrintf(const char *Format,...)
Definition: osl.c:851

Referenced by AcpiRsDumpDescriptor().