root / lab4 / .minix-src / include / sys / aout_mids.h @ 14
History | View | Annotate | Download (3.15 KB)
1 |
/* $NetBSD: aout_mids.h,v 1.6 2014/12/08 20:51:02 christos Exp $ */
|
---|---|
2 |
|
3 |
/*
|
4 |
* Copyright (c) 2009, The NetBSD Foundation, Inc.
|
5 |
* All rights reserved.
|
6 |
*
|
7 |
* Redistribution and use in source and binary forms, with or without
|
8 |
* modification, are permitted provided that the following conditions
|
9 |
* are met:
|
10 |
* 1. Redistributions of source code must retain the above copyright
|
11 |
* notice, this list of conditions and the following disclaimer.
|
12 |
* 2. Redistributions in binary form must reproduce the above copyright
|
13 |
* notice, this list of conditions and the following disclaimer in the
|
14 |
* documentation and/or other materials provided with the distribution.
|
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 _SYS_AOUT_MIDS_H_
|
29 |
#define _SYS_AOUT_MIDS_H_
|
30 |
|
31 |
/*
|
32 |
* a_mid - keep sorted in numerical order for sanity's sake
|
33 |
* ensure that: 0 < mid < 0x3ff
|
34 |
*
|
35 |
* NB: These are still being used in kernel core files.
|
36 |
*/
|
37 |
#define MID_ZERO 0x000 /* unknown - implementation dependent */ |
38 |
#define MID_SUN010 0x001 /* sun 68010/68020 binary */ |
39 |
#define MID_SUN020 0x002 /* sun 68020-only binary */ |
40 |
|
41 |
#define MID_PC386 0x064 /* 386 PC binary. (so quoth BFD) */ |
42 |
|
43 |
#define MID_I386 0x086 /* i386 BSD binary */ |
44 |
#define MID_M68K 0x087 /* m68k BSD binary with 8K page sizes */ |
45 |
#define MID_M68K4K 0x088 /* m68k BSD binary with 4K page sizes */ |
46 |
#define MID_NS32532 0x089 /* ns32532 */ |
47 |
#define MID_SPARC 0x08a /* sparc */ |
48 |
#define MID_PMAX 0x08b /* pmax */ |
49 |
#define MID_VAX1K 0x08c /* VAX 1K page size binaries */ |
50 |
#define MID_ALPHA 0x08d /* Alpha BSD binary */ |
51 |
#define MID_MIPS 0x08e /* big-endian MIPS */ |
52 |
#define MID_ARM6 0x08f /* ARM6 */ |
53 |
#define MID_M680002K 0x090 /* m68000 with 2K page sizes */ |
54 |
#define MID_SH3 0x091 /* SH3 */ |
55 |
|
56 |
#define MID_POWERPC 0x095 /* big-endian PowerPC */ |
57 |
#define MID_VAX 0x096 /* VAX */ |
58 |
#define MID_MIPS1 0x097 /* MIPS1 */ |
59 |
#define MID_MIPS2 0x098 /* MIPS2 */ |
60 |
#define MID_M88K 0x099 /* m88k BSD */ |
61 |
#define MID_HPPA 0x09a /* HP PARISC */ |
62 |
#define MID_SH5_64 0x09b /* LP64 SH5 */ |
63 |
#define MID_SPARC64 0x09c /* LP64 sparc */ |
64 |
#define MID_X86_64 0x09d /* AMD x86-64 */ |
65 |
#define MID_SH5_32 0x09e /* ILP32 SH5 */ |
66 |
#define MID_IA64 0x09f /* Itanium */ |
67 |
|
68 |
#define MID_AARCH64 0x0b7 /* ARM AARCH64 */ |
69 |
#define MID_OR1K 0x0b8 /* OpenRISC 1000 */ |
70 |
#define MID_RISCV 0x0b9 /* Risc-V */ |
71 |
|
72 |
#define MID_HP200 0x0c8 /* hp200 (68010) BSD binary */ |
73 |
|
74 |
#define MID_HP300 0x12c /* hp300 (68020+68881) BSD binary */ |
75 |
|
76 |
#define MID_HPUX800 0x20b /* hp800 HP-UX binary */ |
77 |
#define MID_HPUX 0x20c /* hp200/300 HP-UX binary */ |
78 |
|
79 |
#endif /* _SYS_AOUT_MIDS_H_ */ |