summaryrefslogtreecommitdiff
path: root/com32
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
parent65d8125e084eda0d29b6ea4a1f20a5a91c51a5e5 (diff)
downloadsyslinux-a0764e212fd2a589f19c317393f67e1c5cdfa08d.tar.gz
Out-of-line versions of intcall and farcall
Diffstat (limited to 'com32')
-rw-r--r--com32/lib/sys/farcall.c11
-rw-r--r--com32/lib/sys/intcall.c10
2 files changed, 21 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);
+}
diff --git a/com32/lib/sys/intcall.c b/com32/lib/sys/intcall.c
new file mode 100644
index 00000000..48ff148c
--- /dev/null
+++ b/com32/lib/sys/intcall.c
@@ -0,0 +1,10 @@
+/*
+ * intcall.c
+ */
+
+#include <com32.h>
+
+void __intcall(uint8_t __i, const com32sys_t *__sr, com32sys_t *__dr)
+{
+ __com32.cs_intcall(__i, __sr, __dr);
+}