summaryrefslogtreecommitdiff
path: root/payloads/libpayload/include/libpayload.h
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2008-08-19 17:47:18 +0000
committerStefan Reinauer <stepan@openbios.org>2008-08-19 17:47:18 +0000
commit6e51ceeb2b5eb585fcb244d50b90eb16e97b0fba (patch)
tree139779c145c2c60faa96d675053f450f2445dd3f /payloads/libpayload/include/libpayload.h
parent0e4671e30575ac0f12c482d128a146d85dd27987 (diff)
downloadcoreboot-6e51ceeb2b5eb585fcb244d50b90eb16e97b0fba.tar.xz
* add readline()
* add fatal() Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de> Acked-by: Jordan Crouse <jordan.crouse@amd.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3522 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'payloads/libpayload/include/libpayload.h')
-rw-r--r--payloads/libpayload/include/libpayload.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/payloads/libpayload/include/libpayload.h b/payloads/libpayload/include/libpayload.h
index 516bcc38ff..b7f7fe0276 100644
--- a/payloads/libpayload/include/libpayload.h
+++ b/payloads/libpayload/include/libpayload.h
@@ -298,5 +298,10 @@ void delay(unsigned int n);
/* i386/util.S */
#define abort() halt()
void halt(void) __attribute__ ((noreturn));
+void fatal(const char* msg) __attribute__ ((noreturn));
+
+/* libc/readline.c */
+char * readline(const char * prompt);
+int getline(char *buffer, int len)
#endif