summaryrefslogtreecommitdiff
path: root/com32
diff options
context:
space:
mode:
authorhpa <hpa>2002-11-18 22:22:37 +0000
committerhpa <hpa>2002-11-18 22:22:37 +0000
commitb918509b86a1d65427fe9270886c41b5d0491344 (patch)
treee76cb483ca01a5f2a719768983a0ca0195a3df62 /com32
parentf3b2b7af08efd9872c973f47410b39de63490230 (diff)
downloadsyslinux-b918509b86a1d65427fe9270886c41b5d0491344.tar.gz
Fix the COM32 sample programsyslinux-2.01-pre2
Diffstat (limited to 'com32')
-rw-r--r--com32/include/com32.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/com32/include/com32.h b/com32/include/com32.h
index 4b7266fd..a56cc698 100644
--- a/com32/include/com32.h
+++ b/com32/include/com32.h
@@ -46,11 +46,12 @@ typedef struct {
reg32_t eflags; /* Offset 40 */
} com32sys_t;
-/* The standard prototype for _start() */
-int _start(unsigned int __nargs,
- char *__cmdline,
- void (*__syscall)(uint8_t, com32sys_t *, com32sys_t *),
- void *__bounce_ptr,
- unsigned int __bounce_len);
+extern struct com32_sys_args {
+ uint32_t cs_sysargs;
+ char *cs_cmdline;
+ void (*cs_syscall)(uint8_t, com32sys_t *, com32sys_t *);
+ void *cs_bounce;
+ uint32_t cs_bounce_size;
+} __com32;
#endif /* _COM32_H */