X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/3903760236c30e3b5ace7a4eefac3a269d68957c..d26ffc64f583ab2d29df48f13518685602bc8832:/bsd/dev/i386/sysctl.c diff --git a/bsd/dev/i386/sysctl.c b/bsd/dev/i386/sysctl.c index f80926b6d..274e807c5 100644 --- a/bsd/dev/i386/sysctl.c +++ b/bsd/dev/i386/sysctl.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003-2011 Apple Inc. All rights reserved. + * Copyright (c) 2003-2018 Apple Inc. All rights reserved. * * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ * @@ -812,6 +812,13 @@ SYSCTL_UINT(_machdep_tsc_nanotime, OID_AUTO, generation, SYSCTL_NODE(_machdep, OID_AUTO, misc, CTLFLAG_RW|CTLFLAG_LOCKED, 0, "Miscellaneous x86 kernel parameters"); +#if (DEVELOPMENT || DEBUG) +extern uint32_t mp_interrupt_watchdog_events; +SYSCTL_UINT(_machdep_misc, OID_AUTO, interrupt_watchdog_events, + CTLFLAG_RW|CTLFLAG_LOCKED, &mp_interrupt_watchdog_events, 0, ""); +#endif + + SYSCTL_PROC(_machdep_misc, OID_AUTO, panic_restart_timeout, CTLTYPE_INT | CTLFLAG_RW | CTLFLAG_LOCKED, 0, 0, @@ -839,6 +846,9 @@ SYSCTL_QUAD(_machdep, OID_AUTO, reportphyreadabs, SYSCTL_INT(_machdep, OID_AUTO, reportphyreadosbt, CTLFLAG_KERN | CTLFLAG_RW | CTLFLAG_LOCKED, &reportphyreadosbt, 0, ""); +SYSCTL_INT(_machdep, OID_AUTO, phyreaddelaypanic, + CTLFLAG_KERN | CTLFLAG_RW | CTLFLAG_LOCKED, + &phyreadpanic, 0, ""); extern int pmap_pagezero_mitigation; extern int pmap_asserts_enabled, pmap_asserts_traced; @@ -960,4 +970,10 @@ extern int plctrace_enabled; SYSCTL_INT(_machdep, OID_AUTO, pltrace, CTLFLAG_KERN | CTLFLAG_RW | CTLFLAG_LOCKED, &plctrace_enabled, 0, ""); + +extern int fpsimd_fault_popc; +SYSCTL_INT(_machdep, OID_AUTO, fpsimd_fault_popc, + CTLFLAG_KERN | CTLFLAG_RW | CTLFLAG_LOCKED, + &fpsimd_fault_popc, 0, ""); + #endif /* DEVELOPMENT || DEBUG */