arch/sh/include/asm/types.h

Source file repositories/reference/linux-study-clean/arch/sh/include/asm/types.h

File Facts

System
Linux kernel
Corpus path
arch/sh/include/asm/types.h
Extension
.h
Size
334 bytes
Lines
17
Domain
Architecture Layer
Bucket
arch/sh
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_SH_TYPES_H
#define __ASM_SH_TYPES_H

#include <asm-generic/int-ll64.h>

/*
 * These aren't exported outside the kernel to avoid name space clashes
 */
#ifndef __ASSEMBLER__

typedef u16 insn_size_t;
typedef u32 reg_size_t;

#endif /* __ASSEMBLER__ */
#endif /* __ASM_SH_TYPES_H */

Annotation

Implementation Notes