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

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

File Facts

System
Linux kernel
Corpus path
arch/mips/include/uapi/asm/byteorder.h
Extension
.h
Size
580 bytes
Lines
21
Domain
Architecture Layer
Bucket
arch/mips
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 _ASM_BYTEORDER_H
#define _ASM_BYTEORDER_H

#if defined(__MIPSEB__)
#include <linux/byteorder/big_endian.h>
#elif defined(__MIPSEL__)
#include <linux/byteorder/little_endian.h>
#else
# error "MIPS, but neither __MIPSEB__, nor __MIPSEL__???"
#endif

#endif /* _ASM_BYTEORDER_H */

Annotation

Implementation Notes