160727d8bSWarner Losh /*- 246365a87SGarrett Wollman * Copyright 1998 Massachusetts Institute of Technology 346365a87SGarrett Wollman * 446365a87SGarrett Wollman * Permission to use, copy, modify, and distribute this software and 546365a87SGarrett Wollman * its documentation for any purpose and without fee is hereby 646365a87SGarrett Wollman * granted, provided that both the above copyright notice and this 746365a87SGarrett Wollman * permission notice appear in all copies, that both the above 846365a87SGarrett Wollman * copyright notice and this permission notice appear in all 946365a87SGarrett Wollman * supporting documentation, and that the name of M.I.T. not be used 1046365a87SGarrett Wollman * in advertising or publicity pertaining to distribution of the 1146365a87SGarrett Wollman * software without specific, written prior permission. M.I.T. makes 1246365a87SGarrett Wollman * no representations about the suitability of this software for any 1346365a87SGarrett Wollman * purpose. It is provided "as is" without express or implied 1446365a87SGarrett Wollman * warranty. 1546365a87SGarrett Wollman * 1646365a87SGarrett Wollman * THIS SOFTWARE IS PROVIDED BY M.I.T. ``AS IS''. M.I.T. DISCLAIMS 1746365a87SGarrett Wollman * ALL EXPRESS OR IMPLIED WARRANTIES WITH REGARD TO THIS SOFTWARE, 1846365a87SGarrett Wollman * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 1946365a87SGarrett Wollman * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT 2046365a87SGarrett Wollman * SHALL M.I.T. BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 2146365a87SGarrett Wollman * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 2246365a87SGarrett Wollman * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF 2346365a87SGarrett Wollman * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 2446365a87SGarrett Wollman * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 2546365a87SGarrett Wollman * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT 2646365a87SGarrett Wollman * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2746365a87SGarrett Wollman * SUCH DAMAGE. 2846365a87SGarrett Wollman */ 2946365a87SGarrett Wollman 3046365a87SGarrett Wollman #ifndef _MACHINE_RESOURCE_H_ 3146365a87SGarrett Wollman #define _MACHINE_RESOURCE_H_ 1 3246365a87SGarrett Wollman 3346365a87SGarrett Wollman /* 3446365a87SGarrett Wollman * Definitions of resource types for Intel Architecture machines 3546365a87SGarrett Wollman * with support for legacy ISA devices and drivers. 3646365a87SGarrett Wollman */ 3746365a87SGarrett Wollman 38aa595accSDoug Rabson #define SYS_RES_IRQ 1 /* interrupt lines */ 39aa595accSDoug Rabson #define SYS_RES_DRQ 2 /* isa dma lines */ 40aa595accSDoug Rabson #define SYS_RES_MEMORY 3 /* i/o memory */ 41aa595accSDoug Rabson #define SYS_RES_IOPORT 4 /* i/o ports */ 4260871408SJustin Hibbits #define PCI_RES_BUS 5 /* PCI bus numbers */ 4346365a87SGarrett Wollman 44*a8247021SJohn Baldwin /* 45*a8247021SJohn Baldwin * A powerpc-specific resource flag to request little-endian bus tags 46*a8247021SJohn Baldwin * for a resource. 47*a8247021SJohn Baldwin */ 48*a8247021SJohn Baldwin 49*a8247021SJohn Baldwin #define RF_LITTLEENDIAN RF_SPARE1 50*a8247021SJohn Baldwin 5146365a87SGarrett Wollman #endif /* !_MACHINE_RESOURCE_H_ */ 52