subr_ntoskrnl.c (144888) | subr_ntoskrnl.c (145485) |
---|---|
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 144888 2005-04-11 02:02:35Z wpaul $"); | 34__FBSDID("$FreeBSD: head/sys/compat/ndis/subr_ntoskrnl.c 145485 2005-04-24 20:21:22Z wpaul $"); |
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> --- 20 unchanged lines hidden (view full) --- 63#include <sys/rman.h> 64 65#include <vm/vm.h> 66#include <vm/vm_param.h> 67#include <vm/pmap.h> 68#include <vm/uma.h> 69 70#include <compat/ndis/pe_var.h> | 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> --- 20 unchanged lines hidden (view full) --- 63#include <sys/rman.h> 64 65#include <vm/vm.h> 66#include <vm/vm_param.h> 67#include <vm/pmap.h> 68#include <vm/uma.h> 69 70#include <compat/ndis/pe_var.h> |
71#include <compat/ndis/cfg_var.h> 72#include <compat/ndis/resource_var.h> |
|
71#include <compat/ndis/ntoskrnl_var.h> 72#include <compat/ndis/hal_var.h> | 73#include <compat/ndis/ntoskrnl_var.h> 74#include <compat/ndis/hal_var.h> |
73#include <compat/ndis/resource_var.h> | |
74#include <compat/ndis/ndis_var.h> 75 | 75#include <compat/ndis/ndis_var.h> 76 |
76#define __regparm __attribute__((regparm(3))) 77 | |
78static uint8_t RtlEqualUnicodeString(ndis_unicode_string *, 79 ndis_unicode_string *, uint8_t); 80static void RtlCopyUnicodeString(ndis_unicode_string *, 81 ndis_unicode_string *); 82static ndis_status RtlUnicodeStringToAnsiString(ndis_ansi_string *, 83 ndis_unicode_string *, uint8_t); 84static ndis_status RtlAnsiStringToUnicodeString(ndis_unicode_string *, 85 ndis_ansi_string *, uint8_t); --- 2740 unchanged lines hidden --- | 77static uint8_t RtlEqualUnicodeString(ndis_unicode_string *, 78 ndis_unicode_string *, uint8_t); 79static void RtlCopyUnicodeString(ndis_unicode_string *, 80 ndis_unicode_string *); 81static ndis_status RtlUnicodeStringToAnsiString(ndis_ansi_string *, 82 ndis_unicode_string *, uint8_t); 83static ndis_status RtlAnsiStringToUnicodeString(ndis_unicode_string *, 84 ndis_ansi_string *, uint8_t); --- 2740 unchanged lines hidden --- |