Deleted Added
full compact
winx32_wrap.S (159548) winx32_wrap.S (187948)
1/*-
2 * Copyright (c) 2005
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

--- 15 unchanged lines hidden (view full) ---

24 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
25 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
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 *
1/*-
2 * Copyright (c) 2005
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

--- 15 unchanged lines hidden (view full) ---

24 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
25 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
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 * $FreeBSD: head/sys/compat/ndis/winx32_wrap.S 159548 2006-06-12 20:35:59Z jhb $
32 * $FreeBSD: head/sys/compat/ndis/winx32_wrap.S 187948 2009-01-31 11:37:21Z obrien $
33 */
34
35/* The 'ret' macro doesn't work in this file if GPROF is enabled. */
36#ifdef GPROF
37#undef GPROF
38#endif
39
40#include <machine/asmacros.h>

--- 323 unchanged lines hidden (view full) ---

364 xor %eax,%eax
365 ret
366
367ENTRY(x86_getfs)
368 mov %fs,%ax
369 ret
370
371ENTRY(x86_setfs)
33 */
34
35/* The 'ret' macro doesn't work in this file if GPROF is enabled. */
36#ifdef GPROF
37#undef GPROF
38#endif
39
40#include <machine/asmacros.h>

--- 323 unchanged lines hidden (view full) ---

364 xor %eax,%eax
365 ret
366
367ENTRY(x86_getfs)
368 mov %fs,%ax
369 ret
370
371ENTRY(x86_setfs)
372 movl 4(%esp),%fs
372 mov 4(%esp),%fs
373 ret
374
375ENTRY(x86_gettid)
376 mov %fs:12,%eax
377 ret
378
379ENTRY(x86_critical_enter)
380 cli
381 ret
382
383ENTRY(x86_critical_exit)
384 sti
385 ret
373 ret
374
375ENTRY(x86_gettid)
376 mov %fs:12,%eax
377 ret
378
379ENTRY(x86_critical_enter)
380 cli
381 ret
382
383ENTRY(x86_critical_exit)
384 sti
385 ret