Function report |
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 activity | Download SCCT | Chinese |
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 |
| Name | Describe |
|---|---|
| kdb_main_loop | kdb_main_loop - After initial setup and assignment of the* controlling cpu, all cpus are in this loop |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |