Deleted Added
full compact
sysarch.h (121405) sysarch.h (124296)
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 * $FreeBSD: head/sys/amd64/include/sysarch.h 121405 2003-10-23 06:06:14Z peter $
33 * $FreeBSD: head/sys/amd64/include/sysarch.h 124296 2004-01-09 16:52:09Z nectar $
34 */
35
36/*
37 * Architecture specific syscalls (AMD64)
38 */
39#ifndef _MACHINE_SYSARCH_H_
40#define _MACHINE_SYSARCH_H_
41
42/* Leave space for 0-127 for to avoid translating syscalls */
43#define AMD64_GET_FSBASE 128
44#define AMD64_SET_FSBASE 129
45#define AMD64_GET_GSBASE 130
46#define AMD64_SET_GSBASE 131
47
48#ifndef _KERNEL
49#include <sys/cdefs.h>
50
51__BEGIN_DECLS
52int amd64_get_fsbase(void **);
34 */
35
36/*
37 * Architecture specific syscalls (AMD64)
38 */
39#ifndef _MACHINE_SYSARCH_H_
40#define _MACHINE_SYSARCH_H_
41
42/* Leave space for 0-127 for to avoid translating syscalls */
43#define AMD64_GET_FSBASE 128
44#define AMD64_SET_FSBASE 129
45#define AMD64_GET_GSBASE 130
46#define AMD64_SET_GSBASE 131
47
48#ifndef _KERNEL
49#include <sys/cdefs.h>
50
51__BEGIN_DECLS
52int amd64_get_fsbase(void **);
53int amd64_set_fsbase(void *);
54int amd64_get_gsbase(void **);
53int amd64_get_gsbase(void **);
54int amd64_set_fsbase(void *);
55int amd64_set_gsbase(void *);
55int amd64_set_gsbase(void *);
56int sysarch(int, void *);
56__END_DECLS
57#endif
58
59#endif /* !_MACHINE_SYSARCH_H_ */
57__END_DECLS
58#endif
59
60#endif /* !_MACHINE_SYSARCH_H_ */