efi.h (9938b04472d5c59f8bd8152a548533a8599596a2) | efi.h (9fc68b717c24a215a32c1b4e05b30433cafb2599) |
---|---|
1/* 2 * Copyright (C) 2015 Linaro Ltd <ard.biesheuvel@linaro.org> 3 * 4 * This program is free software; you can redistribute it and/or modify 5 * it under the terms of the GNU General Public License version 2 as 6 * published by the Free Software Foundation. 7 */ 8 --- 8 unchanged lines hidden (view full) --- 17#include <asm/mach/map.h> 18#include <asm/mmu_context.h> 19#include <asm/pgtable.h> 20 21#ifdef CONFIG_EFI 22void efi_init(void); 23 24int efi_create_mapping(struct mm_struct *mm, efi_memory_desc_t *md); | 1/* 2 * Copyright (C) 2015 Linaro Ltd <ard.biesheuvel@linaro.org> 3 * 4 * This program is free software; you can redistribute it and/or modify 5 * it under the terms of the GNU General Public License version 2 as 6 * published by the Free Software Foundation. 7 */ 8 --- 8 unchanged lines hidden (view full) --- 17#include <asm/mach/map.h> 18#include <asm/mmu_context.h> 19#include <asm/pgtable.h> 20 21#ifdef CONFIG_EFI 22void efi_init(void); 23 24int efi_create_mapping(struct mm_struct *mm, efi_memory_desc_t *md); |
25int efi_set_mapping_permissions(struct mm_struct *mm, efi_memory_desc_t *md); |
|
25 26#define efi_call_virt(f, ...) \ 27({ \ 28 efi_##f##_t *__f; \ 29 efi_status_t __s; \ 30 \ 31 efi_virtmap_load(); \ 32 __f = efi.systab->runtime->f; \ --- 51 unchanged lines hidden --- | 26 27#define efi_call_virt(f, ...) \ 28({ \ 29 efi_##f##_t *__f; \ 30 efi_status_t __s; \ 31 \ 32 efi_virtmap_load(); \ 33 __f = efi.systab->runtime->f; \ --- 51 unchanged lines hidden --- |