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

1991/0605/port/portdat.h (diff list | history)

1991/0514/sys/src/9/port/portdat.h:283,2951991/0605/sys/src/9/port/portdat.h:283,294 (short | long | prev | next)
Change segments to enum. Add LSEG, NSEG.
rsc Fri Mar 4 12:44:25 2005
1991/0514    
}; 
 
1991/0428    
/* 
 *  process memory segments 
1991/0605    
 *  process memory segments - NSEG always last ! 
1991/0428    
 */ 
#define	SSEG	0 
#define	TSEG	1 
#define	DSEG	2 
#define	BSEG	3 
#define	ESEG	4	/* used by exec to build new stack */ 
1991/0605    
enum 
{ 
	SSEG, TSEG, DSEG, BSEG, ESEG, LSEG, NSEG 
}; 
1991/0428    
 
struct Seg 
{ 


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