Out-of-line versions of intcall and farcall
authorhpa <hpa>
Tue, 9 Aug 2005 02:50:29 +0000 (02:50 +0000)
committerhpa <hpa>
Tue, 9 Aug 2005 02:50:29 +0000 (02:50 +0000)
com32/lib/sys/farcall.c [new file with mode: 0644]
com32/lib/sys/intcall.c [new file with mode: 0644]

diff --git a/com32/lib/sys/farcall.c b/com32/lib/sys/farcall.c
new file mode 100644 (file)
index 0000000..975c00e
--- /dev/null
@@ -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 (file)
index 0000000..48ff148
--- /dev/null
@@ -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);
+}