|
@@ -40,7 +40,6 @@
|
|
* Restores the usual kernel environment once the call has returned.
|
|
* Restores the usual kernel environment once the call has returned.
|
|
*/
|
|
*/
|
|
|
|
|
|
-#ifndef efi_call_virt
|
|
|
|
#define efi_call_virt(f, args...) \
|
|
#define efi_call_virt(f, args...) \
|
|
({ \
|
|
({ \
|
|
efi_status_t __s; \
|
|
efi_status_t __s; \
|
|
@@ -49,16 +48,13 @@
|
|
arch_efi_call_virt_teardown(); \
|
|
arch_efi_call_virt_teardown(); \
|
|
__s; \
|
|
__s; \
|
|
})
|
|
})
|
|
-#endif
|
|
|
|
|
|
|
|
-#ifndef __efi_call_virt
|
|
|
|
#define __efi_call_virt(f, args...) \
|
|
#define __efi_call_virt(f, args...) \
|
|
({ \
|
|
({ \
|
|
arch_efi_call_virt_setup(); \
|
|
arch_efi_call_virt_setup(); \
|
|
arch_efi_call_virt(f, args); \
|
|
arch_efi_call_virt(f, args); \
|
|
arch_efi_call_virt_teardown(); \
|
|
arch_efi_call_virt_teardown(); \
|
|
})
|
|
})
|
|
-#endif
|
|
|
|
|
|
|
|
/*
|
|
/*
|
|
* According to section 7.1 of the UEFI spec, Runtime Services are not fully
|
|
* According to section 7.1 of the UEFI spec, Runtime Services are not fully
|