resource.h revision 40713
140713Swollman/*
240713Swollman * Copyright 1998 Massachusetts Institute of Technology
340713Swollman *
440713Swollman * Permission to use, copy, modify, and distribute this software and
540713Swollman * its documentation for any purpose and without fee is hereby
640713Swollman * granted, provided that both the above copyright notice and this
740713Swollman * permission notice appear in all copies, that both the above
840713Swollman * copyright notice and this permission notice appear in all
940713Swollman * supporting documentation, and that the name of M.I.T. not be used
1040713Swollman * in advertising or publicity pertaining to distribution of the
1140713Swollman * software without specific, written prior permission.  M.I.T. makes
1240713Swollman * no representations about the suitability of this software for any
1340713Swollman * purpose.  It is provided "as is" without express or implied
1440713Swollman * warranty.
1540713Swollman *
1640713Swollman * THIS SOFTWARE IS PROVIDED BY M.I.T. ``AS IS''.  M.I.T. DISCLAIMS
1740713Swollman * ALL EXPRESS OR IMPLIED WARRANTIES WITH REGARD TO THIS SOFTWARE,
1840713Swollman * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
1940713Swollman * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT
2040713Swollman * SHALL M.I.T. BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
2140713Swollman * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
2240713Swollman * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
2340713Swollman * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
2440713Swollman * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
2540713Swollman * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
2640713Swollman * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2740713Swollman * SUCH DAMAGE.
2840713Swollman */
2940713Swollman
3040713Swollman#ifndef _MACHINE_RESOURCE_H_
3140713Swollman#define	_MACHINE_RESOURCE_H_	1
3240713Swollman
3340713Swollman/*
3440713Swollman * Definitions of resource types for Intel Architecture machines
3540713Swollman * with support for legacy ISA devices and drivers.
3640713Swollman */
3740713Swollman
3840713Swollman#define	SYS_RES_IRQ	1
3940713Swollman#define	SYS_RES_DRQ	2
4040713Swollman#define	SYS_RES_MEMORY	3
4140713Swollman#define	SYS_RES_IOPORT	4
4240713Swollman
4340713Swollman#endif /* !_MACHINE_RESOURCE_H_ */
44