asm-offsets.c (1ac731c529cd4d6adbce134754b51ff7d822b145) asm-offsets.c (57a420bb8186d1d0178b857e5dd5026093641654)
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Generate definitions needed by assembly language modules.
4 * This code generates raw asm output which is post-processed to extract
5 * and format the required data.
6 */
7#define COMPILE_OFFSETS
8

--- 54 unchanged lines hidden (view full) ---

63#ifdef CONFIG_XEN
64 BLANK();
65 OFFSET(XEN_vcpu_info_mask, vcpu_info, evtchn_upcall_mask);
66 OFFSET(XEN_vcpu_info_pending, vcpu_info, evtchn_upcall_pending);
67 OFFSET(XEN_vcpu_info_arch_cr2, vcpu_info, arch.cr2);
68#endif
69
70 BLANK();
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Generate definitions needed by assembly language modules.
4 * This code generates raw asm output which is post-processed to extract
5 * and format the required data.
6 */
7#define COMPILE_OFFSETS
8

--- 54 unchanged lines hidden (view full) ---

63#ifdef CONFIG_XEN
64 BLANK();
65 OFFSET(XEN_vcpu_info_mask, vcpu_info, evtchn_upcall_mask);
66 OFFSET(XEN_vcpu_info_pending, vcpu_info, evtchn_upcall_pending);
67 OFFSET(XEN_vcpu_info_arch_cr2, vcpu_info, arch.cr2);
68#endif
69
70 BLANK();
71 OFFSET(TDX_MODULE_rcx, tdx_module_output, rcx);
72 OFFSET(TDX_MODULE_rdx, tdx_module_output, rdx);
73 OFFSET(TDX_MODULE_r8, tdx_module_output, r8);
74 OFFSET(TDX_MODULE_r9, tdx_module_output, r9);
75 OFFSET(TDX_MODULE_r10, tdx_module_output, r10);
76 OFFSET(TDX_MODULE_r11, tdx_module_output, r11);
71 OFFSET(TDX_MODULE_rcx, tdx_module_args, rcx);
72 OFFSET(TDX_MODULE_rdx, tdx_module_args, rdx);
73 OFFSET(TDX_MODULE_r8, tdx_module_args, r8);
74 OFFSET(TDX_MODULE_r9, tdx_module_args, r9);
75 OFFSET(TDX_MODULE_r10, tdx_module_args, r10);
76 OFFSET(TDX_MODULE_r11, tdx_module_args, r11);
77
78 BLANK();
79 OFFSET(TDX_HYPERCALL_r8, tdx_hypercall_args, r8);
80 OFFSET(TDX_HYPERCALL_r9, tdx_hypercall_args, r9);
81 OFFSET(TDX_HYPERCALL_r10, tdx_hypercall_args, r10);
82 OFFSET(TDX_HYPERCALL_r11, tdx_hypercall_args, r11);
83 OFFSET(TDX_HYPERCALL_r12, tdx_hypercall_args, r12);
84 OFFSET(TDX_HYPERCALL_r13, tdx_hypercall_args, r13);

--- 46 unchanged lines hidden ---
77
78 BLANK();
79 OFFSET(TDX_HYPERCALL_r8, tdx_hypercall_args, r8);
80 OFFSET(TDX_HYPERCALL_r9, tdx_hypercall_args, r9);
81 OFFSET(TDX_HYPERCALL_r10, tdx_hypercall_args, r10);
82 OFFSET(TDX_HYPERCALL_r11, tdx_hypercall_args, r11);
83 OFFSET(TDX_HYPERCALL_r12, tdx_hypercall_args, r12);
84 OFFSET(TDX_HYPERCALL_r13, tdx_hypercall_args, r13);

--- 46 unchanged lines hidden ---