kern_thread.c (be860eae0f4dcb4f3593d79ebe736aa308cb929a) kern_thread.c (6f1fe3305a2be0a1395569b2ea5f56a93e491ae0)
1/*-
2 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
3 *
4 * Copyright (C) 2001 Julian Elischer <julian@freebsd.org>.
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 80 unchanged lines hidden (view full) ---

89_Static_assert(offsetof(struct proc, p_flag) == 0xb0,
90 "struct proc KBI p_flag");
91_Static_assert(offsetof(struct proc, p_pid) == 0xbc,
92 "struct proc KBI p_pid");
93_Static_assert(offsetof(struct proc, p_filemon) == 0x3d0,
94 "struct proc KBI p_filemon");
95_Static_assert(offsetof(struct proc, p_comm) == 0x3e8,
96 "struct proc KBI p_comm");
1/*-
2 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
3 *
4 * Copyright (C) 2001 Julian Elischer <julian@freebsd.org>.
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 80 unchanged lines hidden (view full) ---

89_Static_assert(offsetof(struct proc, p_flag) == 0xb0,
90 "struct proc KBI p_flag");
91_Static_assert(offsetof(struct proc, p_pid) == 0xbc,
92 "struct proc KBI p_pid");
93_Static_assert(offsetof(struct proc, p_filemon) == 0x3d0,
94 "struct proc KBI p_filemon");
95_Static_assert(offsetof(struct proc, p_comm) == 0x3e8,
96 "struct proc KBI p_comm");
97_Static_assert(offsetof(struct proc, p_emuldata) == 0x4c0,
97_Static_assert(offsetof(struct proc, p_emuldata) == 0x4c8,
98 "struct proc KBI p_emuldata");
99#endif
100#ifdef __i386__
101_Static_assert(offsetof(struct thread, td_flags) == 0x98,
102 "struct thread KBI td_flags");
103_Static_assert(offsetof(struct thread, td_pflags) == 0xa0,
104 "struct thread KBI td_pflags");
105_Static_assert(offsetof(struct thread, td_frame) == 0x2ec,

--- 1162 unchanged lines hidden ---
98 "struct proc KBI p_emuldata");
99#endif
100#ifdef __i386__
101_Static_assert(offsetof(struct thread, td_flags) == 0x98,
102 "struct thread KBI td_flags");
103_Static_assert(offsetof(struct thread, td_pflags) == 0xa0,
104 "struct thread KBI td_pflags");
105_Static_assert(offsetof(struct thread, td_frame) == 0x2ec,

--- 1162 unchanged lines hidden ---