Home
last modified time | relevance | path

Searched defs:a (Results 1 – 25 of 26) sorted by relevance

12

/DragonStub/inc/dragonstub/linux/
H A Dalign.h8 #define ALIGN_UP(x, a) __ALIGN_KERNEL((x), (a)) argument
9 #define ALIGN_DOWN(x, a) __ALIGN_KERNEL((x) - ((a) - 1), (a)) argument
11 #define PTR_ALIGN(p, a) ((typeof(p))ALIGN_UP((unsigned long)(p), (a))) argument
12 #define PTR_ALIGN_DOWN(p, a) ((typeof(p))ALIGN_DOWN((unsigned long)(p), (a))) argument
13 #define IS_ALIGNED(x, a) (((x) & ((typeof(x))(a) - 1)) == 0) argument
H A Dconst.h32 #define __ALIGN_KERNEL(x, a) __ALIGN_KERNEL_MASK(x, (__typeof__(x))(a) - 1) argument
/DragonStub/inc/dragonstub/linux/arch/riscv/asm/
H A Dasm.h16 #define __REG_SEL(a, b) __ASM_STR(a) argument
18 #define __REG_SEL(a, b) __ASM_STR(b) argument
/DragonStub/inc/riscv64/
H A Defibind.h44 #define EFIERR(a) (EFI_ERROR_MASK | a) argument
45 #define EFIERR_OEM(a) (0xc000000000000000 | a) argument
83 #define RUNTIME_CODE(a) alloc_text("rtcode", a) argument
/DragonStub/inc/loongarch64/
H A Defibind.h67 #define EFIERR(a) (0x8000000000000000 | a) argument
69 #define EFIERR_OEM(a) (0xc000000000000000 | a) argument
114 #define RUNTIME_CODE(a) alloc_text("rtcode", a) argument
/DragonStub/inc/aarch64/
H A Defibind.h65 #define EFIERR(a) (0x8000000000000000 | a) argument
67 #define EFIERR_OEM(a) (0xc000000000000000 | a) argument
112 #define RUNTIME_CODE(a) alloc_text("rtcode", a) argument
/DragonStub/inc/arm/
H A Defibind.h73 #define EFIERR(a) (0x80000000 | a) argument
75 #define EFIERR_OEM(a) (0xc0000000 | a) argument
120 #define RUNTIME_CODE(a) alloc_text("rtcode", a) argument
/DragonStub/inc/mips64el/
H A Defibind.h67 #define EFIERR(a) (0x8000000000000000 | a) argument
69 #define EFIERR_OEM(a) (0xc000000000000000 | a) argument
114 #define RUNTIME_CODE(a) alloc_text("rtcode", a) argument
/DragonStub/inc/
H A Defierr.h24 #define EFIWARN(a) (a) argument
25 #define EFI_ERROR(a) (((INTN) a) < 0) argument
H A Defidevp.h47 #define DP_IS_END_TYPE(a) argument
48 #define DP_IS_END_SUBTYPE(a) ( ((a)->SubType == END_ENTIRE_DEVICE_PATH_SUBTYPE ) argument
50 #define DevicePathType(a) ( ((a)->Type) & EFI_DP_TYPE_MASK ) argument
51 #define DevicePathSubType(a) ( (a)->SubType ) argument
52 #define DevicePathNodeLength(a) ( ((a)->Length[0]) | ((a)->Length[1] << 8) ) argument
53 #define NextDevicePathNode(a) ( (EFI_DEVICE_PATH_PROTOCOL *) ( ((UINT8 *) (a)) + DevicePathNo… argument
55 #define IsDevicePathEndType(a) ( DevicePathType(a) == END_DEVICE_PATH_TYPE ) argument
56 #define IsDevicePathEndSubType(a) ( (a)->SubType == END_ENTIRE_DEVICE_PATH_SUBTYPE ) argument
57 #define IsDevicePathEnd(a) ( IsDevicePathEndType(a) && IsDevicePathEndSubType(a) ) argument
58 #define IsDevicePathUnpacked(a) ( (a)->Type & EFI_DP_TYPE_UNPACKED ) argument
[all …]
H A Defifs.h72 #define EFI_FILE_LBAL(a) ((EFI_LBAL *) (((CHAR8 *) (a)) + (a)->LBALOffset)) argument
113 #define EFI_LBAL_RL(a) ((EFI_RL*) (((CHAR8 *) (a)) + (a)->Hdr.HeaderSize)) argument
H A Defidebug.h26 #define DBGASSERT(a) DbgAssert(__FILE__, __LINE__, #a) argument
27 #define DEBUG(a) DbgPrint a argument
31 #define DBGASSERT(a) argument
32 #define DEBUG(a) argument
38 #define DBGSETMEM(a,l) SetMem(a,l,(CHAR8)BAD_POINTER) argument
42 #define DBGSETMEM(a,l) argument
79 #define ASSERT(a) if(!(a)) DBGASSERT(a) argument
85 #define ASSERT(a) argument
H A Defidef.h241 #define EFI_SIZE_TO_PAGES(a) \ argument
/DragonStub/inc/dragonstub/
H A Dcompiler_attributes.h71 #define __assume_aligned(a, ...) \ argument
174 #define __printf(a, b) __attribute__((__format__(printf, a, b))) argument
175 #define __scanf(a, b) __attribute__((__format__(scanf, a, b))) argument
H A Dcompiler_types.h21 #define ___PASTE(a, b) a##b argument
22 #define __PASTE(a, b) ___PASTE(a, b) argument
90 #define ___PASTE(a, b) a##b argument
91 #define __PASTE(a, b) ___PASTE(a, b) argument
201 #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b)) argument
H A Dminmax.h271 #define swap(a, b) \ argument
H A Dlinux-efi.h12 MAKE_EFI_GUID(a,b,c,d...) global() argument
H A Dlinux-efi.h15 MAKE_EFI_GUID(a,b,c,d...) global() argument
H A Dlinux-efi.h21 #define MAKE_EFI_GUID(a, b, c, d...) \ argument
/DragonStub/inc/ia64/
H A Defibind.h117 #define EFIERR(a) (0x8000000000000000 | a) argument
119 #define EFIERR_OEM(a) (0xc000000000000000 | a) argument
171 #define RUNTIME_CODE(a) alloc_text("rtcode", a) argument
/DragonStub/inc/ia32/
H A Defibind.h126 #define EFIERR(a) (0x80000000 | a) argument
128 #define EFIERR_OEM(a) (0xc0000000 | a) argument
194 #define RUNTIME_CODE(a) alloc_text("rtcode", a) argument
/DragonStub/apps/lib/libfdt/
H A Dlibfdt_internal.h10 #define FDT_ALIGN(x, a) (((x) + (a) - 1) & ~((a) - 1)) argument
/DragonStub/inc/protocol/
H A Dvgaclass.h76 #define VGA_CON_OUT_DEV_FROM_THIS(a) CR(a, VGA_CON_OUT_DEV, ConOut, VGA_CON_OUT_DEV_SIGNATURE) argument
/DragonStub/inc/x86_64/
H A Defibind.h136 #define EFIERR(a) (0x8000000000000000 | a) argument
138 #define EFIERR_OEM(a) (0xc000000000000000 | a) argument
207 #define RUNTIME_CODE(a) alloc_text("rtcode", a) argument
/DragonStub/lib/
H A Ddpath.c27 #define ALIGN_SIZE(a) ((a % MIN_ALIGNMENT_SIZE) ? MIN_ALIGNMENT_SIZE - (a % MIN_ALIGNMENT_SIZE) :… argument

12