11.12Schs/*	$NetBSD: linux_exec.h,v 1.12 2017/02/12 21:02:19 chs Exp $	*/
21.1Sitohy
31.1Sitohy/*-
41.1Sitohy * Copyright (c) 1998 The NetBSD Foundation, Inc.
51.1Sitohy * All rights reserved.
61.1Sitohy *
71.1Sitohy * Redistribution and use in source and binary forms, with or without
81.1Sitohy * modification, are permitted provided that the following conditions
91.1Sitohy * are met:
101.1Sitohy * 1. Redistributions of source code must retain the above copyright
111.1Sitohy *    notice, this list of conditions and the following disclaimer.
121.1Sitohy * 2. Redistributions in binary form must reproduce the above copyright
131.1Sitohy *    notice, this list of conditions and the following disclaimer in the
141.1Sitohy *    documentation and/or other materials provided with the distribution.
151.1Sitohy *
161.1Sitohy * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
171.1Sitohy * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
181.1Sitohy * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
191.1Sitohy * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
201.1Sitohy * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
211.1Sitohy * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
221.1Sitohy * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
231.1Sitohy * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
241.1Sitohy * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
251.1Sitohy * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
261.1Sitohy * POSSIBILITY OF SUCH DAMAGE.
271.1Sitohy */
281.1Sitohy
291.1Sitohy#ifndef _M68K_LINUX_EXEC_H
301.1Sitohy#define _M68K_LINUX_EXEC_H
311.1Sitohy
321.1Sitohy/*
331.1Sitohy * Linux a.out format parameters
341.1Sitohy */
351.1Sitohy#define LINUX_M_68020		2
361.1Sitohy#define LINUX_MID_MACHINE	LINUX_M_68020
371.1Sitohy
381.1Sitohy/*
391.1Sitohy * Linux Elf32 format parameters
401.1Sitohy */
411.1Sitohy#define LINUX_GCC_SIGNATURE	1
421.2Serh
431.2Serh#define LINUX_ELF_AUX_ARGSIZ \
441.12Schs	(LINUX_ELF_AUX_ENTRIES * sizeof(Aux32Info) + LINUX_RANDOM_BYTES)
451.7Schristos
461.8Schristos#define linux_exec_setup_stack	exec_setup_stack
471.1Sitohy
481.1Sitohy#endif /* !_M68K_LINUX_EXEC_H */
49