aboutsummaryrefslogtreecommitdiff
path: root/include/syscall.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/syscall.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/syscall.h')
-rw-r--r--include/syscall.h42
1 files changed, 0 insertions, 42 deletions
diff --git a/include/syscall.h b/include/syscall.h
deleted file mode 100644
index 9b9be0dd5..000000000
--- a/include/syscall.h
+++ /dev/null
@@ -1,42 +0,0 @@
-#ifndef __MON_SYS_CALL_H__
-#define __MON_SYS_CALL_H__
-
-#ifndef __ASSEMBLY__
-
-#include <common.h>
-
-/* These are declarations of system calls available in C code */
-int mon_getc(void);
-int mon_tstc(void);
-void mon_putc(const char);
-void mon_puts(const char*);
-void mon_printf(const char* fmt, ...);
-void mon_install_hdlr(int, interrupt_handler_t*, void*);
-void mon_free_hdlr(int);
-void *mon_malloc(size_t);
-void mon_free(void*);
-void mon_udelay(unsigned long);
-unsigned long mon_get_timer(unsigned long);
-
-#endif /* ifndef __ASSEMBLY__ */
-
-#define NR_SYSCALLS 11 /* number of syscalls */
-
-
-/*
- * Make sure these functions are in the same order as they
- * appear in the "examples/syscall.S" file !!!
- */
-#define SYSCALL_GETC 0
-#define SYSCALL_TSTC 1
-#define SYSCALL_PUTC 2
-#define SYSCALL_PUTS 3
-#define SYSCALL_PRINTF 4
-#define SYSCALL_INSTALL_HDLR 5
-#define SYSCALL_FREE_HDLR 6
-#define SYSCALL_MALLOC 7
-#define SYSCALL_FREE 8
-#define SYSCALL_UDELAY 9
-#define SYSCALL_GET_TIMER 10
-
-#endif