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

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

1993/0115/sys/src/9/gnot/segment.h:9,191993/0120/sys/src/9/gnot/segment.h:9,19 (short | long | prev | next)
1991/0705    
	char	*name;			/* Attach name */ 
	ulong	pa;			/* Physical address */ 
	ulong	size;			/* Maximum segment size in pages */ 
	Page	*(*pgalloc)(ulong);	/* Allocation if we need it */ 
1993/0120    
	Page	*(*pgalloc)(Segment*, ulong);	/* Allocation if we need it */ 
1991/0705    
	void	(*pgfree)(Page*); 
}physseg[] = { 
1992/0207    
	{ SG_SHARED,	"lock",		0,	SEGMAXSIZE,	snewpage, 	putpage }, 
	{ SG_SHARED,	"shared",	0,	SEGMAXSIZE,	snewpage, 	putpage }, 
	{ SG_BSS,	"memory",	0,	SEGMAXSIZE,	snewpage,	putpage }, 
1991/0705    
	{ 0,		0,		0,	0,		0,		0 	}, 
1993/0120    
	{ SG_SHARED,	"lock",		0,	SEGMAXSIZE,	0, 	0 }, 
	{ SG_SHARED,	"shared",	0,	SEGMAXSIZE,	0, 	0 }, 
	{ SG_BSS,	"memory",	0,	SEGMAXSIZE,	0,	0 }, 
	{ 0,		0,		0,	0,		0,	0 }, 
1991/0705    
}; 


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