sysarch.h revision 1817
11817Sdg/*-
21817Sdg * Copyright (c) 1993 The Regents of the University of California.
31817Sdg * All rights reserved.
41817Sdg *
51817Sdg * Redistribution and use in source and binary forms, with or without
61817Sdg * modification, are permitted provided that the following conditions
71817Sdg * are met:
81817Sdg * 1. Redistributions of source code must retain the above copyright
91817Sdg *    notice, this list of conditions and the following disclaimer.
101817Sdg * 2. Redistributions in binary form must reproduce the above copyright
111817Sdg *    notice, this list of conditions and the following disclaimer in the
121817Sdg *    documentation and/or other materials provided with the distribution.
131817Sdg * 3. All advertising materials mentioning features or use of this software
141817Sdg *    must display the following acknowledgement:
151817Sdg *	This product includes software developed by the University of
161817Sdg *	California, Berkeley and its contributors.
171817Sdg * 4. Neither the name of the University nor the names of its contributors
181817Sdg *    may be used to endorse or promote products derived from this software
191817Sdg *    without specific prior written permission.
201817Sdg *
211817Sdg * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
221817Sdg * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
231817Sdg * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
241817Sdg * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
251817Sdg * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
261817Sdg * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
271817Sdg * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
281817Sdg * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
291817Sdg * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
301817Sdg * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
311817Sdg * SUCH DAMAGE.
321817Sdg *
331817Sdg *	$Id$
341817Sdg */
351817Sdg
36550Srgrimes/*
37550Srgrimes * Architecture specific syscalls (i386)
38550Srgrimes */
39719Swollman#ifndef _MACHINE_SYSARCH_H_
40719Swollman#define _MACHINE_SYSARCH_H_ 1
41719Swollman
42719Swollman#include <sys/cdefs.h>
43719Swollman
44550Srgrimes#define I386_GET_LDT	0
45550Srgrimes#define I386_SET_LDT	1
46550Srgrimes
47719Swollman#ifdef KERNEL
48719Swollman/* nothing here yet... */
49719Swollman#else /* not KERNEL */
50719Swollman__BEGIN_DECLS
51719Swollman
52550Srgrimesint i386_get_ldt __P((int, union descriptor *, int));
53550Srgrimesint i386_set_ldt __P((int, union descriptor *, int));
54719Swollman
55719Swollman__END_DECLS
56719Swollman#endif /* not KERNEL */
57719Swollman#endif /* _MACHINE_SYSARCH_H_ */
58