arch/x86/include/asm/tdx_global_metadata.h
Source file repositories/reference/linux-study-clean/arch/x86/include/asm/tdx_global_metadata.h
File Facts
- System
- Linux kernel
- Corpus path
arch/x86/include/asm/tdx_global_metadata.h- Extension
.h- Size
- 1141 bytes
- Lines
- 56
- 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.
- CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/types.h
Detected Declarations
struct tdx_sys_info_versionstruct tdx_sys_info_featuresstruct tdx_sys_info_tdmrstruct tdx_sys_info_td_ctrlstruct tdx_sys_info_td_confstruct tdx_sys_info_handoffstruct tdx_sys_info
Annotated Snippet
struct tdx_sys_info_version {
u16 minor_version;
u16 major_version;
u16 update_version;
};
struct tdx_sys_info_features {
u64 tdx_features0;
};
struct tdx_sys_info_tdmr {
u16 max_tdmrs;
u16 max_reserved_per_tdmr;
u16 pamt_4k_entry_size;
u16 pamt_2m_entry_size;
u16 pamt_1g_entry_size;
};
struct tdx_sys_info_td_ctrl {
u16 tdr_base_size;
u16 tdcs_base_size;
u16 tdvps_base_size;
};
struct tdx_sys_info_td_conf {
u64 attributes_fixed0;
u64 attributes_fixed1;
u64 xfam_fixed0;
u64 xfam_fixed1;
u16 num_cpuid_config;
u16 max_vcpus_per_td;
u64 cpuid_config_leaves[128];
u64 cpuid_config_values[128][2];
};
struct tdx_sys_info_handoff {
u16 module_hv;
};
struct tdx_sys_info {
struct tdx_sys_info_version version;
struct tdx_sys_info_features features;
struct tdx_sys_info_tdmr tdmr;
struct tdx_sys_info_td_ctrl td_ctrl;
struct tdx_sys_info_td_conf td_conf;
};
#endif
Annotation
- Immediate include surface: `linux/types.h`.
- Detected declarations: `struct tdx_sys_info_version`, `struct tdx_sys_info_features`, `struct tdx_sys_info_tdmr`, `struct tdx_sys_info_td_ctrl`, `struct tdx_sys_info_td_conf`, `struct tdx_sys_info_handoff`, `struct tdx_sys_info`.
- Atlas domain: Architecture Layer / arch/x86.
- Implementation status: source implementation candidate.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.