Release 4.10 arch/x86/platform/efi/efi_32.c
/*
* Extensible Firmware Interface
*
* Based on Extensible Firmware Interface Specification version 1.0
*
* Copyright (C) 1999 VA Linux Systems
* Copyright (C) 1999 Walt Drummond <drummond@valinux.com>
* Copyright (C) 1999-2002 Hewlett-Packard Co.
* David Mosberger-Tang <davidm@hpl.hp.com>
* Stephane Eranian <eranian@hpl.hp.com>
*
* All EFI Runtime Services are not implemented yet as EFI only
* supports physical mode addressing on SoftSDV. This is to be fixed
* in a future version. --drummond 1999-07-20
*
* Implemented EFI runtime services and virtual mode calls. --davidm
*
* Goutham Rao: <goutham.rao@intel.com>
* Skip non-WB memory and ignore empty memory ranges.
*/
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/ioport.h>
#include <linux/efi.h>
#include <asm/io.h>
#include <asm/desc.h>
#include <asm/page.h>
#include <asm/pgtable.h>
#include <asm/tlbflush.h>
#include <asm/efi.h>
/*
* To make EFI call EFI runtime service in physical addressing mode we need
* prolog/epilog before/after the invocation to claim the EFI runtime service
* handler exclusively and to duplicate a memory mapping in low memory space,
* say 0 - 3G.
*/
int __init efi_alloc_page_tables(void)
{
return 0;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
matt fleming | matt fleming | 11 | 100.00% | 1 | 100.00% |
| Total | 11 | 100.00% | 1 | 100.00% |
void efi_sync_low_kernel_mappings(void) {}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
borislav petkov | borislav petkov | 6 | 100.00% | 1 | 100.00% |
| Total | 6 | 100.00% | 1 | 100.00% |
void __init efi_dump_pagetable(void) {}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
borislav petkov | borislav petkov | 7 | 100.00% | 2 | 100.00% |
| Total | 7 | 100.00% | 2 | 100.00% |
int __init efi_setup_page_tables(unsigned long pa_memmap, unsigned num_pages)
{
return 0;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
borislav petkov | borislav petkov | 15 | 93.75% | 2 | 66.67% |
mathias krause | mathias krause | 1 | 6.25% | 1 | 33.33% |
| Total | 16 | 100.00% | 3 | 100.00% |
void __init efi_map_region(efi_memory_desc_t *md)
{
old_map_region(md);
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
borislav petkov | borislav petkov | 15 | 100.00% | 1 | 100.00% |
| Total | 15 | 100.00% | 1 | 100.00% |
void __init efi_map_region_fixed(efi_memory_desc_t *md) {}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
dave young | dave young | 9 | 100.00% | 1 | 100.00% |
| Total | 9 | 100.00% | 1 | 100.00% |
void __init parse_efi_setup(u64 phys_addr, u32 data_len) {}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
dave young | dave young | 11 | 100.00% | 1 | 100.00% |
| Total | 11 | 100.00% | 1 | 100.00% |
pgd_t * __init efi_call_phys_prolog(void)
{
struct desc_ptr gdt_descr;
pgd_t *save_pgd;
/* Current pgd is swapper_pg_dir, we'll restore it later: */
save_pgd = swapper_pg_dir;
load_cr3(initial_page_table);
__flush_tlb_all();
gdt_descr.address = __pa(get_cpu_gdt_table(0));
gdt_descr.size = GDT_SIZE - 1;
load_gdt(&gdt_descr);
return save_pgd;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
rusty russell | rusty russell | 17 | 28.81% | 1 | 11.11% |
andrew morton | andrew morton | 16 | 27.12% | 1 | 11.11% |
ingo molnar | ingo molnar | 14 | 23.73% | 1 | 11.11% |
zachary amsden | zachary amsden | 4 | 6.78% | 1 | 11.11% |
edgar hucek | edgar hucek | 2 | 3.39% | 1 | 11.11% |
matt fleming | matt fleming | 2 | 3.39% | 1 | 11.11% |
mathias krause | mathias krause | 2 | 3.39% | 1 | 11.11% |
glauber de oliveira costa | glauber de oliveira costa | 1 | 1.69% | 1 | 11.11% |
huang ying | huang ying | 1 | 1.69% | 1 | 11.11% |
| Total | 59 | 100.00% | 9 | 100.00% |
void __init efi_call_phys_epilog(pgd_t *save_pgd)
{
struct desc_ptr gdt_descr;
gdt_descr.address = (unsigned long)get_cpu_gdt_table(0);
gdt_descr.size = GDT_SIZE - 1;
load_gdt(&gdt_descr);
load_cr3(save_pgd);
__flush_tlb_all();
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
andrew morton | andrew morton | 20 | 40.82% | 2 | 20.00% |
rusty russell | rusty russell | 15 | 30.61% | 1 | 10.00% |
zachary amsden | zachary amsden | 4 | 8.16% | 1 | 10.00% |
ingo molnar | ingo molnar | 4 | 8.16% | 1 | 10.00% |
edgar hucek | edgar hucek | 2 | 4.08% | 1 | 10.00% |
huang ying | huang ying | 1 | 2.04% | 1 | 10.00% |
mathias krause | mathias krause | 1 | 2.04% | 1 | 10.00% |
matt fleming | matt fleming | 1 | 2.04% | 1 | 10.00% |
glauber de oliveira costa | glauber de oliveira costa | 1 | 2.04% | 1 | 10.00% |
| Total | 49 | 100.00% | 10 | 100.00% |
void __init efi_runtime_update_mappings(void)
{
if (__supported_pte_mask & _PAGE_NX)
runtime_code_page_mkexec();
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
borislav petkov | borislav petkov | 16 | 94.12% | 1 | 50.00% |
sai praneeth | sai praneeth | 1 | 5.88% | 1 | 50.00% |
| Total | 17 | 100.00% | 2 | 100.00% |
Overall Contributors
| Person | Tokens | Prop | Commits | CommitProp |
andrew morton | andrew morton | 61 | 26.29% | 2 | 9.52% |
borislav petkov | borislav petkov | 59 | 25.43% | 4 | 19.05% |
rusty russell | rusty russell | 32 | 13.79% | 1 | 4.76% |
dave young | dave young | 20 | 8.62% | 2 | 9.52% |
ingo molnar | ingo molnar | 19 | 8.19% | 2 | 9.52% |
matt fleming | matt fleming | 14 | 6.03% | 2 | 9.52% |
zachary amsden | zachary amsden | 8 | 3.45% | 1 | 4.76% |
mathias krause | mathias krause | 4 | 1.72% | 1 | 4.76% |
edgar hucek | edgar hucek | 4 | 1.72% | 1 | 4.76% |
paul gortmaker | paul gortmaker | 3 | 1.29% | 1 | 4.76% |
harvey harrison | harvey harrison | 3 | 1.29% | 1 | 4.76% |
huang ying | huang ying | 2 | 0.86% | 1 | 4.76% |
glauber de oliveira costa | glauber de oliveira costa | 2 | 0.86% | 1 | 4.76% |
sai praneeth | sai praneeth | 1 | 0.43% | 1 | 4.76% |
| Total | 232 | 100.00% | 21 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.