Changeset View
Changeset View
Standalone View
Standalone View
head/sys/amd64/ia32/ia32_exception.S
Show All 22 Lines | |||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||
* SUCH DAMAGE. | * SUCH DAMAGE. | ||||
* | * | ||||
* $FreeBSD$ | * $FreeBSD$ | ||||
*/ | */ | ||||
#include <machine/asmacros.h> | #include <machine/asmacros.h> | ||||
#include "assym.s" | #include "assym.inc" | ||||
.text | .text | ||||
/* | /* | ||||
* Call gate entry for FreeBSD ELF and Linux/NetBSD syscall (int 0x80) | * Call gate entry for FreeBSD ELF and Linux/NetBSD syscall (int 0x80) | ||||
* | * | ||||
* This is a SDT_SYSIDT entry point (unlike the i386 port) so that we | * This is a SDT_SYSIDT entry point (unlike the i386 port) so that we | ||||
* can do a swapgs before enabling interrupts. This is critical because | * can do a swapgs before enabling interrupts. This is critical because | ||||
* if we took an interrupt before swapgs, the interrupt code would see | * if we took an interrupt before swapgs, the interrupt code would see | ||||
Show All 39 Lines |