mirror of
https://github.com/opnsense/src.git
synced 2026-04-23 07:07:24 -04:00
Make old syscons work. (New syscons driver for PC98 is still under
development.) Submitted by: Takahashi Yoshihiro <nyan@wyvern.cc.kogakuin.ac.jp>
This commit is contained in:
parent
1048df4463
commit
a464f91c8d
2 changed files with 3 additions and 4 deletions
|
|
@ -25,7 +25,7 @@
|
|||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id: syscons.c,v 1.104 1998/12/16 14:57:37 kato Exp $
|
||||
* $Id: syscons.c,v 1.105 1999/01/08 16:09:23 kato Exp $
|
||||
*/
|
||||
|
||||
#include "sc.h"
|
||||
|
|
@ -4203,7 +4203,7 @@ history_down_line(scr_stat *scp)
|
|||
static u_int
|
||||
scgetc(u_int flags)
|
||||
{
|
||||
struct key_t *key;
|
||||
struct keyent_t *key;
|
||||
u_char scancode, keycode;
|
||||
u_int state, action;
|
||||
int c;
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@
|
|||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id: syscons.h,v 1.25 1998/08/07 11:51:06 kato Exp $
|
||||
* $Id: syscons.h,v 1.26 1998/12/16 14:57:38 kato Exp $
|
||||
*/
|
||||
|
||||
#ifndef _PC98_PC98_SYSCONS_H_
|
||||
|
|
@ -58,7 +58,6 @@
|
|||
|
||||
/* status flags */
|
||||
#define LOCK_KEY_MASK 0x0000F
|
||||
#define LED_MASK 0x00007
|
||||
#define UNKNOWN_MODE 0x00010
|
||||
#define KBD_RAW_MODE 0x00020
|
||||
#define KBD_CODE_MODE 0x00040
|
||||
|
|
|
|||
Loading…
Reference in a new issue