summaryrefslogtreecommitdiffstats
path: root/sys/i386/include/asnames.h
diff options
context:
space:
mode:
authorjake <jake@FreeBSD.org>2001-02-25 02:53:06 +0000
committerjake <jake@FreeBSD.org>2001-02-25 02:53:06 +0000
commitd273bd6e2b565568d135ca38e4b6fea27eecb962 (patch)
tree40f7afd8b7a0587a682b2250d5cb68cb1928e709 /sys/i386/include/asnames.h
parente81db3401fe6b9953c536a47ef9656d24b1fc26c (diff)
downloadFreeBSD-src-d273bd6e2b565568d135ca38e4b6fea27eecb962.zip
FreeBSD-src-d273bd6e2b565568d135ca38e4b6fea27eecb962.tar.gz
- Rename the lcall system call handler from Xsyscall to Xlcall_syscall
to be more like Xint0x80_syscall and less like c function syscall(). - Reduce code duplication between the int0x80 and lcall handlers by shuffling the elfags into the right place, saving the sizeof the instruction in tf_err and jumping into the common int0x80 code. Reviewed by: peter
Diffstat (limited to 'sys/i386/include/asnames.h')
-rw-r--r--sys/i386/include/asnames.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/i386/include/asnames.h b/sys/i386/include/asnames.h
index d5ea905..cd75f50 100644
--- a/sys/i386/include/asnames.h
+++ b/sys/i386/include/asnames.h
@@ -153,7 +153,7 @@
#define _Xrsvd Xrsvd
#define _Xspuriousint Xspuriousint
#define _Xstk Xstk
-#define _Xsyscall Xsyscall
+#define _Xlcall_syscall Xlcall_syscall
#define _Xtss Xtss
#define __default_ldt _default_ldt
#define __ucodesel _ucodesel
OpenPOWER on IntegriCloud