ia32_exception.S (14b841d4a8e6c25d964f5e3bbda379a1541a27ec) | ia32_exception.S (aa3ea612be3659881392251e91912682b038ce78) |
---|---|
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 --- 59 unchanged lines hidden (view full) --- 68 movq %r12,TF_R12(%rsp) 69 movq %r13,TF_R13(%rsp) 70 movq %r14,TF_R14(%rsp) 71 movq %r15,TF_R15(%rsp) 72 movl $TF_HASSEGS,TF_FLAGS(%rsp) 73 pushfq 74 andq $~(PSL_D | PSL_AC),(%rsp) 75 popfq | 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 --- 59 unchanged lines hidden (view full) --- 68 movq %r12,TF_R12(%rsp) 69 movq %r13,TF_R13(%rsp) 70 movq %r14,TF_R14(%rsp) 71 movq %r15,TF_R15(%rsp) 72 movl $TF_HASSEGS,TF_FLAGS(%rsp) 73 pushfq 74 andq $~(PSL_D | PSL_AC),(%rsp) 75 popfq |
76 FAKE_MCOUNT(TF_RIP(%rsp)) | |
77 movq %rsp, %rdi 78 call ia32_syscall | 76 movq %rsp, %rdi 77 call ia32_syscall |
79 MEXITCOUNT | |
80 jmp doreti | 78 jmp doreti |