sysarch.h (6875d25465631b7563f1b90e6b05e2640dc81f4e) | sysarch.h (48a09cf2760da35e089ae3e2d56578b730fc7047) |
---|---|
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$ | 33 * $Id: sysarch.h,v 1.6 1997/02/22 09:35:18 peter Exp $ |
34 */ 35 36/* 37 * Architecture specific syscalls (i386) 38 */ 39#ifndef _MACHINE_SYSARCH_H_ 40#define _MACHINE_SYSARCH_H_ 1 41 42#include <sys/cdefs.h> 43 44#define I386_GET_LDT 0 45#define I386_SET_LDT 1 | 34 */ 35 36/* 37 * Architecture specific syscalls (i386) 38 */ 39#ifndef _MACHINE_SYSARCH_H_ 40#define _MACHINE_SYSARCH_H_ 1 41 42#include <sys/cdefs.h> 43 44#define I386_GET_LDT 0 45#define I386_SET_LDT 1 |
46 /* I386_IOPL */ 47#define I386_GET_IOPERM 3 48#define I386_SET_IOPERM 4 49 /* xxxxx */ 50#define I386_VM86 6 |
|
46 47#ifdef KERNEL 48/* nothing here yet... */ 49#else /* not KERNEL */ 50__BEGIN_DECLS 51 52int i386_get_ldt __P((int, union descriptor *, int)); 53int i386_set_ldt __P((int, union descriptor *, int)); 54 55__END_DECLS 56#endif /* not KERNEL */ 57#endif /* _MACHINE_SYSARCH_H_ */ | 51 52#ifdef KERNEL 53/* nothing here yet... */ 54#else /* not KERNEL */ 55__BEGIN_DECLS 56 57int i386_get_ldt __P((int, union descriptor *, int)); 58int i386_set_ldt __P((int, union descriptor *, int)); 59 60__END_DECLS 61#endif /* not KERNEL */ 62#endif /* _MACHINE_SYSARCH_H_ */ |