From 27b207fd0a0941b03f27e2a82c0468b1a090c745 Mon Sep 17 00:00:00 2001 From: wdenk Date: Thu, 24 Jul 2003 23:38:38 +0000 Subject: * 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) --- include/common.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include/common.h') diff --git a/include/common.h b/include/common.h index 03db8d7..5158f97 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 */ -- cgit v1.1