1177957Sattilio/*
2177957Sattilio * Copyright (c) 2005 Antoine Brodin
3177957Sattilio * All rights reserved.
4177957Sattilio *
5177957Sattilio * Redistribution and use in source and binary forms, with or without
6177957Sattilio * modification, are permitted provided that the following conditions
7177957Sattilio * are met:
8177957Sattilio * 1. Redistributions of source code must retain the above copyright
9177957Sattilio *    notice, this list of conditions and the following disclaimer.
10177957Sattilio * 2. Redistributions in binary form must reproduce the above copyright
11177957Sattilio *    notice, this list of conditions and the following disclaimer in the
12177957Sattilio *    documentation and/or other materials provided with the distribution.
13177957Sattilio *
14177957Sattilio * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15177957Sattilio * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16177957Sattilio * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17177957Sattilio * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18177957Sattilio * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19177957Sattilio * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20177957Sattilio * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21177957Sattilio * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22177957Sattilio * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23177957Sattilio * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24177957Sattilio * SUCH DAMAGE.
25177957Sattilio *
26177957Sattilio * $FreeBSD$
27177957Sattilio */
28177957Sattilio
29177957Sattilio#ifndef _SYS__STACK_H_
30177957Sattilio#define	_SYS__STACK_H_
31177957Sattilio
32177957Sattilio#define	STACK_MAX	18	/* Don't change, stack_ktr relies on this. */
33177957Sattilio
34177957Sattiliostruct stack {
35177957Sattilio	int		depth;
36177957Sattilio	vm_offset_t	pcs[STACK_MAX];
37177957Sattilio};
38177957Sattilio
39177957Sattilio#endif
40