Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RT-Thread/rt-thread
/ kb_wait
Function
kb_wait
bsp/x86/drivers/keyboard.c:277–284 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
275
}
276
277
PRIVATE void kb_wait() /* wait inpit cache of 8042 */
278
{
279
t_8 kb_stat;
280
281
do {
282
kb_stat = inb(KB_CMD);
283
} while (kb_stat & 0x02);
284
}
285
286
PRIVATE void kb_ack()
287
{
Callers
1
set_leds
Function · 0.85
Calls
1
inb
Function · 0.85
Tested by
no test coverage detected