efistub.h (e4fbf4767440472f9d23b0f25a2b905e1c63b6a8) efistub.h (2ddbfc81eac84a299cb4747a8764bc43f23e9008)
1
2#ifndef _DRIVERS_FIRMWARE_EFI_EFISTUB_H
3#define _DRIVERS_FIRMWARE_EFI_EFISTUB_H
4
5/* error code which can't be mistaken for valid address */
6#define EFI_ERROR (~0UL)
7
8void efi_char16_printk(efi_system_table_t *, efi_char16_t *);

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

41
42void efi_get_virtmap(efi_memory_desc_t *memory_map, unsigned long map_size,
43 unsigned long desc_size, efi_memory_desc_t *runtime_map,
44 int *count);
45
46efi_status_t efi_get_random_bytes(efi_system_table_t *sys_table,
47 unsigned long size, u8 *out);
48
1
2#ifndef _DRIVERS_FIRMWARE_EFI_EFISTUB_H
3#define _DRIVERS_FIRMWARE_EFI_EFISTUB_H
4
5/* error code which can't be mistaken for valid address */
6#define EFI_ERROR (~0UL)
7
8void efi_char16_printk(efi_system_table_t *, efi_char16_t *);

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

41
42void efi_get_virtmap(efi_memory_desc_t *memory_map, unsigned long map_size,
43 unsigned long desc_size, efi_memory_desc_t *runtime_map,
44 int *count);
45
46efi_status_t efi_get_random_bytes(efi_system_table_t *sys_table,
47 unsigned long size, u8 *out);
48
49efi_status_t efi_random_alloc(efi_system_table_t *sys_table_arg,
50 unsigned long size, unsigned long align,
51 unsigned long *addr, unsigned long random_seed);
52
49#endif
53#endif