Deleted Added
full compact
ia32_exception.S (122595) ia32_exception.S (129630)
1/*-
2 * Copyright (c) 2003 Peter Wemm
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

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

18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
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 *
1/*-
2 * Copyright (c) 2003 Peter Wemm
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

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

18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
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 * $FreeBSD: head/sys/amd64/ia32/ia32_exception.S 122595 2003-11-13 02:38:33Z peter $
26 * $FreeBSD: head/sys/amd64/ia32/ia32_exception.S 129630 2004-05-23 19:06:15Z bde $
27 */
28
29#include <machine/asmacros.h>
30
31#include "assym.s"
32
33#define IDTVEC(name) ALIGN_TEXT; .globl __CONCAT(X,name); \
34 .type __CONCAT(X,name),@function; __CONCAT(X,name):

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

58 movq %rbx,TF_RBX(%rsp)
59 movq %rbp,TF_RBP(%rsp)
60 movq %r10,TF_R10(%rsp)
61 movq %r11,TF_R11(%rsp)
62 movq %r12,TF_R12(%rsp)
63 movq %r13,TF_R13(%rsp)
64 movq %r14,TF_R14(%rsp)
65 movq %r15,TF_R15(%rsp)
27 */
28
29#include <machine/asmacros.h>
30
31#include "assym.s"
32
33#define IDTVEC(name) ALIGN_TEXT; .globl __CONCAT(X,name); \
34 .type __CONCAT(X,name),@function; __CONCAT(X,name):

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

58 movq %rbx,TF_RBX(%rsp)
59 movq %rbp,TF_RBP(%rsp)
60 movq %r10,TF_R10(%rsp)
61 movq %r11,TF_R11(%rsp)
62 movq %r12,TF_R12(%rsp)
63 movq %r13,TF_R13(%rsp)
64 movq %r14,TF_R14(%rsp)
65 movq %r15,TF_R15(%rsp)
66 FAKE_MCOUNT(TF_RIP(%rsp))
66 call ia32_syscall
67 call ia32_syscall
68 MEXITCOUNT
67 jmp doreti
69 jmp doreti