URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 684 |
Rev 691 |
Line 231... |
Line 231... |
register_memoryarea(config.kbd.baseaddr, KBD_SPACE, 1, kbd_read8, kbd_write8);
|
register_memoryarea(config.kbd.baseaddr, KBD_SPACE, 1, kbd_read8, kbd_write8);
|
|
|
if (!(kbd_rxfs = fopen(config.kbd.rxfile, "r"))
|
if (!(kbd_rxfs = fopen(config.kbd.rxfile, "r"))
|
&& !(kbd_rxfs = fopen(config.kbd.rxfile, "r+"))) {
|
&& !(kbd_rxfs = fopen(config.kbd.rxfile, "r+"))) {
|
fprintf (stderr, "WARNING: Keyboard has problems with RX file stream.\n");
|
fprintf (stderr, "WARNING: Keyboard has problems with RX file stream.\n");
|
|
config.kbd.enabled = 0;
|
}
|
}
|
}
|
}
|
}
|
}
|
|
|
|
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.