URL
https://opencores.org/ocsvn/or1k_old/or1k_old/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 753 |
Rev 988 |
Line 1262... |
Line 1262... |
#define KBD_EKI (unsigned int) 0x01
|
#define KBD_EKI (unsigned int) 0x01
|
#define KBD_SYS (unsigned int) 0x04
|
#define KBD_SYS (unsigned int) 0x04
|
#define KBD_DMS (unsigned int) 0x20
|
#define KBD_DMS (unsigned int) 0x20
|
#define KBD_KCC (unsigned int) 0x40
|
#define KBD_KCC (unsigned int) 0x40
|
|
|
#define TIMEOUT_CONST 500000
|
#define TIMEOUT_CONST 5000000
|
|
|
static int kbd_wait_for_input(void)
|
static int kbd_wait_for_input(void)
|
{
|
{
|
int n;
|
int n;
|
int status, data;
|
int status, data;
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.