Deleted Added
full compact
efibind.h (292625) efibind.h (293268)
1/* $FreeBSD: head/sys/boot/efi/include/arm64/efibind.h 292625 2015-12-22 20:40:34Z emaste $ */
1/* $FreeBSD: head/sys/boot/efi/include/arm64/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 __int16 uint16_t;

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

154// EFIAPI - prototype calling convention for EFI function pointers
155// BOOTSERVICE - prototype for implementation of a boot service interface
156// RUNTIMESERVICE - prototype for implementation of a runtime service interface
157// RUNTIMEFUNCTION - prototype for implementation of a runtime function that is not a service
158// RUNTIME_CODE - pragma macro for declaring runtime code
159//
160
161#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 __int16 uint16_t;

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

154// EFIAPI - prototype calling convention for EFI function pointers
155// BOOTSERVICE - prototype for implementation of a boot service interface
156// RUNTIMESERVICE - prototype for implementation of a runtime service interface
157// RUNTIMEFUNCTION - prototype for implementation of a runtime function that is not a service
158// RUNTIME_CODE - pragma macro for declaring runtime code
159//
160
161#ifndef EFIAPI // Forces EFI calling conventions reguardless of compiler options
162 #if _MSC_EXTENSIONS
162 #ifdef _MSC_EXTENSIONS
163 #define EFIAPI __cdecl // Force C calling convention for Microsoft C compiler
164 #else
165 #define EFIAPI // Substitute expresion to force C calling convention
166 #endif
167#endif
168
169#define BOOTSERVICE
170#define RUNTIMESERVICE

--- 49 unchanged lines hidden ---
163 #define EFIAPI __cdecl // Force C calling convention for Microsoft C compiler
164 #else
165 #define EFIAPI // Substitute expresion to force C calling convention
166 #endif
167#endif
168
169#define BOOTSERVICE
170#define RUNTIMESERVICE

--- 49 unchanged lines hidden ---