|
@@ -33,11 +33,10 @@
|
|
|
|
|
|
/*
|
|
|
* To make EFI call EFI runtime service in physical addressing mode we need
|
|
|
- * prolog/epilog before/after the invocation to disable interrupt, to
|
|
|
- * claim EFI runtime service handler exclusively and to duplicate a memory in
|
|
|
- * low memory space say 0 - 3G.
|
|
|
+ * 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.
|
|
|
*/
|
|
|
-static unsigned long efi_rt_eflags;
|
|
|
|
|
|
void efi_sync_low_kernel_mappings(void) {}
|
|
|
void __init efi_dump_pagetable(void) {}
|
|
@@ -61,8 +60,6 @@ void __init efi_call_phys_prolog(void)
|
|
|
{
|
|
|
struct desc_ptr gdt_descr;
|
|
|
|
|
|
- local_irq_save(efi_rt_eflags);
|
|
|
-
|
|
|
load_cr3(initial_page_table);
|
|
|
__flush_tlb_all();
|
|
|
|
|
@@ -81,8 +78,6 @@ void __init efi_call_phys_epilog(void)
|
|
|
|
|
|
load_cr3(swapper_pg_dir);
|
|
|
__flush_tlb_all();
|
|
|
-
|
|
|
- local_irq_restore(efi_rt_eflags);
|
|
|
}
|
|
|
|
|
|
void __init efi_runtime_mkexec(void)
|