|
iPXE
|
CPU sleeping. More...
#include <ipxe/api.h>#include <config/nap.h>#include <ipxe/null_nap.h>#include <ipxe/efi/efi_nap.h>#include <ipxe/linux/linux_nap.h>#include <bits/nap.h>Go to the source code of this file.
Macros | |
| #define | NAP_INLINE(_subsys, _api_func) |
| Calculate static inline CPU sleeping API function name. | |
| #define | PROVIDE_NAP(_subsys, _api_func, _func) |
| Provide an CPU sleeping API implementation. | |
| #define | PROVIDE_NAP_INLINE(_subsys, _api_func) |
| Provide a static inline CPU sleeping API implementation. | |
Functions | |
| FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
| FILE_SECBOOT (PERMITTED) | |
| void | cpu_halt (void) |
| Sleep until next CPU interrupt. | |
| void | cpu_nap (void) |
| Sleep with interrupts enabled until next CPU interrupt. | |
CPU sleeping.
Definition in file nap.h.
| #define NAP_INLINE | ( | _subsys, | |
| _api_func ) |
Calculate static inline CPU sleeping API function name.
| _prefix | Subsystem prefix |
| _api_func | API function |
| _subsys_func | Subsystem API function |
Definition at line 23 of file nap.h.
| #define PROVIDE_NAP | ( | _subsys, | |
| _api_func, | |||
| _func ) |
Provide an CPU sleeping API implementation.
| _prefix | Subsystem prefix |
| _api_func | API function |
| _func | Implementing function |
Definition at line 33 of file nap.h.
| #define PROVIDE_NAP_INLINE | ( | _subsys, | |
| _api_func ) |
Provide a static inline CPU sleeping API implementation.
| _prefix | Subsystem prefix |
| _api_func | API function |
Definition at line 42 of file nap.h.
| FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
| FILE_SECBOOT | ( | PERMITTED | ) |
| void cpu_halt | ( | void | ) |
Sleep until next CPU interrupt.
Referenced by efi_cpu_nap().
| void cpu_nap | ( | void | ) |
Sleep with interrupts enabled until next CPU interrupt.
Referenced by gdbudp_recv(), getchar(), getchar_timeout(), NAP_INLINE(), nap_test_exec(), PROVIDE_NAP(), PROVIDE_NAP(), PROVIDE_NAP_INLINE(), sleep_interruptible(), xenbus_backend_wait(), xenstore_recv(), xenstore_response(), and xenstore_send().