arch/x86/um/shared/sysdep/stub-data.h

Source file repositories/reference/linux-study-clean/arch/x86/um/shared/sysdep/stub-data.h

File Facts

System
Linux kernel
Corpus path
arch/x86/um/shared/sysdep/stub-data.h
Extension
.h
Size
461 bytes
Lines
24
Domain
Architecture Layer
Bucket
arch/x86
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

struct stub_data_arch {
	int sync;
	struct user_desc tls[UM_KERN_GDT_ENTRY_TLS_ENTRIES];
};
#else
#define STUB_SYNC_FS_BASE (1 << 0)
#define STUB_SYNC_GS_BASE (1 << 1)
struct stub_data_arch {
	int sync;
	unsigned long fs_base;
	unsigned long gs_base;
};
#endif

#endif /* __ARCH_STUB_DATA_H */

Annotation

Implementation Notes