proc.h (82725ba9bf1fd59746a4006a06f24d4d61d142f2) proc.h (4e8872c8002a7c641a3f6a0809d428608e4cfbbc)
1/*-
2 * SPDX-License-Identifier: BSD-4-Clause
3 *
4 * Copyright (C) 1995, 1996 Wolfgang Solfrank.
5 * Copyright (C) 1995, 1996 TooLs GmbH.
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

41 * Machine-dependent part of the proc structure
42 */
43struct mdthread {
44 int md_spinlock_count; /* (k) */
45 register_t md_saved_msr; /* (k) */
46};
47
48struct mdproc {
1/*-
2 * SPDX-License-Identifier: BSD-4-Clause
3 *
4 * Copyright (C) 1995, 1996 Wolfgang Solfrank.
5 * Copyright (C) 1995, 1996 TooLs GmbH.
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

41 * Machine-dependent part of the proc structure
42 */
43struct mdthread {
44 int md_spinlock_count; /* (k) */
45 register_t md_saved_msr; /* (k) */
46};
47
48struct mdproc {
49 /* Avoid empty structs, that have undefined behavior in C99 and
50 * make compilers complain about it
51 * (empty struct has size 0 in C, size 1 in C++).
52 */
53 long md_spare;
49};
50
51#ifdef __powerpc64__
52#define KINFO_PROC_SIZE 1088
53#define KINFO_PROC32_SIZE 816
54#else
55#define KINFO_PROC_SIZE 816
56#endif

--- 23 unchanged lines hidden ---
54};
55
56#ifdef __powerpc64__
57#define KINFO_PROC_SIZE 1088
58#define KINFO_PROC32_SIZE 816
59#else
60#define KINFO_PROC_SIZE 816
61#endif

--- 23 unchanged lines hidden ---