efi_loader: add static to local functions
These are locally used in lib/efi_loader/efi_boottime.c Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
parent
a95343b8d3
commit
6e0bf8d8b4
|
|
@ -104,7 +104,7 @@ static void EFIAPI efi_restore_tpl(unsigned long old_tpl)
|
||||||
EFI_EXIT(efi_unsupported(__func__));
|
EFI_EXIT(efi_unsupported(__func__));
|
||||||
}
|
}
|
||||||
|
|
||||||
efi_status_t EFIAPI efi_allocate_pages_ext(int type, int memory_type,
|
static efi_status_t EFIAPI efi_allocate_pages_ext(int type, int memory_type,
|
||||||
unsigned long pages,
|
unsigned long pages,
|
||||||
uint64_t *memory)
|
uint64_t *memory)
|
||||||
{
|
{
|
||||||
|
|
@ -115,7 +115,8 @@ efi_status_t EFIAPI efi_allocate_pages_ext(int type, int memory_type,
|
||||||
return EFI_EXIT(r);
|
return EFI_EXIT(r);
|
||||||
}
|
}
|
||||||
|
|
||||||
efi_status_t EFIAPI efi_free_pages_ext(uint64_t memory, unsigned long pages)
|
static efi_status_t EFIAPI efi_free_pages_ext(uint64_t memory,
|
||||||
|
unsigned long pages)
|
||||||
{
|
{
|
||||||
efi_status_t r;
|
efi_status_t r;
|
||||||
|
|
||||||
|
|
@ -124,7 +125,8 @@ efi_status_t EFIAPI efi_free_pages_ext(uint64_t memory, unsigned long pages)
|
||||||
return EFI_EXIT(r);
|
return EFI_EXIT(r);
|
||||||
}
|
}
|
||||||
|
|
||||||
efi_status_t EFIAPI efi_get_memory_map_ext(unsigned long *memory_map_size,
|
static efi_status_t EFIAPI efi_get_memory_map_ext(
|
||||||
|
unsigned long *memory_map_size,
|
||||||
struct efi_mem_desc *memory_map,
|
struct efi_mem_desc *memory_map,
|
||||||
unsigned long *map_key,
|
unsigned long *map_key,
|
||||||
unsigned long *descriptor_size,
|
unsigned long *descriptor_size,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue