1/*
2 * Copyright 2009 Jonas Sundstr��m, jonas@kirilla.com
3 * All rights reserved. Distributed under the terms of the MIT License.
4 */
5#ifndef _SYSTEM_BOOT_PLATFORM_ROUTERBOARD_MIPSEL_KEYBOARD_H
6#define _SYSTEM_BOOT_PLATFORM_ROUTERBOARD_MIPSEL_KEYBOARD_H
7
8
9#include <SupportDefs.h>
10
11
12union key {
13	uint16 ax;
14	struct {
15		uint8 ascii;
16		uint8 bios;
17	} code;
18};
19
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
25extern void clear_key_buffer(void);
26extern union key wait_for_key(void);
27extern uint32 check_for_boot_keys(void);
28
29#ifdef __cplusplus
30}
31#endif
32
33#endif /* _SYSTEM_BOOT_PLATFORM_ROUTERBOARD_MIPSEL_KEYBOARD_H */
34
35