From a0764e212fd2a589f19c317393f67e1c5cdfa08d Mon Sep 17 00:00:00 2001 From: hpa Date: Tue, 9 Aug 2005 02:50:29 +0000 Subject: [PATCH] Out-of-line versions of intcall and farcall --- com32/lib/sys/farcall.c | 11 +++++++++++ com32/lib/sys/intcall.c | 10 ++++++++++ 2 files changed, 21 insertions(+) create mode 100644 com32/lib/sys/farcall.c create mode 100644 com32/lib/sys/intcall.c diff --git a/com32/lib/sys/farcall.c b/com32/lib/sys/farcall.c new file mode 100644 index 0000000..975c00e --- /dev/null +++ b/com32/lib/sys/farcall.c @@ -0,0 +1,11 @@ +/* + * farcall.c + */ + +#include + +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 0000000..48ff148 --- /dev/null +++ b/com32/lib/sys/intcall.c @@ -0,0 +1,10 @@ +/* + * intcall.c + */ + +#include + +void __intcall(uint8_t __i, const com32sys_t *__sr, com32sys_t *__dr) +{ + __com32.cs_intcall(__i, __sr, __dr); +} -- 2.7.4