efistub.h (cb8c90a08c7f2f761919190093fca0611c1cece4) efistub.h (2c7d1e30e5884dc6f6727ecd9417491c9f321b59)
1/* SPDX-License-Identifier: GPL-2.0 */
2
3#ifndef _DRIVERS_FIRMWARE_EFI_EFISTUB_H
4#define _DRIVERS_FIRMWARE_EFI_EFISTUB_H
5
1/* SPDX-License-Identifier: GPL-2.0 */
2
3#ifndef _DRIVERS_FIRMWARE_EFI_EFISTUB_H
4#define _DRIVERS_FIRMWARE_EFI_EFISTUB_H
5
6#include <linux/compiler.h>
6#include <linux/efi.h>
7#include <linux/kernel.h>
8#include <linux/types.h>
9#include <asm/efi.h>
10
11/* error code which can't be mistaken for valid address */
12#define EFI_ERROR (~0UL)
13

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

627efi_status_t check_platform_features(void);
628
629void *get_efi_config_table(efi_guid_t guid);
630
631/* NOTE: These functions do not print a trailing newline after the string */
632void efi_char16_puts(efi_char16_t *);
633void efi_puts(const char *str);
634
7#include <linux/efi.h>
8#include <linux/kernel.h>
9#include <linux/types.h>
10#include <asm/efi.h>
11
12/* error code which can't be mistaken for valid address */
13#define EFI_ERROR (~0UL)
14

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

628efi_status_t check_platform_features(void);
629
630void *get_efi_config_table(efi_guid_t guid);
631
632/* NOTE: These functions do not print a trailing newline after the string */
633void efi_char16_puts(efi_char16_t *);
634void efi_puts(const char *str);
635
636__printf(1, 2) int efi_printk(char const *fmt, ...);
637
635void efi_free(unsigned long size, unsigned long addr);
636
637char *efi_convert_cmdline(efi_loaded_image_t *image, int *cmd_line_len,
638 unsigned long max_addr);
639
640efi_status_t efi_get_memory_map(struct efi_boot_memmap *map);
641
642efi_status_t efi_allocate_pages(unsigned long size, unsigned long *addr,

--- 43 unchanged lines hidden ---
638void efi_free(unsigned long size, unsigned long addr);
639
640char *efi_convert_cmdline(efi_loaded_image_t *image, int *cmd_line_len,
641 unsigned long max_addr);
642
643efi_status_t efi_get_memory_map(struct efi_boot_memmap *map);
644
645efi_status_t efi_allocate_pages(unsigned long size, unsigned long *addr,

--- 43 unchanged lines hidden ---