memdev.c (132956) | memdev.c (133036) |
---|---|
1/*- 2 * Copyright (c) 2004 Mark R V Murray 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 --- 12 unchanged lines hidden (view full) --- 21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 * 26 */ 27 28#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2004 Mark R V Murray 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 --- 12 unchanged lines hidden (view full) --- 21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 * 26 */ 27 28#include <sys/cdefs.h> |
29__FBSDID("$FreeBSD: head/sys/dev/mem/memdev.c 132956 2004-08-01 11:40:54Z markm $"); | 29__FBSDID("$FreeBSD: head/sys/dev/mem/memdev.c 133036 2004-08-02 20:42:28Z markm $"); |
30 31#include <sys/param.h> 32#include <sys/conf.h> 33#include <sys/fcntl.h> 34#include <sys/kernel.h> 35#include <sys/lock.h> 36#include <sys/malloc.h> 37#include <sys/memrange.h> --- 63 unchanged lines hidden (view full) --- 101 break; 102 103 } 104 105 return (0); 106} 107 108DEV_MODULE(mem, mem_modevent, NULL); | 30 31#include <sys/param.h> 32#include <sys/conf.h> 33#include <sys/fcntl.h> 34#include <sys/kernel.h> 35#include <sys/lock.h> 36#include <sys/malloc.h> 37#include <sys/memrange.h> --- 63 unchanged lines hidden (view full) --- 101 break; 102 103 } 104 105 return (0); 106} 107 108DEV_MODULE(mem, mem_modevent, NULL); |
109MODULE_VERSION(mem, 1); |
|