arch/s390/include/uapi/asm/types.h

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

File Facts

System
Linux kernel
Corpus path
arch/s390/include/uapi/asm/types.h
Extension
.h
Size
513 bytes
Lines
31
Domain
Architecture Layer
Bucket
arch/s390
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 _UAPI_S390_TYPES_H
#define _UAPI_S390_TYPES_H

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

#ifndef __ASSEMBLER__

typedef unsigned long addr_t;
typedef __signed__ long saddr_t;

typedef struct {
	union {
		struct {
			__u64 high;
			__u64 low;
		};
		__u32 u[4];
	};
} __attribute__((packed, aligned(4))) __vector128;

#endif /* __ASSEMBLER__ */

#endif /* _UAPI_S390_TYPES_H */

Annotation

Implementation Notes