Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\debug\kdb\kdb_keyboard.c Create Date:2022-07-28 11:44:43
Last Modify:2020-03-17 19:12:05 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Best effort cleanup of ENTER break codes on leaving KDB. Called on* exiting KDB, when we know we processed an ENTER or KP ENTER scan* code.

Proto:void kdb_kbd_cleanup_state(void)

Type:void

Parameter:Nothing

208  If Not kbd_last_ret Then Return
211  kbd_last_ret = 0
226  When 1 cycle
227  When (inb(Status register (R) ) & Keyboard output buffer full ) == 0 cycle
228  cpu_relax()
233  scancode = inb(Keyboard data register (R/W) )
234  scanstatus = inb(Status register (R) )
239  If scanstatus & Mouse output buffer full Then Continue
258  If scancode != 0x9c Then Continue
261  Return
Caller
NameDescribe
kdb_main_loopkdb_main_loop - After initial setup and assignment of the* controlling cpu, all cpus are in this loop