| To: | kdb@xxxxxxxxxxx |
|---|---|
| Subject: | get_kbd_char question |
| From: | "Khoi Nguyen" <kmnguyen@xxxxxxxxxxxxxxxxxx> |
| Date: | Mon, 16 Apr 2001 16:48:08 -0400 |
| Organization: | Nortel Networks |
| Sender: | owner-kdb@xxxxxxxxxxx |
Hi I am porting KDB to PowerPC, and I have a problem with get_kbd_char function. In i386, inb(KBD_STATUS_REG) and inb(KBD_DATA_REG) are used to read a keyboard status and the scancode, which is the value returned by the keyboard. KBD_STATUS_REG and KBD_DATA_REG are defined in /include/linux/pc_keyb.h as 0x64 and 0x60, respectively. I tried to use these in PowerPC and it caused a trap. Do you know what I should use in PowerPC to get the keyboard status and the scan code? Thank you very much Khoi Nguyen |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | ||-> Make Extra Money ||| Work at Home <-||., inews4 |
|---|---|
| Next by Date: | kdb-v1.7-2.4.0 - problem, Nava Navaruparajah |
| Previous by Thread: | ||-> Make Extra Money ||| Work at Home <-||., inews4 |
| Next by Thread: | kdb-v1.7-2.4.0 - problem, Nava Navaruparajah |
| Indexes: | [Date] [Thread] [Top] [All Lists] |