summaryrefslogtreecommitdiff
path: root/include/common.h
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-07-24 23:38:38 +0000
committerwdenk <wdenk>2003-07-24 23:38:38 +0000
commit27b207fd0a0941b03f27e2a82c0468b1a090c745 (patch)
tree4d339d7a2a00889f09a876425ce430be57de56e9 /include/common.h
parent2535d60277cc295adf75cd5721dcecd840c69a63 (diff)
* Implement new mechanism to export U-Boot's functions to standalone
applications: instead of using (PPC-specific) system calls we now use a jump table; please see doc/README.standalone for details * Patch by Dave Westwood, 24 Jul 2003: added support for Unity OS (a proprietary OS)
Diffstat (limited to 'include/common.h')
-rw-r--r--include/common.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/common.h b/include/common.h
index 03db8d7a40c..5158f97ece3 100644
--- a/include/common.h
+++ b/include/common.h
@@ -207,6 +207,9 @@ void pciinfo (int, int);
int misc_init_f (void);
int misc_init_r (void);
+/* common/exports.c */
+void jumptable_init(void);
+
/* $(BOARD)/$(BOARD).c */
void reset_phy (void);
void fdc_hw_init (void);
@@ -436,8 +439,6 @@ ulong crc32 (ulong, const unsigned char *, uint);
ulong crc32_no_comp (ulong, const unsigned char *, uint);
/* common/console.c */
-extern void **syscall_tbl;
-
int console_init_f(void); /* Before relocation; uses the serial stuff */
int console_init_r(void); /* After relocation; uses the console stuff */
int console_assign (int file, char *devname); /* Assign the console */