efibind.h (293268) | efibind.h (293724) |
---|---|
1/* $FreeBSD: head/sys/boot/efi/include/arm64/efibind.h 293268 2016-01-06 20:22:28Z smh $ */ | 1/* $FreeBSD: head/sys/boot/efi/include/arm64/efibind.h 293724 2016-01-12 02:17:39Z 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 --- 112 unchanged lines hidden (view full) --- 122 123#define EFIERR(a) (0x8000000000000000 | a) 124#define EFI_ERROR_MASK 0x8000000000000000 125#define EFIERR_OEM(a) (0xc000000000000000 | a) 126 127#define BAD_POINTER 0xFBFBFBFBFBFBFBFB 128#define MAX_ADDRESS 0xFFFFFFFFFFFFFFFF 129 | 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 --- 112 unchanged lines hidden (view full) --- 122 123#define EFIERR(a) (0x8000000000000000 | a) 124#define EFI_ERROR_MASK 0x8000000000000000 125#define EFIERR_OEM(a) (0xc000000000000000 | a) 126 127#define BAD_POINTER 0xFBFBFBFBFBFBFBFB 128#define MAX_ADDRESS 0xFFFFFFFFFFFFFFFF 129 |
130#pragma intrinsic (__break) | |
131#define BREAKPOINT() __break(0) 132 133// 134// Pointers must be aligned to these address to function 135// you will get an alignment fault if this value is less than 8 136// 137#define MIN_ALIGNMENT_SIZE 8 138 --- 36 unchanged lines hidden (view full) --- 175#define END_RUNTIME_DATA() data_seg() 176 177#define VOLATILE volatile 178 179// 180// BugBug: Need to find out if this is portable accross compliers. 181// 182void __mfa (void); | 130#define BREAKPOINT() __break(0) 131 132// 133// Pointers must be aligned to these address to function 134// you will get an alignment fault if this value is less than 8 135// 136#define MIN_ALIGNMENT_SIZE 8 137 --- 36 unchanged lines hidden (view full) --- 174#define END_RUNTIME_DATA() data_seg() 175 176#define VOLATILE volatile 177 178// 179// BugBug: Need to find out if this is portable accross compliers. 180// 181void __mfa (void); |
183#pragma intrinsic (__mfa) | |
184#define MEMORY_FENCE() __mfa() 185 186#ifdef EFI_NO_INTERFACE_DECL 187 #define EFI_FORWARD_DECLARATION(x) 188 #define EFI_INTERFACE_DECL(x) 189#else 190 #define EFI_FORWARD_DECLARATION(x) typedef struct _##x x 191 #define EFI_INTERFACE_DECL(x) typedef struct x --- 28 unchanged lines hidden --- | 182#define MEMORY_FENCE() __mfa() 183 184#ifdef EFI_NO_INTERFACE_DECL 185 #define EFI_FORWARD_DECLARATION(x) 186 #define EFI_INTERFACE_DECL(x) 187#else 188 #define EFI_FORWARD_DECLARATION(x) typedef struct _##x x 189 #define EFI_INTERFACE_DECL(x) typedef struct x --- 28 unchanged lines hidden --- |