Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LemonOSProject/LemonOS
/ Write
Function
Write
Kernel/src/arch/x86_64/mouse.cpp:93–100 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
91
}
92
93
inline void Write(uint8_t data)
94
{
95
Wait(1);
96
outportb(0x64, 0xD4);
97
Wait(1);
98
//Send data
99
outportb(0x60, data);
100
}
101
102
uint8_t Read()
103
{
Callers
1
Install
Function · 0.70
Calls
2
outportb
Function · 0.85
Wait
Function · 0.70
Tested by
no test coverage detected