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

1993/0226/gnot/segment.h (diff list | history)

1993/0120/sys/src/9/gnot/segment.h:2,171993/0226/sys/src/9/gnot/segment.h:2,8 (short | long | prev | next)
1991/0705    
 * Attach segment types 
 */ 
 
typedef struct Physseg Physseg; 
struct Physseg 
{ 
	ulong	attr;			/* Segment attributes */ 
	char	*name;			/* Attach name */ 
	ulong	pa;			/* Physical address */ 
	ulong	size;			/* Maximum segment size in pages */ 
1993/0120    
	Page	*(*pgalloc)(Segment*, ulong);	/* Allocation if we need it */ 
1991/0705    
	void	(*pgfree)(Page*); 
}physseg[] = { 
1993/0226    
Physseg physseg[] = { 
1993/0120    
	{ SG_SHARED,	"lock",		0,	SEGMAXSIZE,	0, 	0 }, 
	{ SG_SHARED,	"shared",	0,	SEGMAXSIZE,	0, 	0 }, 
	{ SG_BSS,	"memory",	0,	SEGMAXSIZE,	0,	0 }, 


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