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

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

1991/0705/sys/src/9/gnot/segment.h:12,201992/0207/sys/src/9/gnot/segment.h:12,20 (short | long)
1991/0705    
	Page	*(*pgalloc)(ulong);	/* Allocation if we need it */ 
	void	(*pgfree)(Page*); 
}physseg[] = { 
	{ SG_SHARED,	"lock",		0,	SEGMAXSIZE,	&snewpage, 	&putpage }, 
	{ SG_SHARED,	"shared",	0,	SEGMAXSIZE,	&snewpage, 	&putpage }, 
1992/0207    
	{ SG_SHARED,	"lock",		0,	SEGMAXSIZE,	snewpage, 	putpage }, 
	{ SG_SHARED,	"shared",	0,	SEGMAXSIZE,	snewpage, 	putpage }, 
1991/0705    
	{ SG_PHYSICAL,	"kmem",		KZERO,	SEGMAXSIZE,	0,		0 	}, 
	{ SG_BSS,	"memory",	0,	SEGMAXSIZE,	&snewpage,	&putpage }, 
1992/0207    
	{ SG_BSS,	"memory",	0,	SEGMAXSIZE,	snewpage,	putpage }, 
1991/0705    
	{ 0,		0,		0,	0,		0,		0 	}, 
}; 
1992/0207/sys/src/9/gnot/segment.h:14,201993/0115/sys/src/9/gnot/segment.h:14,19 (short | long)
1991/0705    
}physseg[] = { 
1992/0207    
	{ SG_SHARED,	"lock",		0,	SEGMAXSIZE,	snewpage, 	putpage }, 
	{ SG_SHARED,	"shared",	0,	SEGMAXSIZE,	snewpage, 	putpage }, 
1991/0705    
	{ SG_PHYSICAL,	"kmem",		KZERO,	SEGMAXSIZE,	0,		0 	}, 
1992/0207    
	{ SG_BSS,	"memory",	0,	SEGMAXSIZE,	snewpage,	putpage }, 
1991/0705    
	{ 0,		0,		0,	0,		0,		0 	}, 
}; 
1993/0115/sys/src/9/gnot/segment.h:9,191993/0120/sys/src/9/gnot/segment.h:9,19 (short | long)
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    
}; 
1993/0120/sys/src/9/gnot/segment.h:2,171993/0226/sys/src/9/gnot/segment.h:2,8 (short | long)
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 }, 
1993/0226/sys/src/9/gnot/segment.h:1,101993/0501/sys/src/9/gnot/segment.h:0 (short | long)
Deleted.
rsc Mon Mar 7 10:21:54 2005
1991/0705    
/* 
 * Attach segment types 
 */ 
                 
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 }, 
	{ 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)