summaryrefslogtreecommitdiff
path: root/core/include
diff options
context:
space:
mode:
authorLiu Aleaxander <Aleaxander@gmail.com>2009-06-03 07:18:15 +0800
committerLiu Aleaxander <Aleaxander@gmail.com>2009-06-03 07:18:15 +0800
commit1d7733675c3c265ba00094647d4910b0f5d8748d (patch)
treeef3c6cc52e5ae66fbdbbdc64970670ba58a886f0 /core/include
parentd0ce3937b75d491777e2c1f57ba0eaa20176b9f3 (diff)
parentd19a7c6a6989f19c4f82212a9a7b654bdf289739 (diff)
downloadsyslinux-1d7733675c3c265ba00094647d4910b0f5d8748d.tar.gz
Merge branch 'core32' of git://git.zytor.com/syslinux/syslinux into core32
Conflicts: core/hello.c core/include/core.h core/layout.inc
Diffstat (limited to 'core/include')
-rw-r--r--core/include/core.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/include/core.h b/core/include/core.h
index 620459ea..bd04feb0 100644
--- a/core/include/core.h
+++ b/core/include/core.h
@@ -1,20 +1,26 @@
#ifndef CORE_H
#define CORE_H
+#include <klibc/compiler.h>
#include <com32.h>
extern char core_xfer_buf[65536];
extern char core_cache_buf[65536];
+/* diskstart.inc */
extern void getlinsec(void);
+/* hello.c */
extern void myputs(const char*);
extern void itoa(char *, int);
+
void __cdecl core_intcall(uint8_t, const com32sys_t *, com32sys_t *);
void __cdecl core_farcall(uint32_t, const com32sys_t *, com32sys_t *);
int __cdecl core_cfarcall(uint32_t, const void *, uint32_t);
void call16(void (*)(void), const com32sys_t *, com32sys_t *);
+#define __lowmem __attribute((nocommon,section(".lowmem")))
+
#endif /* CORE_H */