Deleted Added
full compact
md_var.h (114987) md_var.h (118990)
1/*-
2 * Copyright (c) 1995 Bruce D. Evans.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 12 unchanged lines hidden (view full) ---

21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
1/*-
2 * Copyright (c) 1995 Bruce D. Evans.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 12 unchanged lines hidden (view full) ---

21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * $FreeBSD: head/sys/amd64/include/md_var.h 114987 2003-05-14 04:10:49Z peter $
29 * $FreeBSD: head/sys/amd64/include/md_var.h 118990 2003-08-16 16:57:57Z marcel $
30 */
31
32#ifndef _MACHINE_MD_VAR_H_
33#define _MACHINE_MD_VAR_H_
34
35/*
36 * Miscellaneous machine-dependent declarations.
37 */

--- 15 unchanged lines hidden (view full) ---

53
54typedef void alias_for_inthand_t(u_int cs, u_int ef, u_int esp, u_int ss);
55struct thread;
56struct reg;
57struct fpreg;
58struct dbreg;
59
60void busdma_swi(void);
30 */
31
32#ifndef _MACHINE_MD_VAR_H_
33#define _MACHINE_MD_VAR_H_
34
35/*
36 * Miscellaneous machine-dependent declarations.
37 */

--- 15 unchanged lines hidden (view full) ---

53
54typedef void alias_for_inthand_t(u_int cs, u_int ef, u_int esp, u_int ss);
55struct thread;
56struct reg;
57struct fpreg;
58struct dbreg;
59
60void busdma_swi(void);
61void cpu_halt(void);
62void cpu_reset(void);
63void cpu_setregs(void);
64void doreti_iret(void) __asm(__STRING(doreti_iret));
65void doreti_iret_fault(void) __asm(__STRING(doreti_iret_fault));
66void enable_sse(void);
67void fillw(int /*u_short*/ pat, void *base, size_t cnt);
68void pagezero(void *addr);
69int is_physical_memory(vm_offset_t addr);
70void setidt(int idx, alias_for_inthand_t *func, int typ, int dpl, int ist);
61void cpu_setregs(void);
62void doreti_iret(void) __asm(__STRING(doreti_iret));
63void doreti_iret_fault(void) __asm(__STRING(doreti_iret_fault));
64void enable_sse(void);
65void fillw(int /*u_short*/ pat, void *base, size_t cnt);
66void pagezero(void *addr);
67int is_physical_memory(vm_offset_t addr);
68void setidt(int idx, alias_for_inthand_t *func, int typ, int dpl, int ist);
71void swi_vm(void *);
72void fpstate_drop(struct thread *td);
73
74#endif /* !_MACHINE_MD_VAR_H_ */
69void fpstate_drop(struct thread *td);
70
71#endif /* !_MACHINE_MD_VAR_H_ */