Lines Matching +full:write +full:- +full:to +full:- +full:write
1 /* SPDX-License-Identifier: GPL-2.0 */
17 #define EFI_LOAD_ERROR ( 1 | (1UL << (BITS_PER_LONG-1)))
18 #define EFI_INVALID_PARAMETER ( 2 | (1UL << (BITS_PER_LONG-1)))
19 #define EFI_UNSUPPORTED ( 3 | (1UL << (BITS_PER_LONG-1)))
20 #define EFI_BAD_BUFFER_SIZE ( 4 | (1UL << (BITS_PER_LONG-1)))
21 #define EFI_BUFFER_TOO_SMALL ( 5 | (1UL << (BITS_PER_LONG-1)))
22 #define EFI_NOT_READY ( 6 | (1UL << (BITS_PER_LONG-1)))
23 #define EFI_DEVICE_ERROR ( 7 | (1UL << (BITS_PER_LONG-1)))
24 #define EFI_WRITE_PROTECTED ( 8 | (1UL << (BITS_PER_LONG-1)))
25 #define EFI_OUT_OF_RESOURCES ( 9 | (1UL << (BITS_PER_LONG-1)))
26 #define EFI_NOT_FOUND (14 | (1UL << (BITS_PER_LONG-1)))
27 #define EFI_TIMEOUT (18 | (1UL << (BITS_PER_LONG-1)))
28 #define EFI_ABORTED (21 | (1UL << (BITS_PER_LONG-1)))
29 #define EFI_SECURITY_VIOLATION (26 | (1UL << (BITS_PER_LONG-1)))
46 * is 32 bits not 8 bits like our guid_t. In some cases (i.e., on 32-bit ARM),
48 * efi_guid_t* arguments are 32-bit aligned, and use memory accessors that
49 * do not tolerate misalignment. So let's set the minimum alignment to 32 bits.
52 * suggest that EFI_GUID should be 64-bit aligned, but this appears to be
53 * a mistake, given that no code seems to exist that actually enforces that
116 #define EFI_MEMORY_WC ((u64)0x0000000000000002ULL) /* write-coalescing */
117 #define EFI_MEMORY_WT ((u64)0x0000000000000004ULL) /* write-through */
118 #define EFI_MEMORY_WB ((u64)0x0000000000000008ULL) /* write-back */
120 #define EFI_MEMORY_WP ((u64)0x0000000000001000ULL) /* write-protect */
121 #define EFI_MEMORY_RP ((u64)0x0000000000002000ULL) /* read-protect */
122 #define EFI_MEMORY_XP ((u64)0x0000000000004000ULL) /* execute-protect */
123 #define EFI_MEMORY_NV ((u64)0x0000000000008000ULL) /* non-volatile */
126 #define EFI_MEMORY_RO ((u64)0x0000000000020000ULL) /* read-only */
544 efi_file_write __efiapi *write; member
569 #define efi_fn_call(inst, func, ...) (inst)->func(__VA_ARGS__)
570 #define efi_bs_call(func, ...) efi_system_table->boottime->func(__VA_ARGS__)
571 #define efi_rs_call(func, ...) efi_system_table->runtime->func(__VA_ARGS__)