Deleted Added
full compact
efibind.h (292625) efibind.h (293268)
1/* $FreeBSD: head/sys/boot/efi/include/amd64/efibind.h 292625 2015-12-22 20:40:34Z emaste $ */
1/* $FreeBSD: head/sys/boot/efi/include/amd64/efibind.h 293268 2016-01-06 20:22:28Z smh $ */
2/*++
3
4Copyright (c) 1999 - 2003 Intel Corporation. All rights reserved
5This software and associated documentation (if any) is furnished
6under a license and may only be used or copied in accordance
7with the terms of the license. Except as permitted by such
8license, no part of this software or documentation may be
9reproduced, stored in a retrieval system, or transmitted in any

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

34//
35// Basic int types of various widths
36//
37
38#if (__STDC_VERSION__ < 199901L )
39
40 // No ANSI C 1999/2000 stdint.h integer width declarations
41
2/*++
3
4Copyright (c) 1999 - 2003 Intel Corporation. All rights reserved
5This software and associated documentation (if any) is furnished
6under a license and may only be used or copied in accordance
7with the terms of the license. Except as permitted by such
8license, no part of this software or documentation may be
9reproduced, stored in a retrieval system, or transmitted in any

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

34//
35// Basic int types of various widths
36//
37
38#if (__STDC_VERSION__ < 199901L )
39
40 // No ANSI C 1999/2000 stdint.h integer width declarations
41
42 #if _MSC_EXTENSIONS
42 #ifdef _MSC_EXTENSIONS
43
44 // Use Microsoft C compiler integer width declarations
45
46 typedef unsigned __int64 uint64_t;
47 typedef __int64 int64_t;
48 typedef unsigned __int32 uint32_t;
49 typedef __int32 int32_t;
50 typedef unsigned short uint16_t;

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

159// RUNTIME_CODE - pragma macro for declaring runtime code
160//
161
162#ifdef __amd64__
163#define EFIAPI __attribute__((ms_abi))
164#endif
165
166#ifndef EFIAPI // Forces EFI calling conventions reguardless of compiler options
43
44 // Use Microsoft C compiler integer width declarations
45
46 typedef unsigned __int64 uint64_t;
47 typedef __int64 int64_t;
48 typedef unsigned __int32 uint32_t;
49 typedef __int32 int32_t;
50 typedef unsigned short uint16_t;

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

159// RUNTIME_CODE - pragma macro for declaring runtime code
160//
161
162#ifdef __amd64__
163#define EFIAPI __attribute__((ms_abi))
164#endif
165
166#ifndef EFIAPI // Forces EFI calling conventions reguardless of compiler options
167 #if _MSC_EXTENSIONS
167 #ifdef _MSC_EXTENSIONS
168 #define EFIAPI __cdecl // Force C calling convention for Microsoft C compiler
169 #else
170 #define EFIAPI // Substitute expresion to force C calling convention
171 #endif
172#endif
173
174#define BOOTSERVICE
175//#define RUNTIMESERVICE(proto,a) alloc_text("rtcode",a); proto a

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

260//
261#ifdef NO_INTERFACE_DECL
262#define INTERFACE_DECL(x)
263#else
264#define INTERFACE_DECL(x) typedef struct x
265#endif
266#endif /* __FreeBSD__ */
267
168 #define EFIAPI __cdecl // Force C calling convention for Microsoft C compiler
169 #else
170 #define EFIAPI // Substitute expresion to force C calling convention
171 #endif
172#endif
173
174#define BOOTSERVICE
175//#define RUNTIMESERVICE(proto,a) alloc_text("rtcode",a); proto a

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

260//
261#ifdef NO_INTERFACE_DECL
262#define INTERFACE_DECL(x)
263#else
264#define INTERFACE_DECL(x) typedef struct x
265#endif
266#endif /* __FreeBSD__ */
267
268#if _MSC_EXTENSIONS
268#ifdef _MSC_EXTENSIONS
269#pragma warning ( disable : 4731 ) // Suppress warnings about modification of EBP
270#endif
271
269#pragma warning ( disable : 4731 ) // Suppress warnings about modification of EBP
270#endif
271