libpayload:  Add a timeout function for getchar and getch

Implement a timeout option for getchar() to return after so many
milliseconds.  Also implement the same thing for curses using
the halfdelay() function.

Signed-off-by: Jordan Crouse <jordan.crouse@amd.com>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3223 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
4 files changed
tree: d8777af35f8dc2300aa953b0e463aa667a0a8394
  1. documentation/
  2. payloads/
  3. src/
  4. targets/
  5. util/
  6. COPYING
  7. NEWS
  8. README