From 042fb0a89f7b0d8f532656300605c2c75fc9ba36 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Tue, 20 Nov 2007 21:11:35 -0800 Subject: [PATCH] Add missing thunk function for cfarcall --- com32/lib/sys/cfarcall.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 com32/lib/sys/cfarcall.c diff --git a/com32/lib/sys/cfarcall.c b/com32/lib/sys/cfarcall.c new file mode 100644 index 0000000..7c681fc --- /dev/null +++ b/com32/lib/sys/cfarcall.c @@ -0,0 +1,11 @@ +/* + * cfarcall.c + */ + +#include + +int __cfarcall(uint16_t cs, uint16_t ip, + const void *stack, uint32_t stack_size) +{ + return __com32.cs_cfarcall((cs << 16)+ip, stack, stack_size); +} -- 2.7.4