genassym.c (132071) | genassym.c (132520) |
---|---|
1/*- 2 * Copyright (c) 1982, 1990 The Regents of the University of California. 3 * All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * William Jolitz. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 16 unchanged lines hidden (view full) --- 25 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30 * SUCH DAMAGE. 31 * 32 * from: @(#)genassym.c 5.11 (Berkeley) 5/10/91 | 1/*- 2 * Copyright (c) 1982, 1990 The Regents of the University of California. 3 * All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * William Jolitz. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 16 unchanged lines hidden (view full) --- 25 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30 * SUCH DAMAGE. 31 * 32 * from: @(#)genassym.c 5.11 (Berkeley) 5/10/91 |
33 * $FreeBSD: head/sys/powerpc/powerpc/genassym.c 132071 2004-07-12 22:22:09Z grehan $ | 33 * $FreeBSD: head/sys/powerpc/powerpc/genassym.c 132520 2004-07-22 01:28:51Z grehan $ |
34 */ 35 36#include <sys/param.h> 37#include <sys/assym.h> 38#include <sys/errno.h> 39#include <sys/ktr.h> 40#include <sys/proc.h> 41#include <sys/queue.h> --- 32 unchanged lines hidden (view full) --- 74 75ASSYM(MTX_LOCK, offsetof(struct mtx, mtx_lock)); 76ASSYM(MTX_RECURSECNT, offsetof(struct mtx, mtx_recurse)); 77 78ASSYM(PM_KERNELSR, offsetof(struct pmap, pm_sr[KERNEL_SR])); 79ASSYM(PM_USRSR, offsetof(struct pmap, pm_sr[USER_SR])); 80ASSYM(PM_SR, offsetof(struct pmap, pm_sr)); 81 | 34 */ 35 36#include <sys/param.h> 37#include <sys/assym.h> 38#include <sys/errno.h> 39#include <sys/ktr.h> 40#include <sys/proc.h> 41#include <sys/queue.h> --- 32 unchanged lines hidden (view full) --- 74 75ASSYM(MTX_LOCK, offsetof(struct mtx, mtx_lock)); 76ASSYM(MTX_RECURSECNT, offsetof(struct mtx, mtx_recurse)); 77 78ASSYM(PM_KERNELSR, offsetof(struct pmap, pm_sr[KERNEL_SR])); 79ASSYM(PM_USRSR, offsetof(struct pmap, pm_sr[USER_SR])); 80ASSYM(PM_SR, offsetof(struct pmap, pm_sr)); 81 |
82ASSYM(FSP, 8); |
|
82ASSYM(FRAMELEN, FRAMELEN); 83ASSYM(FRAME_0, offsetof(struct trapframe, fixreg[0])); 84ASSYM(FRAME_1, offsetof(struct trapframe, fixreg[1])); 85ASSYM(FRAME_2, offsetof(struct trapframe, fixreg[2])); 86ASSYM(FRAME_3, offsetof(struct trapframe, fixreg[3])); 87ASSYM(FRAME_4, offsetof(struct trapframe, fixreg[4])); 88ASSYM(FRAME_5, offsetof(struct trapframe, fixreg[5])); 89ASSYM(FRAME_6, offsetof(struct trapframe, fixreg[6])); --- 69 unchanged lines hidden (view full) --- 159ASSYM(SPFRAME_R5, offsetof(struct spillframe, r5)); 160ASSYM(SPFRAME_R4, offsetof(struct spillframe, r4)); 161ASSYM(SPFRAME_R3, offsetof(struct spillframe, r3)); 162ASSYM(SPFRAME_R0, offsetof(struct spillframe, r0)); 163 164ASSYM(CF_FUNC, offsetof(struct callframe, cf_func)); 165ASSYM(CF_ARG0, offsetof(struct callframe, cf_arg0)); 166ASSYM(CF_ARG1, offsetof(struct callframe, cf_arg1)); | 83ASSYM(FRAMELEN, FRAMELEN); 84ASSYM(FRAME_0, offsetof(struct trapframe, fixreg[0])); 85ASSYM(FRAME_1, offsetof(struct trapframe, fixreg[1])); 86ASSYM(FRAME_2, offsetof(struct trapframe, fixreg[2])); 87ASSYM(FRAME_3, offsetof(struct trapframe, fixreg[3])); 88ASSYM(FRAME_4, offsetof(struct trapframe, fixreg[4])); 89ASSYM(FRAME_5, offsetof(struct trapframe, fixreg[5])); 90ASSYM(FRAME_6, offsetof(struct trapframe, fixreg[6])); --- 69 unchanged lines hidden (view full) --- 160ASSYM(SPFRAME_R5, offsetof(struct spillframe, r5)); 161ASSYM(SPFRAME_R4, offsetof(struct spillframe, r4)); 162ASSYM(SPFRAME_R3, offsetof(struct spillframe, r3)); 163ASSYM(SPFRAME_R0, offsetof(struct spillframe, r0)); 164 165ASSYM(CF_FUNC, offsetof(struct callframe, cf_func)); 166ASSYM(CF_ARG0, offsetof(struct callframe, cf_arg0)); 167ASSYM(CF_ARG1, offsetof(struct callframe, cf_arg1)); |
168ASSYM(CF_SIZE, sizeof(struct callframe)); |
|
167 168ASSYM(PCB_CONTEXT, offsetof(struct pcb, pcb_context)); 169ASSYM(PCB_CR, offsetof(struct pcb, pcb_cr)); 170ASSYM(PCB_PMR, offsetof(struct pcb, pcb_pmreal)); 171ASSYM(PCB_SP, offsetof(struct pcb, pcb_sp)); 172ASSYM(PCB_LR, offsetof(struct pcb, pcb_lr)); 173ASSYM(PCB_USR, offsetof(struct pcb, pcb_usr)); 174ASSYM(PCB_ONFAULT, offsetof(struct pcb, pcb_onfault)); --- 18 unchanged lines hidden --- | 169 170ASSYM(PCB_CONTEXT, offsetof(struct pcb, pcb_context)); 171ASSYM(PCB_CR, offsetof(struct pcb, pcb_cr)); 172ASSYM(PCB_PMR, offsetof(struct pcb, pcb_pmreal)); 173ASSYM(PCB_SP, offsetof(struct pcb, pcb_sp)); 174ASSYM(PCB_LR, offsetof(struct pcb, pcb_lr)); 175ASSYM(PCB_USR, offsetof(struct pcb, pcb_usr)); 176ASSYM(PCB_ONFAULT, offsetof(struct pcb, pcb_onfault)); --- 18 unchanged lines hidden --- |