genassym.c (608) | genassym.c (757) |
---|---|
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.4 1993/10/12 15:33:18 rgrimes Exp $ | 37 * $Id: genassym.c,v 1.5 1993/10/15 10:34:17 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" --- 45 unchanged lines hidden (view full) --- 91 printf("#define\tV_FAULTS %d\n", &vm->v_faults); 92 printf("#define\tV_PGREC %d\n", &vm->v_pgrec); 93 printf("#define\tV_FASTPGREC %d\n", &vm->v_fastpgrec); 94 printf("#define\tUPAGES %d\n", UPAGES); 95 printf("#define\tHIGHPAGES %d\n", HIGHPAGES); 96 printf("#define\tCLSIZE %d\n", CLSIZE); 97 printf("#define\tNBPG %d\n", NBPG); 98 printf("#define\tNPTEPG %d\n", NPTEPG); | 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" --- 45 unchanged lines hidden (view full) --- 91 printf("#define\tV_FAULTS %d\n", &vm->v_faults); 92 printf("#define\tV_PGREC %d\n", &vm->v_pgrec); 93 printf("#define\tV_FASTPGREC %d\n", &vm->v_fastpgrec); 94 printf("#define\tUPAGES %d\n", UPAGES); 95 printf("#define\tHIGHPAGES %d\n", HIGHPAGES); 96 printf("#define\tCLSIZE %d\n", CLSIZE); 97 printf("#define\tNBPG %d\n", NBPG); 98 printf("#define\tNPTEPG %d\n", NPTEPG); |
99 printf("#define\tPDESIZE %d\n", PDESIZE); 100 printf("#define\tPTESIZE %d\n", PTESIZE); |
|
99 printf("#define\tNKPDE %d\n", NKPDE); | 101 printf("#define\tNKPDE %d\n", NKPDE); |
100 printf("#define\tKPTDI %d\n", KPTDI); 101 printf("#define\tPTDPTDI %d\n", PTDPTDI); 102 printf("#define\tAPTDPTDI %d\n", APTDPTDI); | 102 printf("#define\tKPTDI 0x%x\n", KPTDI); 103 printf("#define\tKSTKPTDI 0x%x\n", KSTKPTDI); 104 printf("#define\tKSTKPTEOFF 0x%x\n", KSTKPTEOFF); 105 printf("#define\tPTDPTDI 0x%x\n", PTDPTDI); 106 printf("#define\tAPTDPTDI 0x%x\n", APTDPTDI); |
103 printf("#define\tPGSHIFT %d\n", PGSHIFT); 104 printf("#define\tPDRSHIFT %d\n", PDRSHIFT); 105 printf("#define\tSYSPTSIZE %d\n", SYSPTSIZE); 106 printf("#define\tUSRPTSIZE %d\n", USRPTSIZE); 107 printf("#define\tUSRIOSIZE %d\n", USRIOSIZE); 108#ifdef SYSVSHM 109 printf("#define\tSHMMAXPGS %d\n", SHMMAXPGS); 110#endif | 107 printf("#define\tPGSHIFT %d\n", PGSHIFT); 108 printf("#define\tPDRSHIFT %d\n", PDRSHIFT); 109 printf("#define\tSYSPTSIZE %d\n", SYSPTSIZE); 110 printf("#define\tUSRPTSIZE %d\n", USRPTSIZE); 111 printf("#define\tUSRIOSIZE %d\n", USRIOSIZE); 112#ifdef SYSVSHM 113 printf("#define\tSHMMAXPGS %d\n", SHMMAXPGS); 114#endif |
111 printf("#define\tUSRSTACK %d\n", USRSTACK); 112 printf("#define\tKERNBASE %d\n", KERNBASE); 113 printf("#define\tKERNSIZE %d\n", KERNSIZE); | 115 printf("#define\tUSRSTACK 0x%x\n", USRSTACK); 116 printf("#define\tKERNBASE 0x%x\n", KERNBASE); |
114 printf("#define\tMSGBUFPTECNT %d\n", btoc(sizeof (struct msgbuf))); 115 printf("#define\tNMBCLUSTERS %d\n", NMBCLUSTERS); 116 printf("#define\tMCLBYTES %d\n", MCLBYTES); 117 printf("#define\tPCB_LINK %d\n", &pcb->pcb_tss.tss_link); 118 printf("#define\tPCB_ESP0 %d\n", &pcb->pcb_tss.tss_esp0); 119 printf("#define\tPCB_SS0 %d\n", &pcb->pcb_tss.tss_ss0); 120 printf("#define\tPCB_ESP1 %d\n", &pcb->pcb_tss.tss_esp1); 121 printf("#define\tPCB_SS1 %d\n", &pcb->pcb_tss.tss_ss1); --- 67 unchanged lines hidden --- | 117 printf("#define\tMSGBUFPTECNT %d\n", btoc(sizeof (struct msgbuf))); 118 printf("#define\tNMBCLUSTERS %d\n", NMBCLUSTERS); 119 printf("#define\tMCLBYTES %d\n", MCLBYTES); 120 printf("#define\tPCB_LINK %d\n", &pcb->pcb_tss.tss_link); 121 printf("#define\tPCB_ESP0 %d\n", &pcb->pcb_tss.tss_esp0); 122 printf("#define\tPCB_SS0 %d\n", &pcb->pcb_tss.tss_ss0); 123 printf("#define\tPCB_ESP1 %d\n", &pcb->pcb_tss.tss_esp1); 124 printf("#define\tPCB_SS1 %d\n", &pcb->pcb_tss.tss_ss1); --- 67 unchanged lines hidden --- |