/* @(#)map.h	1.1 */
struct map {
	ushort	m_size;
	ushort	m_addr;
};

extern struct map swapmap[];
extern struct map coremap[];
extern struct map execmap[];

#define	mapstart(X)	&X[1]
#define	mapwant(X)	X[0].m_addr
#define	mapsize(X)	X[0].m_size
#define	mapdata(X)	{(X)-2, 0} , {0, 0}
#define	mapinit(X, Y)	X[0].m_size = (Y)-2
