- Force-add kernel include/generated/ and include/config/ headers needed for out-of-tree module compilation (autoconf.h, asm-offsets.h, etc.) - Force-add kernel .config, Module.symvers, and build tool binaries (scripts/basic/fixdep, scripts/mod/modpost) for kbuild module support - Fix SPI tools Makefile: use PATH-relative arm-linux-gnueabihf-gcc instead of hardcoded /opt/gcc-arm-eabihf/bin/ path These files enable the z80drv, ttymzdrv kernel modules and SPI tools to build on the VPS Jenkins without running make defconfig first. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
84 lines
3.8 KiB
C
Vendored
84 lines
3.8 KiB
C
Vendored
#ifndef __ASM_OFFSETS_H__
|
|
#define __ASM_OFFSETS_H__
|
|
/*
|
|
* DO NOT MODIFY.
|
|
*
|
|
* This file was generated by Kbuild
|
|
*/
|
|
|
|
#define TSK_ACTIVE_MM 556 /* offsetof(struct task_struct, active_mm) @ */
|
|
#define TSK_STACK_CANARY 688 /* offsetof(struct task_struct, stack_canary) @ */
|
|
|
|
#define TI_FLAGS 0 /* offsetof(struct thread_info, flags) @ */
|
|
#define TI_PREEMPT 4 /* offsetof(struct thread_info, preempt_count) @ */
|
|
#define TI_ADDR_LIMIT 8 /* offsetof(struct thread_info, addr_limit) @ */
|
|
#define TI_TASK 12 /* offsetof(struct thread_info, task) @ */
|
|
#define TI_CPU 16 /* offsetof(struct thread_info, cpu) @ */
|
|
#define TI_CPU_DOMAIN 20 /* offsetof(struct thread_info, cpu_domain) @ */
|
|
#define TI_CPU_SAVE 24 /* offsetof(struct thread_info, cpu_context) @ */
|
|
#define TI_USED_CP 76 /* offsetof(struct thread_info, used_cp) @ */
|
|
#define TI_TP_VALUE 92 /* offsetof(struct thread_info, tp_value) @ */
|
|
#define TI_FPSTATE 104 /* offsetof(struct thread_info, fpstate) @ */
|
|
#define TI_VFPSTATE 248 /* offsetof(struct thread_info, vfpstate) @ */
|
|
#define VFP_CPU 272 /* offsetof(union vfp_state, hard.cpu) @ */
|
|
#define TI_THUMBEE_STATE 528 /* offsetof(struct thread_info, thumbee_state) @ */
|
|
|
|
#define S_R0 0 /* offsetof(struct pt_regs, ARM_r0) @ */
|
|
#define S_R1 4 /* offsetof(struct pt_regs, ARM_r1) @ */
|
|
#define S_R2 8 /* offsetof(struct pt_regs, ARM_r2) @ */
|
|
#define S_R3 12 /* offsetof(struct pt_regs, ARM_r3) @ */
|
|
#define S_R4 16 /* offsetof(struct pt_regs, ARM_r4) @ */
|
|
#define S_R5 20 /* offsetof(struct pt_regs, ARM_r5) @ */
|
|
#define S_R6 24 /* offsetof(struct pt_regs, ARM_r6) @ */
|
|
#define S_R7 28 /* offsetof(struct pt_regs, ARM_r7) @ */
|
|
#define S_R8 32 /* offsetof(struct pt_regs, ARM_r8) @ */
|
|
#define S_R9 36 /* offsetof(struct pt_regs, ARM_r9) @ */
|
|
#define S_R10 40 /* offsetof(struct pt_regs, ARM_r10) @ */
|
|
#define S_FP 44 /* offsetof(struct pt_regs, ARM_fp) @ */
|
|
#define S_IP 48 /* offsetof(struct pt_regs, ARM_ip) @ */
|
|
#define S_SP 52 /* offsetof(struct pt_regs, ARM_sp) @ */
|
|
#define S_LR 56 /* offsetof(struct pt_regs, ARM_lr) @ */
|
|
#define S_PC 60 /* offsetof(struct pt_regs, ARM_pc) @ */
|
|
#define S_PSR 64 /* offsetof(struct pt_regs, ARM_cpsr) @ */
|
|
#define S_OLD_R0 68 /* offsetof(struct pt_regs, ARM_ORIG_r0) @ */
|
|
#define PT_REGS_SIZE 72 /* sizeof(struct pt_regs) @ */
|
|
#define SVC_DACR 72 /* offsetof(struct svc_pt_regs, dacr) @ */
|
|
#define SVC_ADDR_LIMIT 76 /* offsetof(struct svc_pt_regs, addr_limit) @ */
|
|
#define SVC_REGS_SIZE 80 /* sizeof(struct svc_pt_regs) @ */
|
|
|
|
#define MM_CONTEXT_ID 384 /* offsetof(struct mm_struct, context.id.counter) @ */
|
|
|
|
#define VMA_VM_MM 32 /* offsetof(struct vm_area_struct, vm_mm) @ */
|
|
#define VMA_VM_FLAGS 40 /* offsetof(struct vm_area_struct, vm_flags) @ */
|
|
|
|
#define VM_EXEC 4 /* VM_EXEC @ */
|
|
|
|
#define PAGE_SZ 4096 /* PAGE_SIZE @ */
|
|
|
|
#define SYS_ERROR0 10420224 /* 0x9f0000 @ */
|
|
|
|
#define SIZEOF_MACHINE_DESC 104 /* sizeof(struct machine_desc) @ */
|
|
#define MACHINFO_TYPE 0 /* offsetof(struct machine_desc, nr) @ */
|
|
#define MACHINFO_NAME 4 /* offsetof(struct machine_desc, name) @ */
|
|
|
|
#define PROC_INFO_SZ 52 /* sizeof(struct proc_info_list) @ */
|
|
#define PROCINFO_INITFUNC 16 /* offsetof(struct proc_info_list, __cpu_flush) @ */
|
|
#define PROCINFO_MM_MMUFLAGS 8 /* offsetof(struct proc_info_list, __cpu_mm_mmu_flags) @ */
|
|
#define PROCINFO_IO_MMUFLAGS 12 /* offsetof(struct proc_info_list, __cpu_io_mmu_flags) @ */
|
|
|
|
#define CPU_SLEEP_SIZE 36 /* offsetof(struct processor, suspend_size) @ */
|
|
#define CPU_DO_SUSPEND 40 /* offsetof(struct processor, do_suspend) @ */
|
|
#define CPU_DO_RESUME 44 /* offsetof(struct processor, do_resume) @ */
|
|
|
|
#define DMA_BIDIRECTIONAL 0 /* DMA_BIDIRECTIONAL @ */
|
|
#define DMA_TO_DEVICE 1 /* DMA_TO_DEVICE @ */
|
|
#define DMA_FROM_DEVICE 2 /* DMA_FROM_DEVICE @ */
|
|
|
|
#define CACHE_WRITEBACK_ORDER 6 /* __CACHE_WRITEBACK_ORDER @ */
|
|
#define CACHE_WRITEBACK_GRANULE 64 /* __CACHE_WRITEBACK_GRANULE @ */
|
|
|
|
|
|
#define VDSO_DATA_SIZE 4096 /* sizeof(union vdso_data_store) @ */
|
|
|
|
#endif
|