xref: /netbsd-src/sys/compat/vax1k/vax1k_exec.h (revision 7bb407d6e381f0b9ebe77967874fbd7f4438e46d)
1*7bb407d6Smatt /*	$NetBSD: vax1k_exec.h,v 1.8 2009/08/15 23:39:35 matt Exp $	*/
2fc2106d6Sragge 
3fc2106d6Sragge /*-
4fc2106d6Sragge  * Copyright (c) 1996 The NetBSD Foundation, Inc.
5fc2106d6Sragge  * All rights reserved.
6fc2106d6Sragge  *
7fc2106d6Sragge  * This code is derived from software contributed to The NetBSD Foundation
8fc2106d6Sragge  * by Jason R. Thorpe.
9fc2106d6Sragge  *
10fc2106d6Sragge  * Redistribution and use in source and binary forms, with or without
11fc2106d6Sragge  * modification, are permitted provided that the following conditions
12fc2106d6Sragge  * are met:
13fc2106d6Sragge  * 1. Redistributions of source code must retain the above copyright
14fc2106d6Sragge  *    notice, this list of conditions and the following disclaimer.
15fc2106d6Sragge  * 2. Redistributions in binary form must reproduce the above copyright
16fc2106d6Sragge  *    notice, this list of conditions and the following disclaimer in the
17fc2106d6Sragge  *    documentation and/or other materials provided with the distribution.
18fc2106d6Sragge  *
19fc2106d6Sragge  * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
20fc2106d6Sragge  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
21fc2106d6Sragge  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
22fc2106d6Sragge  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
23fc2106d6Sragge  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
24fc2106d6Sragge  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
25fc2106d6Sragge  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
26fc2106d6Sragge  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
27fc2106d6Sragge  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28fc2106d6Sragge  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29fc2106d6Sragge  * POSSIBILITY OF SUCH DAMAGE.
30fc2106d6Sragge  */
31fc2106d6Sragge 
32fc2106d6Sragge #ifndef _VAX1K_EXEC_H_
33fc2106d6Sragge #define _VAX1K_EXEC_H_
34fc2106d6Sragge 
35*7bb407d6Smatt #include <sys/exec_aout.h>
36*7bb407d6Smatt 
37fc2106d6Sragge #define VAX1K_LDPGSZ		1024
38fc2106d6Sragge #define VAX1K_USRTEXT		VAX1K_LDPGSZ
39fc2106d6Sragge 
40f2af9174Sdsl int	exec_vax1k_makecmds(struct lwp *, struct exec_package *);
4114f857ffSmatt 
42fc2106d6Sragge #endif /* _VAX1K_EXEC_H_ */
43