mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:17:35 +00:00
Kernel+KeyboardSettings: Remove numlock syscall and implement ioctl
This commit is contained in:
parent
385e2ccb66
commit
99328e1038
10 changed files with 21 additions and 38 deletions
|
@ -137,11 +137,6 @@ int getkeymap(char* name_buffer, size_t name_buffer_size, u32* map, u32* shift_m
|
|||
__RETURN_WITH_ERRNO(rc, rc, -1);
|
||||
}
|
||||
|
||||
void set_num_lock(bool on)
|
||||
{
|
||||
syscall(SC_set_num_lock, on);
|
||||
}
|
||||
|
||||
u16 internet_checksum(const void* ptr, size_t count)
|
||||
{
|
||||
u32 checksum = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue