asm-offsets.c (4e0c1159d83a658d1ffba5bc3442f4ec4cadb436) | asm-offsets.c (3c37026d43c47bec4710cbda286f4a17f416f5e6) |
---|---|
1/* 2 * offset.c: Calculate pt_regs and task_struct offsets. 3 * 4 * Copyright (C) 1996 David S. Miller 5 * Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003 Ralf Baechle 6 * Copyright (C) 1999, 2000 Silicon Graphics, Inc. 7 * 8 * Kevin Kissell, kevink@mips.com and Carsten Langgaard, carstenl@mips.com --- 81 unchanged lines hidden (view full) --- 90 text("/* MIPS thread_info offsets. */"); 91 offset("#define TI_TASK ", struct thread_info, task); 92 offset("#define TI_EXEC_DOMAIN ", struct thread_info, exec_domain); 93 offset("#define TI_FLAGS ", struct thread_info, flags); 94 offset("#define TI_CPU ", struct thread_info, cpu); 95 offset("#define TI_PRE_COUNT ", struct thread_info, preempt_count); 96 offset("#define TI_ADDR_LIMIT ", struct thread_info, addr_limit); 97 offset("#define TI_RESTART_BLOCK ", struct thread_info, restart_block); | 1/* 2 * offset.c: Calculate pt_regs and task_struct offsets. 3 * 4 * Copyright (C) 1996 David S. Miller 5 * Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003 Ralf Baechle 6 * Copyright (C) 1999, 2000 Silicon Graphics, Inc. 7 * 8 * Kevin Kissell, kevink@mips.com and Carsten Langgaard, carstenl@mips.com --- 81 unchanged lines hidden (view full) --- 90 text("/* MIPS thread_info offsets. */"); 91 offset("#define TI_TASK ", struct thread_info, task); 92 offset("#define TI_EXEC_DOMAIN ", struct thread_info, exec_domain); 93 offset("#define TI_FLAGS ", struct thread_info, flags); 94 offset("#define TI_CPU ", struct thread_info, cpu); 95 offset("#define TI_PRE_COUNT ", struct thread_info, preempt_count); 96 offset("#define TI_ADDR_LIMIT ", struct thread_info, addr_limit); 97 offset("#define TI_RESTART_BLOCK ", struct thread_info, restart_block); |
98 offset("#define TI_TP_VALUE ", struct thread_info, tp_value); |
|
98 constant("#define _THREAD_SIZE_ORDER ", THREAD_SIZE_ORDER); 99 constant("#define _THREAD_SIZE ", THREAD_SIZE); 100 constant("#define _THREAD_MASK ", THREAD_MASK); 101 linefeed; 102} 103 104void output_thread_defines(void) 105{ --- 209 unchanged lines hidden --- | 99 constant("#define _THREAD_SIZE_ORDER ", THREAD_SIZE_ORDER); 100 constant("#define _THREAD_SIZE ", THREAD_SIZE); 101 constant("#define _THREAD_MASK ", THREAD_MASK); 102 linefeed; 103} 104 105void output_thread_defines(void) 106{ --- 209 unchanged lines hidden --- |