/
githubmirror
/
ipxe
Обзор
Документация
Войти
/
githubmirror
/
ipxe
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/arch/x86/include/bits/nap.h
23 строки
387 B
Michael Brown
[build] Mark core files as permitted for UEFI Secure Boot
14 янв 2026, 16:25
14 янв 2026, 16:25
6cccb3b
Код
Авторство
О чём код?
#ifndef _BITS_NAP_H #define _BITS_NAP_H /** @file * * x86-specific CPU sleeping API implementations * */ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL ); FILE_SECBOOT ( PERMITTED ); #include <ipxe/bios_nap.h> /** * Sleep until next CPU interrupt * */ static inline __attribute__ (( always_inline )) void cpu_halt ( void ) { __asm__ __volatile__ ( "hlt" ); } #endif /* _BITS_NAP_H */