| 1 | /*- |
| 2 | * SPDX-License-Identifier: BSD-2-Clause |
| 3 | * |
| 4 | * Copyright (c) 2025 The FreeBSD Foundation |
| 5 | * All rights reserved. |
| 6 | * |
| 7 | * This software were developed by Konstantin Belousov <kib@FreeBSD.org> |
| 8 | * under sponsorship from the FreeBSD Foundation. |
| 9 | */ |
| 10 | |
| 11 | #ifndef _SYS__EXTERR_H_ |
| 12 | #define	_SYS__EXTERR_H_ |
| 13 | |
| 14 | #include <sys/_types.h> |
| 15 | |
| 16 | struct kexterr { |
| 17 | 	int error; |
| 18 | 	const char *msg; |
| 19 | 	__uint64_t p1; |
| 20 | 	__uint64_t p2; |
| 21 | 	unsigned cat; |
| 22 | 	unsigned src_line; |
| 23 | }; |
| 24 | |
| 25 | #endif |