/DragonStub/inc/dragonstub/linux/ |
H A D | align.h | 8 #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 D | const.h | 32 #define __ALIGN_KERNEL(x, a) __ALIGN_KERNEL_MASK(x, (__typeof__(x))(a) - 1) argument
|
/DragonStub/inc/dragonstub/linux/arch/riscv/asm/ |
H A D | asm.h | 16 #define __REG_SEL(a, b) __ASM_STR(a) argument 18 #define __REG_SEL(a, b) __ASM_STR(b) argument
|
/DragonStub/inc/riscv64/ |
H A D | efibind.h | 44 #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 D | efibind.h | 67 #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 D | efibind.h | 65 #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 D | efibind.h | 73 #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 D | efibind.h | 67 #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 D | efierr.h | 24 #define EFIWARN(a) (a) argument 25 #define EFI_ERROR(a) (((INTN) a) < 0) argument
|
H A D | efidevp.h | 47 #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 D | efifs.h | 72 #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 D | efidebug.h | 26 #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 D | efidef.h | 241 #define EFI_SIZE_TO_PAGES(a) \ argument
|
/DragonStub/inc/dragonstub/ |
H A D | compiler_attributes.h | 71 #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 D | compiler_types.h | 21 #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 D | minmax.h | 271 #define swap(a, b) \ argument
|
H A D | linux-efi.h | 12 MAKE_EFI_GUID(a,b,c,d...) global() argument
|
H A D | linux-efi.h | 15 MAKE_EFI_GUID(a,b,c,d...) global() argument
|
H A D | linux-efi.h | 21 #define MAKE_EFI_GUID(a, b, c, d...) \ argument
|
/DragonStub/inc/ia64/ |
H A D | efibind.h | 117 #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 D | efibind.h | 126 #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 D | libfdt_internal.h | 10 #define FDT_ALIGN(x, a) (((x) + (a) - 1) & ~((a) - 1)) argument
|
/DragonStub/inc/protocol/ |
H A D | vgaclass.h | 76 #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 D | efibind.h | 136 #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 D | dpath.c | 27 #define ALIGN_SIZE(a) ((a % MIN_ALIGNMENT_SIZE) ? MIN_ALIGNMENT_SIZE - (a % MIN_ALIGNMENT_SIZE) :… argument
|