aboutsummaryrefslogtreecommitdiff
path: root/common/prom.h
diff options
context:
space:
mode:
authorFlorian Lohoff <flo@rfc822.org>2008-10-04 16:08:49 +0000
committerGuido Günther <agx@sigxcpu.org>2009-04-26 15:26:26 +0200
commit88aacc5ec96304a23c4d33ac3cdc71985f099c72 (patch)
tree414c5902472e83ad988fc3db247188700b4e9f48 /common/prom.h
parentae4dcabd39938e93afa1fb095ed5421e92c10d7d (diff)
Move memory init, Fatal and Wait into prom specific
Abstract memory initialization into prom specific code. Put Fatal and Wait into prom specific code.
Diffstat (limited to 'common/prom.h')
-rw-r--r--common/prom.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/common/prom.h b/common/prom.h
index b347d36..053652c 100644
--- a/common/prom.h
+++ b/common/prom.h
@@ -1,4 +1,13 @@
+void prom_fatal(const char *message, ...);
+void prom_wait(const char *prompt);
+
+/*
+ * Gets called shortly after prom_init to intialize the malloc
+ * subsystem based on the proms information about memory layout
+ *
+ */
+void prom_init_malloc(void );
/*
* Open may be used to open "partitions" passed in by name from the prom. It is the