Home
last modified time | relevance | path

Searched refs:UPAGES (Results 1 – 25 of 93) sorted by relevance

1234

/original-bsd/old/sdb/
H A Ddefs.h100 #define USP (ctob(UPAGES)-5*4)
101 #define R0 (ctob(UPAGES)-18*4)
102 #define R1 (ctob(UPAGES)-17*4)
103 #define R2 (ctob(UPAGES)-16*4)
104 #define R3 (ctob(UPAGES)-15*4)
105 #define R4 (ctob(UPAGES)-14*4)
110 #define R9 (ctob(UPAGES)-9*4)
115 #define PC (ctob(UPAGES)-2*4)
131 #define AP (ctob(UPAGES)-7*4)
132 #define FP (ctob(UPAGES)-6*4)
[all …]
H A Dsetup.c99 IF read(fcor, &u, ctob(UPAGES))==ctob(UPAGES) in setcor()
118 datmap.f1 = ctob(UPAGES); in setcor()
125 datmap.f2 = ctob(UPAGES)+((magic==0410 || magic == 0413) in setcor()
128 signo = *(ADDR *)(((ADDR)&u)+ctob(UPAGES)-4*sizeof(int)); in setcor()
H A Dudef.c3 char u[ctob(UPAGES)]; /* struct user u */
/original-bsd/old/adb/adb.tahoe/
H A Ddefs.h58 #define USP (ctob(UPAGES)-9*sizeof (int))
59 #define R0 (ctob(UPAGES)-25*sizeof (int))
60 #define R1 (ctob(UPAGES)-24*sizeof (int))
61 #define R2 (ctob(UPAGES)-23*sizeof (int))
62 #define R3 (ctob(UPAGES)-22*sizeof (int))
63 #define R4 (ctob(UPAGES)-21*sizeof (int))
64 #define R5 (ctob(UPAGES)-20*sizeof (int))
65 #define R6 (ctob(UPAGES)-19*sizeof (int))
66 #define R7 (ctob(UPAGES)-18*sizeof (int))
67 #define R8 (ctob(UPAGES)-17*sizeof (int))
[all …]
H A Dsetup.c124 if (read(fcor, (char *)&u, ctob(UPAGES))!=ctob(UPAGES) || in setcor()
139 datmap.f2 = ctob(UPAGES) + datmap.e1; in setcor()
146 datmap.f2 = ctob(UPAGES) + filhdr.a_data; in setcor()
150 datmap.f1 = ctob(UPAGES); in setcor()
215 eustack = (caddr_t)(cursym->n_value + ctob(UPAGES)); in findstackframe()
/original-bsd/old/adb/adb.vax/
H A Ddefs.h58 #define USP (ctob(UPAGES)-5*sizeof(int))
59 #define R0 (ctob(UPAGES)-18*sizeof(int))
60 #define R1 (ctob(UPAGES)-17*sizeof(int))
61 #define R2 (ctob(UPAGES)-16*sizeof(int))
62 #define R3 (ctob(UPAGES)-15*sizeof(int))
63 #define R4 (ctob(UPAGES)-14*sizeof(int))
64 #define R5 (ctob(UPAGES)-13*sizeof(int))
65 #define R6 (ctob(UPAGES)-12*sizeof(int))
66 #define R7 (ctob(UPAGES)-11*sizeof(int))
68 #define R9 (ctob(UPAGES)-9*sizeof(int))
[all …]
H A Dsetup.c121 if (read(fcor, (char *)&u, ctob(UPAGES))!=ctob(UPAGES) || in setcor()
136 datmap.f2 = ctob(UPAGES) + datmap.e1; in setcor()
143 datmap.f2 = ctob(UPAGES) + filhdr.a_data; in setcor()
147 datmap.f1 = ctob(UPAGES); in setcor()
212 eustack = cursym->n_value + ctob(UPAGES); in findstackframe()
H A Dmachine.h13 #define MAXSTOR ((1L<<31) - ctob(UPAGES))
/original-bsd/old/adb/adb.hp300/
H A Ddefs.h77 #define USP (ctob(UPAGES)-5*sizeof(int))
80 #define R0 (ctob(UPAGES)-18*sizeof(int))
81 #define R1 (ctob(UPAGES)-17*sizeof(int))
82 #define R2 (ctob(UPAGES)-16*sizeof(int))
83 #define R3 (ctob(UPAGES)-15*sizeof(int))
84 #define R4 (ctob(UPAGES)-14*sizeof(int))
85 #define R5 (ctob(UPAGES)-13*sizeof(int))
86 #define R6 (ctob(UPAGES)-12*sizeof(int))
87 #define R7 (ctob(UPAGES)-11*sizeof(int))
89 #define R9 (ctob(UPAGES)-9*sizeof(int))
[all …]
/original-bsd/old/adb/common_source/
H A Dsetup.c129 if (read(corefile.fd, (char *)&u, ctob(UPAGES)) != ctob(UPAGES) || in setcore()
144 datmap.m2.f = ctob(UPAGES) + datmap.m1.e; in setcore()
151 datmap.m2.f = ctob(UPAGES) + filhdr.a_data; in setcore()
157 datmap.m1.f = ctob(UPAGES); in setcore()
158 datmap.m2.b = KERNBASE - ctob(UPAGES) - stacksize; in setcore()
159 datmap.m2.e = KERNBASE - ctob(UPAGES); in setcore()
161 u.u_ar0 = (int *)((caddr_t)&u + ctob(UPAGES)); /* XXX */ in setcore()
/original-bsd/sys/vax/include/
H A Dvmparam.h21 #define USRSTACK (0x80000000-UPAGES*NBPG) /* Start of user stack */
22 #define BTOPUSRSTACK (0x400000 - UPAGES) /* btop(USRSTACK) */
26 #define HIGHPAGES UPAGES
H A Dkdbparam.h18 #define MAXSTOR (KERNBASE - ctob(UPAGES))
35 #define issignalpc(pc) (MAXSTOR < (pc) && (pc) < MAXSTOR+ctob(UPAGES))
/original-bsd/sys/tahoe/include/
H A Dvmparam.h25 #define USRSTACK (0xc0000000-UPAGES*NBPG) /* Start of user stack */
26 #define BTOPUSRSTACK (0x300000 - UPAGES) /* btop(USRSTACK) */
29 #define HIGHPAGES UPAGES
/original-bsd/sys/vm/
H A Dvm_glue.c179 UPT_MIN_ADDRESS-UPAGES*NBPG, VM_MAX_ADDRESS, VM_INHERIT_NONE);
192 addr = kmem_alloc_pageable(kernel_map, ctob(UPAGES));
195 vm_map_pageable(kernel_map, addr, addr + ctob(UPAGES), FALSE);
200 addr = kmem_alloc(kernel_map, ctob(UPAGES));
224 { u_int addr = UPT_MIN_ADDRESS - UPAGES*NBPG; struct vm_map *vp;
327 size = round_page(ctob(UPAGES)); in scheduler()
427 cnt.v_free_count <= atop(round_page(ctob(UPAGES)))) { in swapout_threads()
452 size = round_page(ctob(UPAGES));
467 for (i = 0; i < UPAGES; i++) {
/original-bsd/sys/sparc/sparc/
H A Dvm_machdep.c142 #define TOPFRAMEOFF (UPAGES*NBPG-sizeof(struct trapframe)-sizeof(struct frame))
197 ssize = (u_int)opcb + UPAGES * NBPG - sp;
198 if (ssize >= UPAGES * NBPG - sizeof(struct pcb))
237 switchexit(kernel_map, p->p_addr, round_page(ctob(UPAGES)));
258 return (vn_rdwr(UIO_WRITE, vp, (caddr_t)up, ctob(UPAGES), (off_t)0,
/original-bsd/sys/pmax/pmax/
H A Dvm_machdep.c58 for (i = 0; i < UPAGES; i++) {
115 for (i = 0; i < UPAGES; i++) {
140 kmem_free(kernel_map, (vm_offset_t)p->p_addr, ctob(UPAGES));
162 return (vn_rdwr(UIO_WRITE, vp, (caddr_t)p->p_addr, ctob(UPAGES),
/original-bsd/sys/tahoe/tahoe/
H A DLocore.c155 struct pte Forkmap[UPAGES];
157 struct pte Xswapmap[UPAGES];
159 struct pte Xswap2map[UPAGES];
161 struct pte Swapmap[UPAGES];
163 struct pte Pushmap[UPAGES];
165 struct pte Vfmap[UPAGES];
/original-bsd/old/dbx/
H A Dcoredump.c81 char dummy[ctob(UPAGES)];
97 fread(up, ctob(UPAGES), 1, corefile);
99 savreg = (Word *) &(ustruct.dummy[ctob(UPAGES)]);
102 &ustruct.dummy[ctob(UPAGES) - 10] - (NREG * sizeof(Word))
112 datamap.seekaddr = ctob(UPAGES);
/original-bsd/sys/pmax/pmax/OLD/
H A DLocore.c135 struct pte Forkmap[UPAGES];
137 struct pte Xswapmap[UPAGES];
139 struct pte Xswap2map[UPAGES];
141 struct pte Swapmap[UPAGES];
143 struct pte Pushmap[UPAGES];
145 struct pte Vfmap[UPAGES];
/original-bsd/sys/i386/include/
H A Dvmparam.h31 #define BTOPUSRSTACK (0xFDC00-(UPAGES)) /* btop(USRSTACK) */
33 #define HIGHPAGES UPAGES
/original-bsd/sys/i386/i386/
H A Dvm_machdep.c59 (unsigned) ctob(UPAGES) - offset);
68 for (i=0; i < UPAGES; i++)
124 kmem_free(kernel_map, (vm_offset_t)p->p_addr, ctob(UPAGES));
148 kmem_free(kernel_map, (vm_offset_t)p->p_addr, ctob(UPAGES));
161 return (vn_rdwr(UIO_WRITE, vp, (caddr_t) p->p_addr, ctob(UPAGES),
/original-bsd/sys/vax/vax/
H A DLocore.c208 struct pte Forkmap[UPAGES];
210 struct pte Xswapmap[UPAGES];
212 struct pte Xswap2map[UPAGES];
214 struct pte Swapmap[UPAGES];
216 struct pte Pushmap[UPAGES];
218 struct pte Vfmap[UPAGES];
/original-bsd/sys/news3400/include/
H A Dproc.h19 int md_upte[UPAGES]; /* ptes for mapping u page */
/original-bsd/sys/pmax/include/
H A Dproc.h19 int md_upte[UPAGES]; /* ptes for mapping u page */
H A Dparam.h55 #define UPAGES 2 /* pages of u-area */ macro
58 #define KERNELSTACK (UADDR+UPAGES*NBPG) /* top of kernel stack */

1234