kern_module.c (205014) | kern_module.c (209390) |
---|---|
1/*- 2 * Copyright (c) 1997 Doug Rabson 3 * 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 --- 13 unchanged lines hidden (view full) --- 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 */ 26 27#include "opt_compat.h" 28 29#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 1997 Doug Rabson 3 * 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 --- 13 unchanged lines hidden (view full) --- 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 */ 26 27#include "opt_compat.h" 28 29#include <sys/cdefs.h> |
30__FBSDID("$FreeBSD: head/sys/kern/kern_module.c 205014 2010-03-11 14:49:06Z nwhitehorn $"); | 30__FBSDID("$FreeBSD: head/sys/kern/kern_module.c 209390 2010-06-21 09:55:56Z ed $"); |
31 32#include <sys/param.h> 33#include <sys/kernel.h> 34#include <sys/systm.h> 35#include <sys/eventhandler.h> 36#include <sys/malloc.h> 37#include <sys/sysproto.h> 38#include <sys/sysent.h> --- 411 unchanged lines hidden (view full) --- 450#include <sys/mount.h> 451#include <sys/socket.h> 452#include <compat/freebsd32/freebsd32_util.h> 453#include <compat/freebsd32/freebsd32.h> 454#include <compat/freebsd32/freebsd32_proto.h> 455 456typedef union modspecific32 { 457 int intval; | 31 32#include <sys/param.h> 33#include <sys/kernel.h> 34#include <sys/systm.h> 35#include <sys/eventhandler.h> 36#include <sys/malloc.h> 37#include <sys/sysproto.h> 38#include <sys/sysent.h> --- 411 unchanged lines hidden (view full) --- 450#include <sys/mount.h> 451#include <sys/socket.h> 452#include <compat/freebsd32/freebsd32_util.h> 453#include <compat/freebsd32/freebsd32.h> 454#include <compat/freebsd32/freebsd32_proto.h> 455 456typedef union modspecific32 { 457 int intval; |
458 u_int32_t uintval; | 458 uint32_t uintval; |
459 int longval; | 459 int longval; |
460 u_int32_t ulongval; | 460 uint32_t ulongval; |
461} modspecific32_t; 462 463struct module_stat32 { 464 int version; 465 char name[MAXMODNAME]; 466 int refs; 467 int id; 468 modspecific32_t data; --- 56 unchanged lines hidden --- | 461} modspecific32_t; 462 463struct module_stat32 { 464 int version; 465 char name[MAXMODNAME]; 466 int refs; 467 int id; 468 modspecific32_t data; --- 56 unchanged lines hidden --- |