projects
/
platform
/
upstream
/
syslinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bac14e6
)
Add missing thunk function for cfarcall
author
H. Peter Anvin
<hpa@zytor.com>
Wed, 21 Nov 2007 05:11:35 +0000
(21:11 -0800)
committer
H. Peter Anvin
<hpa@zytor.com>
Wed, 21 Nov 2007 05:11:35 +0000
(21:11 -0800)
com32/lib/sys/cfarcall.c
[new file with mode: 0644]
patch
|
blob
diff --git a/com32/lib/sys/cfarcall.c
b/com32/lib/sys/cfarcall.c
new file mode 100644
(file)
index 0000000..
7c681fc
--- /dev/null
+++ b/
com32/lib/sys/cfarcall.c
@@ -0,0
+1,11
@@
+/*
+ * cfarcall.c
+ */
+
+#include <com32.h>
+
+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);
+}