aboutsummaryrefslogtreecommitdiffstats
path: root/com32/lib/sys/farcall.c
diff options
context:
space:
mode:
authorhpa <hpa>2005-08-09 02:50:29 +0000
committerhpa <hpa>2005-08-09 02:50:29 +0000
commita0764e212fd2a589f19c317393f67e1c5cdfa08d (patch)
treef1c9ef02a9244e0adf4338087d2b974aa19f935d /com32/lib/sys/farcall.c
parent65d8125e084eda0d29b6ea4a1f20a5a91c51a5e5 (diff)
downloadsyslinux-a0764e212fd2a589f19c317393f67e1c5cdfa08d.tar.gz
syslinux-a0764e212fd2a589f19c317393f67e1c5cdfa08d.tar.xz
syslinux-a0764e212fd2a589f19c317393f67e1c5cdfa08d.zip
Out-of-line versions of intcall and farcall
Diffstat (limited to 'com32/lib/sys/farcall.c')
-rw-r--r--com32/lib/sys/farcall.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/com32/lib/sys/farcall.c b/com32/lib/sys/farcall.c
new file mode 100644
index 00000000..975c00e7
--- /dev/null
+++ b/com32/lib/sys/farcall.c
@@ -0,0 +1,11 @@
+/*
+ * farcall.c
+ */
+
+#include <com32.h>
+
+void __farcall(uint16_t __es, uint16_t __eo,
+ const com32sys_t *__sr, com32sys_t *__dr)
+{
+ __com32.cs_farcall((__es << 16) + __eo, __sr, __dr);
+}