/
githubmirror
/
ipxe
Обзор
Документация
Войти
/
githubmirror
/
ipxe
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/include/endian.h
27 строк
654 B
Michael Brown
[build] Mark core files as permitted for UEFI Secure Boot
14 янв 2026, 16:25
14 янв 2026, 16:25
6cccb3b
Код
Авторство
О чём код?
#ifndef _ENDIAN_H #define _ENDIAN_H FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL ); FILE_SECBOOT ( PERMITTED ); /** Constant representing little-endian byte order * * Little-endian systems should define BYTE_ORDER as LITTLE_ENDIAN. * This constant is intended to be used only at compile time. */ #ifndef __LITTLE_ENDIAN #define __LITTLE_ENDIAN 0x44332211UL #endif /** Constant representing big-endian byte order * * Big-endian systems should define BYTE_ORDER as BIG_ENDIAN. * This constant is intended to be used only at compile time. */ #ifndef __BIG_ENDIAN #define __BIG_ENDIAN 0x11223344UL #endif #include "bits/endian.h" #endif /* _ENDIAN_H */