summaryrefslogtreecommitdiff
path: root/payloads/libpayload/include
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2010-03-25 18:52:24 +0000
committerStefan Reinauer <stepan@openbios.org>2010-03-25 18:52:24 +0000
commit1beabe10cded46a7b21b6ab163f95b1e19172492 (patch)
tree835b4ae74df58cba2f250d9012a051fdc73b9b35 /payloads/libpayload/include
parentc2d0b62cc1af8ba3f2ae63ee64c18c1234c6c89e (diff)
make keyboard reset driver generic (not pc keyboard driver dependent)
so it can be used by usb, too Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Patrick Georgi <patrick.georgi@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5291 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'payloads/libpayload/include')
-rw-r--r--payloads/libpayload/include/libpayload.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/payloads/libpayload/include/libpayload.h b/payloads/libpayload/include/libpayload.h
index 6d48279628..4e96c6690a 100644
--- a/payloads/libpayload/include/libpayload.h
+++ b/payloads/libpayload/include/libpayload.h
@@ -125,6 +125,9 @@ int usbhid_getchar(void);
* @{ @}
*/
+extern void (*reset_handler)(void);
+int add_reset_handler(void (*new_handler)(void));
+
/**
* @defgroup keyboard Keyboard functions
* @ingroup input
@@ -135,7 +138,6 @@ int keyboard_havechar(void);
unsigned char keyboard_get_scancode(void);
int keyboard_getchar(void);
int keyboard_set_layout(char *country);
-int keyboard_add_reset_handler(void (*new_handler)(void));
/** @} */
/**