summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2012-03-06 09:39:59 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2012-03-06 09:39:59 +0100
commitbeb36c510bd6abf80a20148bf165a990c69fed8a (patch)
tree95e7a242ee9c264bc35f2aedddacae74e93d7ad9 /include
parente0d674735b26c279d4cb6c73c140f1e0866a7953 (diff)
parent276252a5598a9596970cc02f186c3847b932dcc1 (diff)
downloadbarebox-beb36c510bd6abf80a20148bf165a990c69fed8a.tar.gz
barebox-beb36c510bd6abf80a20148bf165a990c69fed8a.tar.xz
Merge branch 'work/thumb2' into next
Diffstat (limited to 'include')
-rw-r--r--include/common.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h
index d22787542e..d2347f8629 100644
--- a/include/common.h
+++ b/include/common.h
@@ -146,6 +146,12 @@ unsigned long strtoul_suffix(const char *str, char **endp, int base);
void start_barebox(void);
void shutdown_barebox(void);
+/*
+ * architectures which have special calling conventions for
+ * executing programs should set this. Used by the 'go' command
+ */
+extern void (*do_execute)(void *func, int argc, char *argv[]);
+
void arch_shutdown(void);
int run_shell(void);