11.2Schristos/* $NetBSD: aout_mids.h,v 1.2 2019/05/19 04:09:22 christos Exp $ */ 21.1Schristos 31.1Schristos/* 41.1Schristos * Copyright (c) 2009, The NetBSD Foundation, Inc. 51.1Schristos * All rights reserved. 61.1Schristos * 71.1Schristos * Redistribution and use in source and binary forms, with or without 81.1Schristos * modification, are permitted provided that the following conditions 91.1Schristos * are met: 101.1Schristos * 1. Redistributions of source code must retain the above copyright 111.1Schristos * notice, this list of conditions and the following disclaimer. 121.1Schristos * 2. Redistributions in binary form must reproduce the above copyright 131.1Schristos * notice, this list of conditions and the following disclaimer in the 141.1Schristos * documentation and/or other materials provided with the distribution. 151.1Schristos * 161.1Schristos * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 171.1Schristos * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 181.1Schristos * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 191.1Schristos * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 201.1Schristos * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 211.1Schristos * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 221.1Schristos * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 231.1Schristos * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 241.1Schristos * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 251.1Schristos * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 261.1Schristos */ 271.1Schristos 281.2Schristos#ifndef _SYS_AOUT_MIDS_H_ 291.2Schristos#define _SYS_AOUT_MIDS_H_ 301.1Schristos 311.1Schristos/* 321.1Schristos * a_mid - keep sorted in numerical order for sanity's sake 331.1Schristos * ensure that: 0 < mid < 0x3ff 341.2Schristos * 351.2Schristos * NB: These are still being used in kernel core files. 361.1Schristos */ 371.2Schristos#define MID_ZERO 0x000 /* unknown - implementation dependent */ 381.2Schristos#define MID_SUN010 0x001 /* sun 68010/68020 binary */ 391.2Schristos#define MID_SUN020 0x002 /* sun 68020-only binary */ 401.2Schristos 411.2Schristos#define MID_PC386 0x064 /* 386 PC binary. (so quoth BFD) */ 421.2Schristos 431.2Schristos#define MID_I386 0x086 /* i386 BSD binary */ 441.2Schristos#define MID_M68K 0x087 /* m68k BSD binary with 8K page sizes */ 451.2Schristos#define MID_M68K4K 0x088 /* m68k BSD binary with 4K page sizes */ 461.2Schristos#define MID_NS32532 0x089 /* ns32532 */ 471.2Schristos#define MID_SPARC 0x08a /* sparc */ 481.2Schristos#define MID_PMAX 0x08b /* pmax */ 491.2Schristos#define MID_VAX1K 0x08c /* VAX 1K page size binaries */ 501.2Schristos#define MID_ALPHA 0x08d /* Alpha BSD binary */ 511.2Schristos#define MID_MIPS 0x08e /* big-endian MIPS */ 521.2Schristos#define MID_ARM6 0x08f /* ARM6 */ 531.2Schristos#define MID_M680002K 0x090 /* m68000 with 2K page sizes */ 541.2Schristos#define MID_SH3 0x091 /* SH3 */ 551.2Schristos 561.2Schristos#define MID_POWERPC64 0x094 /* big-endian PowerPC 64 */ 571.2Schristos#define MID_POWERPC 0x095 /* big-endian PowerPC */ 581.2Schristos#define MID_VAX 0x096 /* VAX */ 591.2Schristos#define MID_MIPS1 0x097 /* MIPS1 */ 601.2Schristos#define MID_MIPS2 0x098 /* MIPS2 */ 611.2Schristos#define MID_M88K 0x099 /* m88k BSD */ 621.2Schristos#define MID_HPPA 0x09a /* HP PARISC */ 631.2Schristos#define MID_SH5_64 0x09b /* LP64 SH5 */ 641.2Schristos#define MID_SPARC64 0x09c /* LP64 sparc */ 651.2Schristos#define MID_X86_64 0x09d /* AMD x86-64 */ 661.2Schristos#define MID_SH5_32 0x09e /* ILP32 SH5 */ 671.2Schristos#define MID_IA64 0x09f /* Itanium */ 681.2Schristos 691.2Schristos#define MID_AARCH64 0x0b7 /* ARM AARCH64 */ 701.2Schristos#define MID_OR1K 0x0b8 /* OpenRISC 1000 */ 711.2Schristos#define MID_RISCV 0x0b9 /* Risc-V */ 721.2Schristos 731.2Schristos#define MID_HP200 0x0c8 /* hp200 (68010) BSD binary */ 741.2Schristos 751.2Schristos#define MID_HP300 0x12c /* hp300 (68020+68881) BSD binary */ 761.2Schristos 771.2Schristos#define MID_HPUX800 0x20b /* hp800 HP-UX binary */ 781.2Schristos#define MID_HPUX 0x20c /* hp200/300 HP-UX binary */ 791.1Schristos 801.2Schristos#endif /* _SYS_AOUT_MIDS_H_ */ 81