Add handler for console kernel.

Signed-off-by: crynobone <crynobone@gmail.com>