1 /* $OpenBSD: ibcs2_sysi86.h,v 1.2 1996/08/02 20:35:14 niklas Exp $ */
2 /* $NetBSD: ibcs2_sysi86.h,v 1.1 1996/01/06 03:23:54 scottb Exp $ */
3
4 /*
5 * Copyright (c) 1996 Scott Bartram
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions
10 * are met:
11 * 1. Redistributions of source code must retain the above copyright
12 * notice, this list of conditions and the following disclaimer.
13 * 2. The name of the author may not be used to endorse or promote products
14 * derived from this software without specific prior written permission
15 *
16 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
17 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
18 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
19 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
20 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
21 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
22 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
23 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 */
27
28 #ifndef _IBCS2_SYSI86_H
29 #define _IBCS2_SYSI86_H
30
31 #define IBCS2_SI86FPHW 40 /* check floating-point support */
32 #define IBCS2_SI86STIME 54 /* set system time */
33 #define IBCS2_SI86SETNAME 56 /* set hostname */
34 #define IBCS2_SI86PHYSMEM 65 /* get physical memory size */
35
36 /* from sys/fp.h */
37 #define IBCS2_FP_NO 0
38 #define IBCS2_FP_SW 1
39 #define IBCS2_FP_HW 2
40 #define IBCS2_FP_287 2
41 #define IBCS2_FP_387 3
42
43 #endif /* _IBCS2_SYSI86_H */