[BACK]Return to pmap.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / arch / sparc64 / sparc64

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/arch/sparc64/sparc64/pmap.c between version 1.17 and 1.18

version 1.17, 1998/11/22 17:22:50 version 1.18, 1998/11/22 23:38:53
Line 658  pmap_bootstrap(kernelstart, kernelend, m
Line 658  pmap_bootstrap(kernelstart, kernelend, m
         valloc(ctxbusy, paddr_t, CTXSIZE);          valloc(ctxbusy, paddr_t, CTXSIZE);
         bzero((caddr_t)ctxbusy, CTXSIZE);          bzero((caddr_t)ctxbusy, CTXSIZE);
   
         {  
                 caddr_t v;  
                 extern caddr_t allocsys __P((caddr_t));  
   
                 /*  
                  * from cpu_startup():  
                  *  
                  * Find out how much space we need, allocate it,  
                  * and then give everything true virtual addresses.  
                  */  
                 sz = (size_t)allocsys((caddr_t)0);  
   
 #ifdef BOOT1_DEBUG  
                 prom_printf("allocsys needs %08lx bytes RAM...", (u_long)sz);  
 #endif  
                 valloc(v, void, sz);  
   
                 if (allocsys(v) - v != sz) {  
                         prom_printf("startup: table size inconsistency");  
                         OF_exit();  
                 }  
                 /* Need to zero this out or we have problems w/swbufs and physio hangs */  
                 bzero(v, sz);  
 #ifdef BOOT1_DEBUG  
                 prom_printf("got it\r\n");  
 #endif  
         }  
   
         /*          /*
          * Allocate our TSB.           * Allocate our TSB.
          *           *

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18

CVSweb <webmaster@jp.NetBSD.org>