11.14Sryo/* $NetBSD: linux_exec.h,v 1.14 2021/11/26 08:56:28 ryo Exp $ */ 21.1Serh 31.1Serh/*- 41.1Serh * Copyright (c) 1998 The NetBSD Foundation, Inc. 51.1Serh * All rights reserved. 61.1Serh * 71.1Serh * This code is derived from software contributed to The NetBSD Foundation 81.1Serh * by Eric Haszlakiewicz. 91.1Serh * 101.1Serh * Redistribution and use in source and binary forms, with or without 111.1Serh * modification, are permitted provided that the following conditions 121.1Serh * are met: 131.1Serh * 1. Redistributions of source code must retain the above copyright 141.1Serh * notice, this list of conditions and the following disclaimer. 151.1Serh * 2. Redistributions in binary form must reproduce the above copyright 161.1Serh * notice, this list of conditions and the following disclaimer in the 171.1Serh * documentation and/or other materials provided with the distribution. 181.1Serh * 191.1Serh * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 201.1Serh * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 211.1Serh * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 221.1Serh * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 231.1Serh * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 241.1Serh * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 251.1Serh * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 261.1Serh * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 271.1Serh * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 281.1Serh * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 291.1Serh * POSSIBILITY OF SUCH DAMAGE. 301.1Serh */ 311.1Serh 321.1Serh#ifndef _I386_LINUX_EXEC_H 331.1Serh#define _I386_LINUX_EXEC_H 341.1Serh 351.1Serh#define LINUX_M_I386 100 361.1Serh#define LINUX_MID_MACHINE LINUX_M_I386 371.6Schristos#define LINUX_USRSTACK 0xC0000000 381.2Serh 391.5Sjdolecek#define LINUX_ELF_AUX_ARGSIZ \ 401.13Schs (LINUX_ELF_AUX_ENTRIES * sizeof(Aux32Info) + LINUX_RANDOM_BYTES) 411.6Schristos 421.11Schs#define LINUX_DEBUGLINK_SIGNATURE 431.14Sryo#define LINUX_GO_RT0_SIGNATURE 441.11Schs 451.7Sdsl#ifdef _KERNEL 461.8Schristosint linux_exec_setup_stack(struct lwp *, struct exec_package *); 471.7Sdsl#endif 481.1Serh#endif /* !_I386_LINUX_EXEC_H */ 49