函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\debug\kdb\kdb_keyboard.c Create Date:2022-07-27 12:49:14
Last Modify:2020-03-17 19:12:05 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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.

函数原型:void kdb_kbd_cleanup_state(void)

返回类型:void

参数:

208  如果非kbd_last_ret则返回
211  kbd_last_ret等于0
226  当1循环
227 从端口输入字节按位与Keyboard output buffer full 的值恒等于0循环
228  cpu_relax()
233  scancode等于从端口输入字节
234  scanstatus等于从端口输入字节
239  如果scanstatus按位与Mouse output buffer full 则继续下一循环
258  如果scancode不等于0x9c则继续下一循环
261  返回
调用者
名称描述
kdb_main_loopkdb_main_loop - After initial setup and assignment of the* controlling cpu, all cpus are in this loop