genassym.c (590) | genassym.c (608) |
---|---|
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 --- 20 unchanged lines hidden (view full) --- 29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34 * SUCH DAMAGE. 35 * 36 * 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 --- 20 unchanged lines hidden (view full) --- 29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34 * SUCH DAMAGE. 35 * 36 * from: @(#)genassym.c 5.11 (Berkeley) 5/10/91 |
37 * $Id: genassym.c,v 1.3 1993/10/10 02:09:44 rgrimes Exp $ | 37 * $Id: genassym.c,v 1.4 1993/10/12 15:33:18 rgrimes Exp $ |
38 */ 39 40#include "sys/param.h" 41#include "sys/buf.h" 42#include "sys/vmmeter.h" 43#include "sys/proc.h" 44#include "sys/user.h" 45#include "sys/mbuf.h" --- 90 unchanged lines hidden (view full) --- 136 printf("#define\tPCB_CS %d\n", &pcb->pcb_tss.tss_cs); 137 printf("#define\tPCB_SS %d\n", &pcb->pcb_tss.tss_ss); 138 printf("#define\tPCB_DS %d\n", &pcb->pcb_tss.tss_ds); 139 printf("#define\tPCB_FS %d\n", &pcb->pcb_tss.tss_fs); 140 printf("#define\tPCB_GS %d\n", &pcb->pcb_tss.tss_gs); 141 printf("#define\tPCB_LDT %d\n", &pcb->pcb_tss.tss_ldt); 142 printf("#define\tPCB_USERLDT %d\n", &pcb->pcb_ldt); 143 printf("#define\tPCB_IOOPT %d\n", &pcb->pcb_tss.tss_ioopt); | 38 */ 39 40#include "sys/param.h" 41#include "sys/buf.h" 42#include "sys/vmmeter.h" 43#include "sys/proc.h" 44#include "sys/user.h" 45#include "sys/mbuf.h" --- 90 unchanged lines hidden (view full) --- 136 printf("#define\tPCB_CS %d\n", &pcb->pcb_tss.tss_cs); 137 printf("#define\tPCB_SS %d\n", &pcb->pcb_tss.tss_ss); 138 printf("#define\tPCB_DS %d\n", &pcb->pcb_tss.tss_ds); 139 printf("#define\tPCB_FS %d\n", &pcb->pcb_tss.tss_fs); 140 printf("#define\tPCB_GS %d\n", &pcb->pcb_tss.tss_gs); 141 printf("#define\tPCB_LDT %d\n", &pcb->pcb_tss.tss_ldt); 142 printf("#define\tPCB_USERLDT %d\n", &pcb->pcb_ldt); 143 printf("#define\tPCB_IOOPT %d\n", &pcb->pcb_tss.tss_ioopt); |
144 printf("#define\tNKMEMCLUSTERS %d\n", NKMEMCLUSTERS); | |
145 printf("#define\tU_PROF %d\n", &up->u_stats.p_prof); 146 printf("#define\tU_PROFSCALE %d\n", &up->u_stats.p_prof.pr_scale); 147 printf("#define\tPR_BASE %d\n", &uprof->pr_base); 148 printf("#define\tPR_SIZE %d\n", &uprof->pr_size); 149 printf("#define\tPR_OFF %d\n", &uprof->pr_off); 150 printf("#define\tPR_SCALE %d\n", &uprof->pr_scale); 151 printf("#define\tRU_MINFLT %d\n", &rup->ru_minflt); 152 printf("#define\tPCB_FLAGS %d\n", &pcb->pcb_flags); --- 37 unchanged lines hidden --- | 144 printf("#define\tU_PROF %d\n", &up->u_stats.p_prof); 145 printf("#define\tU_PROFSCALE %d\n", &up->u_stats.p_prof.pr_scale); 146 printf("#define\tPR_BASE %d\n", &uprof->pr_base); 147 printf("#define\tPR_SIZE %d\n", &uprof->pr_size); 148 printf("#define\tPR_OFF %d\n", &uprof->pr_off); 149 printf("#define\tPR_SCALE %d\n", &uprof->pr_scale); 150 printf("#define\tRU_MINFLT %d\n", &rup->ru_minflt); 151 printf("#define\tPCB_FLAGS %d\n", &pcb->pcb_flags); --- 37 unchanged lines hidden --- |