Deleted Added
full compact
cpufunc.h (2056) cpufunc.h (2112)
1/*-
2 * Copyright (c) 1993 The Regents of the University of California.
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

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

25 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
1/*-
2 * Copyright (c) 1993 The Regents of the University of California.
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

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

25 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * $Id: cpufunc.h,v 1.15 1994/08/11 02:26:08 jkh Exp $
33 * $Id: cpufunc.h,v 1.16 1994/08/13 03:49:49 wollman Exp $
34 */
35
36/*
37 * Functions to provide access to special i386 instructions.
38 * XXX - bezillions more are defined in locore.s but are not declared anywhere.
39 */
40
41#ifndef _MACHINE_CPUFUNC_H_

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

148void outb __P((u_int port, u_int data)); /* XXX - incompat */
149
150#endif /* __GNUC__ */
151
152void load_cr0 __P((u_int cr0));
153u_int rcr0 __P((void));
154void load_cr3(u_long);
155u_long rcr3(void);
34 */
35
36/*
37 * Functions to provide access to special i386 instructions.
38 * XXX - bezillions more are defined in locore.s but are not declared anywhere.
39 */
40
41#ifndef _MACHINE_CPUFUNC_H_

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

148void outb __P((u_int port, u_int data)); /* XXX - incompat */
149
150#endif /* __GNUC__ */
151
152void load_cr0 __P((u_int cr0));
153u_int rcr0 __P((void));
154void load_cr3(u_long);
155u_long rcr3(void);
156extern void DELAY(int);
156
157void setidt __P((int, void (*)(), int, int));
158extern u_long kvtop(void *);
159extern void outw(int /*u_short*/, int /*u_short*/); /* XXX inline!*/
160extern void outsb(int /*u_short*/, void *, size_t);
161extern void outsw(int /*u_short*/, void *, size_t);
162extern void insw(int /*u_short*/, void *, size_t);
163extern void fillw(int /*u_short*/, void *, size_t);
164extern void filli(int, void *, size_t);
165
166#endif /* _MACHINE_CPUFUNC_H_ */
157
158void setidt __P((int, void (*)(), int, int));
159extern u_long kvtop(void *);
160extern void outw(int /*u_short*/, int /*u_short*/); /* XXX inline!*/
161extern void outsb(int /*u_short*/, void *, size_t);
162extern void outsw(int /*u_short*/, void *, size_t);
163extern void insw(int /*u_short*/, void *, size_t);
164extern void fillw(int /*u_short*/, void *, size_t);
165extern void filli(int, void *, size_t);
166
167#endif /* _MACHINE_CPUFUNC_H_ */