arch/xtensa/include/uapi/asm/byteorder.h

Source file repositories/reference/linux-study-clean/arch/xtensa/include/uapi/asm/byteorder.h

File Facts

System
Linux kernel
Corpus path
arch/xtensa/include/uapi/asm/byteorder.h
Extension
.h
Size
340 bytes
Lines
14
Domain
Architecture Layer
Bucket
arch/xtensa
Inferred role
Architecture Layer: implementation source
Status
source implementation candidate

Why This File Exists

CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef _XTENSA_BYTEORDER_H
#define _XTENSA_BYTEORDER_H

#ifdef __XTENSA_EL__
#include <linux/byteorder/little_endian.h>
#elif defined(__XTENSA_EB__)
#include <linux/byteorder/big_endian.h>
#else
# error processor byte order undefined!
#endif

#endif /* _XTENSA_BYTEORDER_H */

Annotation

Implementation Notes