plan 9 kernel history: overview | file list | diff list

1990/0315/gnot/fault.c (diff list | history)

1990/0312/sys/src/9/gnot/fault.c:89,1001990/0315/sys/src/9/gnot/fault.c:89,100 (short | long | prev | next)
1990/03091    
	if(s == 0){ 
		if(addr>USTKTOP){ 
	    cant: 
			u->p->state = MMUing; 
			if(user){ 
				pprint("user %s error addr=0x%lux\n", read? "read" : "write", badvaddr); 
				pprint("status=0x%lux pc=0x%lux sp=0x%lux\n", ur->sr, ur->pc, ur->sp); 
				pexit("Suicide", 0); 
			} 
1990/0315    
			u->p->state = MMUing; 
1990/03091    
			dumpregs(ur); 
			panic("fault"); 
			exit(); 


source code copyright © 1990-2005 Lucent Technologies; see license
Plan 9 distribution
comments to russ cox (rsc@swtch.com)