1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-29 20:25:12 +00:00

Kernel: Replace char and u8 data types to u32 for code point

Remove character property from event and add code_point property.
This commit is contained in:
Hüseyin ASLITÜRK 2020-06-11 21:26:05 +03:00 committed by Andreas Kling
parent 1887e35dc8
commit 174987f930
4 changed files with 10 additions and 10 deletions

View file

@ -4305,10 +4305,10 @@ int Process::sys$setkeymap(const Syscall::SC_setkeymap_params* user_params)
Keyboard::CharacterMapData character_map_data;
const char* map = params.map;
const char* shift_map = params.shift_map;
const char* alt_map = params.alt_map;
const char* altgr_map = params.altgr_map;
const u32* map = params.map;
const u32* shift_map = params.shift_map;
const u32* alt_map = params.alt_map;
const u32* altgr_map = params.altgr_map;
if (!validate_read(map, CHAR_MAP_SIZE))
return -EFAULT;