xref: /src/sys/compat/linuxkpi/common/include/linux/stackdepot.h (revision b1c82bd4026122e2b3dc4d18005069873da6b246)
1b1c82bd4SEmmanuel Vadot /*-
2b1c82bd4SEmmanuel Vadot  * Copyright (c) 2022 Beckhoff Automation GmbH & Co. KG
3b1c82bd4SEmmanuel Vadot  *
4b1c82bd4SEmmanuel Vadot  * Redistribution and use in source and binary forms, with or without
5b1c82bd4SEmmanuel Vadot  * modification, are permitted provided that the following conditions
6b1c82bd4SEmmanuel Vadot  * are met:
7b1c82bd4SEmmanuel Vadot  * 1. Redistributions of source code must retain the above copyright
8b1c82bd4SEmmanuel Vadot  *    notice, this list of conditions and the following disclaimer.
9b1c82bd4SEmmanuel Vadot  * 2. Redistributions in binary form must reproduce the above copyright
10b1c82bd4SEmmanuel Vadot  *    notice, this list of conditions and the following disclaimer in the
11b1c82bd4SEmmanuel Vadot  *    documentation and/or other materials provided with the distribution.
12b1c82bd4SEmmanuel Vadot  *
13b1c82bd4SEmmanuel Vadot  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
14b1c82bd4SEmmanuel Vadot  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15b1c82bd4SEmmanuel Vadot  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16b1c82bd4SEmmanuel Vadot  * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
17b1c82bd4SEmmanuel Vadot  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18b1c82bd4SEmmanuel Vadot  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19b1c82bd4SEmmanuel Vadot  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20b1c82bd4SEmmanuel Vadot  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21b1c82bd4SEmmanuel Vadot  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22b1c82bd4SEmmanuel Vadot  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23b1c82bd4SEmmanuel Vadot  * SUCH DAMAGE.
24b1c82bd4SEmmanuel Vadot  *
25b1c82bd4SEmmanuel Vadot  */
26b1c82bd4SEmmanuel Vadot 
27b1c82bd4SEmmanuel Vadot #ifndef _LINUXKPI_LINUX_STACKDEPOT_H_
28b1c82bd4SEmmanuel Vadot #define	_LINUXKPI_LINUX_STACKDEPOT_H_
29b1c82bd4SEmmanuel Vadot 
30b1c82bd4SEmmanuel Vadot typedef bool depot_stack_handle_t;
31b1c82bd4SEmmanuel Vadot 
32b1c82bd4SEmmanuel Vadot #endif	/* _LINUXKPI_LINUX_STACKDEPOT_H_ */
33