console: add new console_check_for_keystroke() function

This new function will check if a key has been pressed without waiting and
return true if it has.

Signed-off-by: James Bottomley <JBottomley@Parallels.com>
2 files changed