xref: /freebsd/sys/sys/_uexterror.h (revision 765150dd4d05425f599c5ec0543071d77f399ea5)
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__UEXTERROR_H_
12 #define	_SYS__UEXTERROR_H_
13 
14 #include <sys/_types.h>
15 
16 struct uexterror {
17 	__uint32_t ver;
18 	__uint32_t error;
19 	__uint32_t cat;
20 	__uint32_t src_line;
21 	__uint32_t flags;
22 	__uint32_t rsrv0;
23 	__uint64_t p1;
24 	__uint64_t p2;
25 	__uint64_t rsrv1[4];
26 	char msg[128];
27 };
28 
29 #endif
30