resource.h revision 49157
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 3849157Sdfr#define SYS_RES_IRQ 1 /* interrupt lines */ 3949157Sdfr#define SYS_RES_DRQ 2 /* isa dma lines */ 4049157Sdfr#define SYS_RES_MEMORY 3 /* i/o memory */ 4149157Sdfr#define SYS_RES_IOPORT 4 /* i/o ports */ 4249157Sdfr#define SYS_RES_DENSE SYS_RES_MEMORY 4349157Sdfr#define SYS_RES_BWX SYS_RES_MEMORY 4440713Swollman 4540713Swollman#endif /* !_MACHINE_RESOURCE_H_ */ 46