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

1994/0406/power/dat.h (diff list | history)

1994/0405/sys/src/9/power/dat.h:1,71994/0406/sys/src/9/power/dat.h:1,6 (short | long | prev | next)
1990/0227    
typedef struct Conf	Conf; 
1993/0806    
typedef struct Lancepkt Lancepkt; 
1990/0227    
typedef struct FPsave	FPsave; 
1992/0613    
typedef struct Cycmsg	Cycmsg; 
1990/1231    
typedef struct Lance	Lance; 
typedef struct Lancemem	Lancemem; 
1990/0227    
typedef struct Label	Label; 
1994/0405/sys/src/9/power/dat.h:77,901994/0406/sys/src/9/power/dat.h:76,81
1991/0507    
struct PMMU 
{ 
	int	pidonmach[MAXMACH]; 
1993/0501    
	/* 
	 * I/O point for hotrod interfaces. 
	 * This is the easiest way to allocate 
	 * them, but not the prettiest or most general. 
	 */ 
	Cycmsg	*kcyc; 
	Cycmsg	*ucyc; 
	Cycmsg	*fcyc; 
1993/1015    
}; 
 
/* 
1994/0405/sys/src/9/power/dat.h:98,1111994/0406/sys/src/9/power/dat.h:89,94
1990/0227    
 
1991/0428    
#include "../port/portdat.h" 
1990/0227    
 
1992/0613    
struct Cycmsg 
1990/0227    
{ 
1991/0428    
	ulong	cmd; 
	ulong	param[5]; 
	Rendez	r; 
	uchar	intr;			/* flag: interrupt has occurred */ 
1991/0425    
}; 
                 
1993/0501    
/* First FOUR members offsets known by l.s */ 
1990/0227    
struct Mach 
{ 
1994/0405/sys/src/9/power/dat.h:113,1301994/0406/sys/src/9/power/dat.h:96,111
1993/0501    
	Softtlb *stb;			/* Software tlb simulation  */ 
	Proc	*proc;			/* current process on this processor */ 
1991/1011    
	ulong	splpc;			/* pc that called splhi() */ 
1994/0406    
	int	tlbfault;		/* this offset known in l.s/utlbmiss() */ 
 
1993/0501    
	/* Ok to change from here */ 
1990/0227    
	ulong	ticks;			/* of the clock since boot time */ 
	Label	sched;			/* scheduler wakeup */ 
	Lock	alarmlock;		/* access to alarm list */ 
	void	*alarm;			/* alarms bound to this clock */ 
	char	pidhere[NTLBPID];	/* is this pid possibly in this mmu? */ 
	int	lastpid;		/* last pid allocated on this machine */ 
1993/0501    
	Proc	*pidproc[NTLBPID];	/* tlb allocation table */ 
1991/0705    
	Page	*ufreeme;		/* address of upage of exited process */ 
1992/1202    
	Ureg	*ur; 
1994/0406    
	Proc	*pidproc[NTLBPID];	/* process that owns this tlbpid on this mach */ 
1991/0425    
 
1991/0711    
	int	tlbfault;		/* this offset known in l.s/utlbmiss() */ 
1991/0425    
	int	tlbpurge; 
	int	pfault; 
	int	cs; 


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