| 1 | #ifndef __ASM_OFFSETS_H__ |
| 2 | #define __ASM_OFFSETS_H__ |
| 3 | /* |
| 4 | * DO NOT MODIFY. |
| 5 | * |
| 6 | * This file was generated by Kbuild |
| 7 | * |
| 8 | */ |
| 9 | |
| 10 | #define TASK_STATE 0 /* offsetof(struct task_struct, state) | */ |
| 11 | #define TASK_FLAGS 12 /* offsetof(struct task_struct, flags) | */ |
| 12 | #define TASK_PTRACE 16 /* offsetof(struct task_struct, ptrace) | */ |
| 13 | #define TASK_THREAD 476 /* offsetof(struct task_struct, thread) | */ |
| 14 | #define TASK_INFO 638 /* offsetof(struct task_struct, thread.info) | */ |
| 15 | #define TASK_MM 178 /* offsetof(struct task_struct, mm) | */ |
| 16 | #define TASK_ACTIVE_MM 182 /* offsetof(struct task_struct, active_mm) | */ |
| 17 | #define THREAD_KSP 0 /* offsetof(struct thread_struct, ksp) | */ |
| 18 | #define THREAD_USP 4 /* offsetof(struct thread_struct, usp) | */ |
| 19 | #define THREAD_SR 8 /* offsetof(struct thread_struct, sr) | */ |
| 20 | #define THREAD_FS 10 /* offsetof(struct thread_struct, fs) | */ |
| 21 | #define THREAD_CRP 14 /* offsetof(struct thread_struct, crp) | */ |
| 22 | #define THREAD_ESP0 22 /* offsetof(struct thread_struct, esp0) | */ |
| 23 | #define THREAD_FPREG 38 /* offsetof(struct thread_struct, fp) | */ |
| 24 | #define THREAD_FPCNTL 134 /* offsetof(struct thread_struct, fpcntl) | */ |
| 25 | #define THREAD_FPSTATE 146 /* offsetof(struct thread_struct, fpstate) | */ |
| 26 | #define TINFO_PREEMPT 12 /* offsetof(struct thread_info, preempt_count) | */ |
| 27 | #define TINFO_FLAGS 4 /* offsetof(struct thread_info, flags) | */ |
| 28 | #define PT_D0 32 /* offsetof(struct pt_regs, d0) | */ |
| 29 | #define PT_ORIG_D0 36 /* offsetof(struct pt_regs, orig_d0) | */ |
| 30 | #define PT_D1 0 /* offsetof(struct pt_regs, d1) | */ |
| 31 | #define PT_D2 4 /* offsetof(struct pt_regs, d2) | */ |
| 32 | #define PT_D3 8 /* offsetof(struct pt_regs, d3) | */ |
| 33 | #define PT_D4 12 /* offsetof(struct pt_regs, d4) | */ |
| 34 | #define PT_D5 16 /* offsetof(struct pt_regs, d5) | */ |
| 35 | #define PT_A0 20 /* offsetof(struct pt_regs, a0) | */ |
| 36 | #define PT_A1 24 /* offsetof(struct pt_regs, a1) | */ |
| 37 | #define PT_A2 28 /* offsetof(struct pt_regs, a2) | */ |
| 38 | #define PT_PC 56 /* offsetof(struct pt_regs, pc) | */ |
| 39 | #define PT_SR 54 /* offsetof(struct pt_regs, sr) | */ |
| 40 | #define MM_CONTEXT 328 /* offsetof(struct mm_struct, context) | */ |
| 41 | #define PT_VECTOR 52 /* offsetof(struct pt_regs, pc) - 4 | */ |
| 42 | #define IRQ_HANDLER 0 /* offsetof(struct irq_node, handler) | */ |
| 43 | #define IRQ_DEVID 4 /* offsetof(struct irq_node, dev_id) | */ |
| 44 | #define IRQ_NEXT 8 /* offsetof(struct irq_node, next) | */ |
| 45 | #define STAT_IRQ 72 /* offsetof(struct kernel_stat, irqs) | */ |
| 46 | #define CPUSTAT_SOFTIRQ_PENDING 0 /* offsetof(irq_cpustat_t, __softirq_pending) | */ |
| 47 | #define BIR_TAG 0 /* offsetof(struct bi_record, tag) | */ |
| 48 | #define BIR_SIZE 2 /* offsetof(struct bi_record, size) | */ |
| 49 | #define BIR_DATA 4 /* offsetof(struct bi_record, data) | */ |
| 50 | #define FONT_DESC_IDX 0 /* offsetof(struct font_desc, idx) | */ |
| 51 | #define FONT_DESC_NAME 4 /* offsetof(struct font_desc, name) | */ |
| 52 | #define FONT_DESC_WIDTH 8 /* offsetof(struct font_desc, width) | */ |
| 53 | #define FONT_DESC_HEIGHT 12 /* offsetof(struct font_desc, height) | */ |
| 54 | #define FONT_DESC_DATA 16 /* offsetof(struct font_desc, data) | */ |
| 55 | #define FONT_DESC_PREF 20 /* offsetof(struct font_desc, pref) | */ |
| 56 | #define SIGSEGV 11 /* SIGSEGV | */ |
| 57 | #define SEGV_MAPERR 196609 /* SEGV_MAPERR | */ |
| 58 | #define SIGTRAP 5 /* SIGTRAP | */ |
| 59 | #define TRAP_TRACE 196610 /* TRAP_TRACE | */ |
| 60 | #define CUSTOMBASE -2132807680 /* &amiga_custom | */ |
| 61 | #define C_INTENAR 28 /* offsetof(struct CUSTOM, intenar) | */ |
| 62 | #define C_INTREQR 30 /* offsetof(struct CUSTOM, intreqr) | */ |
| 63 | #define C_INTENA 154 /* offsetof(struct CUSTOM, intena) | */ |
| 64 | #define C_INTREQ 156 /* offsetof(struct CUSTOM, intreq) | */ |
| 65 | #define C_SERDATR 24 /* offsetof(struct CUSTOM, serdatr) | */ |
| 66 | #define C_SERDAT 48 /* offsetof(struct CUSTOM, serdat) | */ |
| 67 | #define C_SERPER 50 /* offsetof(struct CUSTOM, serper) | */ |
| 68 | #define CIAABASE -2134908927 /* &ciaa | */ |
| 69 | #define CIABBASE -2134913024 /* &ciab | */ |
| 70 | #define C_PRA 0 /* offsetof(struct CIA, pra) | */ |
| 71 | #define ZTWOBASE -2147483648 /* zTwoBase | */ |
| 72 | |
| 73 | #endif |
| 74 | |