acrestyp.h (241973) | acrestyp.h (243347) |
---|---|
1/****************************************************************************** 2 * 3 * Name: acrestyp.h - Defines, types, and structures for resource descriptors 4 * 5 *****************************************************************************/ 6 7/* 8 * Copyright (C) 2000 - 2012, Intel Corp. --- 661 unchanged lines hidden (view full) --- 670 671#pragma pack() 672 673 674#define ACPI_RS_SIZE_NO_DATA 8 /* Id + Length fields */ 675#define ACPI_RS_SIZE_MIN (UINT32) ACPI_ROUND_UP_TO_NATIVE_WORD (12) 676#define ACPI_RS_SIZE(Type) (UINT32) (ACPI_RS_SIZE_NO_DATA + sizeof (Type)) 677 | 1/****************************************************************************** 2 * 3 * Name: acrestyp.h - Defines, types, and structures for resource descriptors 4 * 5 *****************************************************************************/ 6 7/* 8 * Copyright (C) 2000 - 2012, Intel Corp. --- 661 unchanged lines hidden (view full) --- 670 671#pragma pack() 672 673 674#define ACPI_RS_SIZE_NO_DATA 8 /* Id + Length fields */ 675#define ACPI_RS_SIZE_MIN (UINT32) ACPI_ROUND_UP_TO_NATIVE_WORD (12) 676#define ACPI_RS_SIZE(Type) (UINT32) (ACPI_RS_SIZE_NO_DATA + sizeof (Type)) 677 |
678#define ACPI_NEXT_RESOURCE(Res) (ACPI_RESOURCE *)((UINT8 *) Res + Res->Length) | 678/* Macro for walking resource templates with multiple descriptors */ |
679 | 679 |
680#define ACPI_NEXT_RESOURCE(Res) \ 681 ACPI_ADD_PTR (ACPI_RESOURCE, (Res), (Res)->Length) |
|
680 | 682 |
683 |
|
681typedef struct acpi_pci_routing_table 682{ 683 UINT32 Length; 684 UINT32 Pin; 685 UINT64 Address; /* here for 64-bit alignment */ 686 UINT32 SourceIndex; 687 char Source[4]; /* pad to 64 bits so sizeof() works in all cases */ 688 689} ACPI_PCI_ROUTING_TABLE; 690 691#endif /* __ACRESTYP_H__ */ | 684typedef struct acpi_pci_routing_table 685{ 686 UINT32 Length; 687 UINT32 Pin; 688 UINT64 Address; /* here for 64-bit alignment */ 689 UINT32 SourceIndex; 690 char Source[4]; /* pad to 64 bits so sizeof() works in all cases */ 691 692} ACPI_PCI_ROUTING_TABLE; 693 694#endif /* __ACRESTYP_H__ */ |