/src/sys/arch/sparc/stand/common/ |
promdev.h | 53 extern int cputyp, nbpg, pgofset, pgshift;
|
srt0.S | 44 .comm _C_LABEL(nbpg), 4 178 sethi %hi(_C_LABEL(pgshift)), %o0 ! pgshift = log2(nbpg) 181 mov 1, %o0 ! nbpg = 1 << pgshift 183 sethi %hi(_C_LABEL(nbpg)), %o0 ! nbpg = bytes in a page 184 st %g5, [%o0 + %lo(_C_LABEL(nbpg))] 187 sethi %hi(_C_LABEL(pgofset)), %o0 ! page offset = nbpg - 1
|
/src/sys/arch/sparc/include/ |
param.h | 69 * See also the definitions of NBPG, PGOFSET and PGSHIFT below. 72 extern int nbpg, pgofset, pgshift; 94 * MCLBYTES must be no larger than NBPG (the software page size), and, 147 # define NBPG 4096 148 # define PGOFSET (NBPG-1) 151 # define NBPG 8192 152 # define PGOFSET (NBPG-1) 155 # define NBPG nbpg
|
/src/lib/libkvm/ |
kvm_sparc.c | 81 #define VA_OFF(va) (va & (kd->nbpg - 1)) 131 kd->nbpg = 8196; 136 kd->nbpg = 4096; 143 nptesg = NBPSG / kd->nbpg; 217 return (kd->nbpg - off); 272 return (kd->nbpg - off); 306 #define SPARC64_PTSZ (kd->nbpg/8) 332 return ((pte & SPARC64_TLB_PA_MASK) | (va & (kd->nbpg - 1)));
|
kvm_proc.c | 191 kd->swapspc = _kvm_malloc(kd, (size_t)kd->nbpg); 227 slot = offset / kd->nbpg + vme.aref.ar_pageoff; 232 addr = (u_long)amap.am_anon + (offset / kd->nbpg) * sizeof(anonp); 245 if (_kvm_pread(kd, kd->pmfd, kd->swapspc, (size_t)kd->nbpg, 246 (off_t)pg.phys_addr & ~(kd->nbpg - 1)) != kd->nbpg) 250 _kvm_pread(kd, kd->swfd, kd->swapspc, (size_t)kd->nbpg, 251 (off_t)(anon.an_swslot * kd->nbpg)) != kd->nbpg) 256 offset %= kd->nbpg; [all...] |
kvm_private.h | 59 int nbpg; /* page size */ member in struct:__kvm
|
kvm_sparc64.c | 93 kd->nbpg = 0x2000; 213 va = va & (kd->nbpg - 1); 221 return (int)(kd->nbpg - va);
|
kvm.c | 266 kd->nbpg = getpagesize();
|
/src/sys/arch/sparc64/include/ |
param.h | 100 * See also the definitions of NBPG, PGOFSET and PGSHIFT below. 103 extern int nbpg, pgofset, pgshift; 169 #define _MAXNBPG 8192 /* fixed VAs, independent of actual NBPG */ 185 * MCLBYTES must be no larger than NBPG (the software page size), and, 200 #define MSGBUFSIZE (4 * NBPG) 265 * NBPG, PGOFSET and PGSHIFT are defined as variables which are initialized 278 #define PGSHIFT 13 /* log2(NBPG) */ 279 #define NBPG (1<<PGSHIFT) /* bytes/page */ 280 #define PGOFSET (NBPG-1) /* byte offset into page */
|
/src/sys/rump/librump/rumpkern/ |
emul.c | 98 int nbpg = 4096; variable in typeref:typename:int
|
/src/sys/arch/sparc/sparc/ |
locore.s | 205 * There variables are pointed to by the cpp symbols PGSHIFT, NBPG, 208 .globl _C_LABEL(pgshift), _C_LABEL(nbpg), _C_LABEL(pgofset) 211 _C_LABEL(nbpg): 1364 * ((base + 64 - 1) & ~(NBPG-1)) == (base & ~(NBPG-1)) 1370 * (base & (NBPG-1)) < (NBPG - 63) 4290 sethi %hi(_C_LABEL(pgshift)), %o0 ! pgshift = log2(nbpg) 4293 mov 1, %o0 ! nbpg = 1 << pgshift 4295 sethi %hi(_C_LABEL(nbpg)), %o0 ! nbpg = bytes in a pag [all...] |