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
