aboutsummaryrefslogtreecommitdiffstats
path: root/com32/lib
diff options
context:
space:
mode:
Diffstat (limited to 'com32/lib')
-rw-r--r--com32/lib/sys/farcall.c6
-rw-r--r--com32/lib/sys/intcall.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/com32/lib/sys/farcall.c b/com32/lib/sys/farcall.c
index 975c00e7..75288d4b 100644
--- a/com32/lib/sys/farcall.c
+++ b/com32/lib/sys/farcall.c
@@ -4,8 +4,8 @@
#include <com32.h>
-void __farcall(uint16_t __es, uint16_t __eo,
- const com32sys_t *__sr, com32sys_t *__dr)
+void __farcall(uint16_t cs, uint16_t ip,
+ const com32sys_t *ireg, com32sys_t *oreg)
{
- __com32.cs_farcall((__es << 16) + __eo, __sr, __dr);
+ __com32.cs_farcall((cs << 16)+ip, ireg, oreg);
}
diff --git a/com32/lib/sys/intcall.c b/com32/lib/sys/intcall.c
index 48ff148c..e32fb8a0 100644
--- a/com32/lib/sys/intcall.c
+++ b/com32/lib/sys/intcall.c
@@ -4,7 +4,7 @@
#include <com32.h>
-void __intcall(uint8_t __i, const com32sys_t *__sr, com32sys_t *__dr)
+void __intcall(uint8_t vector, const com32sys_t *ireg, com32sys_t *oreg)
{
- __com32.cs_intcall(__i, __sr, __dr);
+ __com32.cs_intcall(vector, ireg, oreg);
}