md_var.h revision 40751
1157642Sps/*-
2178132Sdavidch * Copyright (c) 1998 Doug Rabson
3157642Sps * All rights reserved.
4157642Sps *
5157642Sps * Redistribution and use in source and binary forms, with or without
6157642Sps * modification, are permitted provided that the following conditions
7157642Sps * are met:
8157642Sps * 1. Redistributions of source code must retain the above copyright
9157642Sps *    notice, this list of conditions and the following disclaimer.
10157642Sps * 2. Redistributions in binary form must reproduce the above copyright
11157642Sps *    notice, this list of conditions and the following disclaimer in the
12157642Sps *    documentation and/or other materials provided with the distribution.
13157642Sps *
14157642Sps * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15157642Sps * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16157642Sps * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17157642Sps * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18157642Sps * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19157642Sps * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20157642Sps * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21157642Sps * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22157642Sps * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23157642Sps * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24157642Sps * SUCH DAMAGE.
25157642Sps *
26157642Sps *	$Id: md_var.h,v 1.4 1998/09/26 12:22:53 dfr Exp $
27157642Sps */
28157642Sps
29157642Sps#ifndef _MACHINE_MD_VAR_H_
30157642Sps#define	_MACHINE_MD_VAR_H_
31157642Sps
32157642Sps/*
33157642Sps * Miscellaneous machine-dependent declarations.
34178132Sdavidch */
35157642Sps
36157642Spsextern	char	sigcode[];
37157642Spsextern	char	esigcode[];
38157642Spsextern	int	szsigcode;
39157642Spsextern	int	Maxmem;
40157642Spsextern	void	(*netisrs[32]) __P((void));
41179771Sdavidch
42179771Sdavidchstruct fpreg;
43179771Sdavidchstruct proc;
44179771Sdavidchstruct reg;
45179771Sdavidchstruct cam_sim;
46176448Sdavidch
47176448Sdavidchvoid	cpu_halt __P((void));
48179771Sdavidchvoid	cpu_reset __P((void));
49176448Sdavidchint	is_physical_memory __P((vm_offset_t addr));
50179771Sdavidchvoid	swi_vm __P((void));
51179771Sdavidchint	vm_page_zero_idle __P((void));
52179771Sdavidchint	fill_regs __P((struct proc *, struct reg *));
53179771Sdavidchint	set_regs __P((struct proc *, struct reg *));
54179771Sdavidchint	fill_fpregs __P((struct proc *, struct fpreg *));
55179771Sdavidchint	set_fpregs __P((struct proc *, struct fpreg *));
56179771Sdavidchvoid	alpha_register_pci_scsi __P((int bus, int slot, struct cam_sim *sim));
57176448Sdavidch
58179771Sdavidch#endif /* !_MACHINE_MD_VAR_H_ */
59179771Sdavidch