mirror of
https://github.com/ipxe/ipxe
synced 2025-12-25 17:12:40 +03:00
[efi] Add EFI image format and basic runtime environment
We have EFI APIs for CPU I/O, PCI I/O, timers, console I/O, user access and user memory allocation. EFI executables are created using the vanilla GNU toolchain, with the EXE header handcrafted in assembly and relocations generated by a custom efilink utility.
This commit is contained in:
16
src/include/gpxe/efi/efi_timer.h
Normal file
16
src/include/gpxe/efi/efi_timer.h
Normal file
@@ -0,0 +1,16 @@
|
||||
#ifndef _GPXE_EFI_TIMER_H
|
||||
#define _GPXE_EFI_TIMER_H
|
||||
|
||||
/** @file
|
||||
*
|
||||
* gPXE timer API for EFI
|
||||
*
|
||||
*/
|
||||
|
||||
#ifdef TIMER_EFI
|
||||
#define TIMER_PREFIX_efi
|
||||
#else
|
||||
#define TIMER_PREFIX_efi __efi_
|
||||
#endif
|
||||
|
||||
#endif /* _GPXE_EFI_TIMER_H */
|
||||
Reference in New Issue
Block a user