xref: /freebsd/sys/amd64/include/nexusvar.h (revision 95ee2897e98f5d444f26ed2334cc7c439f9c16c6)
15217af30SJohn Baldwin /*-
25217af30SJohn Baldwin  * Copyright 1998 Massachusetts Institute of Technology
35217af30SJohn Baldwin  *
45217af30SJohn Baldwin  * Permission to use, copy, modify, and distribute this software and
55217af30SJohn Baldwin  * its documentation for any purpose and without fee is hereby
65217af30SJohn Baldwin  * granted, provided that both the above copyright notice and this
75217af30SJohn Baldwin  * permission notice appear in all copies, that both the above
85217af30SJohn Baldwin  * copyright notice and this permission notice appear in all
95217af30SJohn Baldwin  * supporting documentation, and that the name of M.I.T. not be used
105217af30SJohn Baldwin  * in advertising or publicity pertaining to distribution of the
115217af30SJohn Baldwin  * software without specific, written prior permission.  M.I.T. makes
125217af30SJohn Baldwin  * no representations about the suitability of this software for any
135217af30SJohn Baldwin  * purpose.  It is provided "as is" without express or implied
145217af30SJohn Baldwin  * warranty.
155217af30SJohn Baldwin  *
165217af30SJohn Baldwin  * THIS SOFTWARE IS PROVIDED BY M.I.T. ``AS IS''.  M.I.T. DISCLAIMS
175217af30SJohn Baldwin  * ALL EXPRESS OR IMPLIED WARRANTIES WITH REGARD TO THIS SOFTWARE,
185217af30SJohn Baldwin  * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
195217af30SJohn Baldwin  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT
205217af30SJohn Baldwin  * SHALL M.I.T. BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
215217af30SJohn Baldwin  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
225217af30SJohn Baldwin  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
235217af30SJohn Baldwin  * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
245217af30SJohn Baldwin  * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
255217af30SJohn Baldwin  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
265217af30SJohn Baldwin  * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
275217af30SJohn Baldwin  * SUCH DAMAGE.
285217af30SJohn Baldwin  */
295217af30SJohn Baldwin 
305217af30SJohn Baldwin #ifndef _MACHINE_NEXUSVAR_H_
315217af30SJohn Baldwin #define	_MACHINE_NEXUSVAR_H_
325217af30SJohn Baldwin 
335217af30SJohn Baldwin struct nexus_device {
345217af30SJohn Baldwin 	struct resource_list	nx_resources;
355217af30SJohn Baldwin };
365217af30SJohn Baldwin 
375217af30SJohn Baldwin DECLARE_CLASS(nexus_driver);
385217af30SJohn Baldwin 
395217af30SJohn Baldwin extern struct rman irq_rman, drq_rman, port_rman, mem_rman;
405217af30SJohn Baldwin 
415217af30SJohn Baldwin void	nexus_init_resources(void);
425217af30SJohn Baldwin 
435217af30SJohn Baldwin #endif /* !_MACHINE_NEXUSVAR_H_ */
44