subr_ntoskrnl.c (216242) | subr_ntoskrnl.c (217566) |
---|---|
1/*- 2 * Copyright (c) 2003 3 * Bill Paul <wpaul@windriver.com>. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 17 unchanged lines hidden (view full) --- 26 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 27 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 28 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 30 * THE POSSIBILITY OF SUCH DAMAGE. 31 */ 32 33#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2003 3 * Bill Paul <wpaul@windriver.com>. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 17 unchanged lines hidden (view full) --- 26 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 27 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 28 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 30 * THE POSSIBILITY OF SUCH DAMAGE. 31 */ 32 33#include <sys/cdefs.h> |
34__FBSDID("$FreeBSD: head/sys/compat/ndis/subr_ntoskrnl.c 216242 2010-12-06 20:54:53Z bschmidt $"); | 34__FBSDID("$FreeBSD: head/sys/compat/ndis/subr_ntoskrnl.c 217566 2011-01-19 00:57:58Z mdf $"); |
35 36#include <sys/ctype.h> 37#include <sys/unistd.h> 38#include <sys/param.h> 39#include <sys/types.h> 40#include <sys/errno.h> 41#include <sys/systm.h> 42#include <sys/malloc.h> --- 32 unchanged lines hidden (view full) --- 75#include <compat/ndis/resource_var.h> 76#include <compat/ndis/ntoskrnl_var.h> 77#include <compat/ndis/hal_var.h> 78#include <compat/ndis/ndis_var.h> 79 80#ifdef NTOSKRNL_DEBUG_TIMERS 81static int sysctl_show_timers(SYSCTL_HANDLER_ARGS); 82 | 35 36#include <sys/ctype.h> 37#include <sys/unistd.h> 38#include <sys/param.h> 39#include <sys/types.h> 40#include <sys/errno.h> 41#include <sys/systm.h> 42#include <sys/malloc.h> --- 32 unchanged lines hidden (view full) --- 75#include <compat/ndis/resource_var.h> 76#include <compat/ndis/ntoskrnl_var.h> 77#include <compat/ndis/hal_var.h> 78#include <compat/ndis/ndis_var.h> 79 80#ifdef NTOSKRNL_DEBUG_TIMERS 81static int sysctl_show_timers(SYSCTL_HANDLER_ARGS); 82 |
83SYSCTL_PROC(_debug, OID_AUTO, ntoskrnl_timers, CTLFLAG_RW, 0, 0, 84 sysctl_show_timers, "I", "Show ntoskrnl timer stats"); | 83SYSCTL_PROC(_debug, OID_AUTO, ntoskrnl_timers, CTLTYPE_INT | CTLFLAG_RW, 84 NULL, 0, sysctl_show_timers, "I", 85 "Show ntoskrnl timer stats"); |
85#endif 86 87struct kdpc_queue { 88 list_entry kq_disp; 89 struct thread *kq_td; 90 int kq_cpu; 91 int kq_exit; 92 int kq_running; --- 4366 unchanged lines hidden --- | 86#endif 87 88struct kdpc_queue { 89 list_entry kq_disp; 90 struct thread *kq_td; 91 int kq_cpu; 92 int kq_exit; 93 int kq_running; --- 4366 unchanged lines hidden --- |