Deleted Added
full compact
efibind.h (96893) efibind.h (143063)
1/* $FreeBSD: head/sys/boot/efi/include/ia64/efibind.h 96893 2002-05-19 03:17:22Z marcel $ */
1/* $FreeBSD: head/sys/boot/efi/include/ia64/efibind.h 143063 2005-03-02 21:33:29Z joerg $ */
2/*++
3
4Copyright (c) 1998 Intel Corporation
5
6Module Name:
7
8 efefind.h
9
10Abstract:
11
12 EFI to compile bindings
13
14
15
16
17Revision History
18
19--*/
20
2/*++
3
4Copyright (c) 1998 Intel Corporation
5
6Module Name:
7
8 efefind.h
9
10Abstract:
11
12 EFI to compile bindings
13
14
15
16
17Revision History
18
19--*/
20
21#pragma pack()
22
23#include <sys/stdint.h>
24
25/* Basic EFI types of various widths. */
26
27typedef uint64_t UINT64;
28typedef int64_t INT64;
29typedef uint32_t UINT32;
30typedef int32_t INT32;

--- 106 unchanged lines hidden (view full) ---

137 * Some compilers don't support the forward reference construct:
138 * typedef struct XXXXX
139 *
140 * The following macro provide a workaround for such cases.
141 */
142#ifdef NO_INTERFACE_DECL
143#define INTERFACE_DECL(x)
144#else
21#include <sys/stdint.h>
22
23/* Basic EFI types of various widths. */
24
25typedef uint64_t UINT64;
26typedef int64_t INT64;
27typedef uint32_t UINT32;
28typedef int32_t INT32;

--- 106 unchanged lines hidden (view full) ---

135 * Some compilers don't support the forward reference construct:
136 * typedef struct XXXXX
137 *
138 * The following macro provide a workaround for such cases.
139 */
140#ifdef NO_INTERFACE_DECL
141#define INTERFACE_DECL(x)
142#else
145#ifdef __GNUC__
143#ifdef __CC_SUPPORTS_FORWARD_REFERENCE_CONSTRUCT
146#define INTERFACE_DECL(x) struct x
147#else
148#define INTERFACE_DECL(x) typedef struct x
149#endif
150#endif
144#define INTERFACE_DECL(x) struct x
145#else
146#define INTERFACE_DECL(x) typedef struct x
147#endif
148#endif