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

1992/0228/power/io.h (diff list | history)

1991/0306/sys/src/9/power/io.h:76,821992/0228/sys/src/9/power/io.h:76,82 (short | long | prev | next)
1991/0212    
 * MP2VME takes a physical MP bus address and returns an address 
1991/0306    
 * usable by a VME device through A32 space.  VME2MP is its inverse 
1991/0212    
 */ 
1990/0227    
#define	MASTER	0x0 
1992/0228    
#define	MASTER	0x1	/* 0x10000000 - Map for cyclone A32 addressing */ 
1990/0227    
#define	SLAVE	0x4 
1991/0212    
#define	MP2VME(addr)	(((ulong)(addr) & 0x0fffffff) | (SLAVE<<28)) 
1991/0306    
#define	VME2MP(addr)	(((ulong)(addr) & 0x0fffffff) | KZERO) 


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