aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2007-04-03 15:14:00 -0700
committerH. Peter Anvin <hpa@zytor.com>2007-04-03 15:14:00 -0700
commit64126d97ecae5eaf3674a86432b82d4a6dd8adf4 (patch)
treefd4c31e5ee17d49a1da8b14255978d865185a792
parent0b3b862ff49ab1b0b5d5af8c15d58e3c4baaf634 (diff)
downloadsyslinux-3.50-pre4.tar.gz
syslinux-3.50-pre4.tar.xz
syslinux-3.50-pre4.zip
intcall, farcall: readability improvements.syslinux-3.50-pre4
-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);
}