From c688bd7a97e85549ac0fc87fe16fb7d98f746319 Mon Sep 17 00:00:00 2001 From: EnderIce2 Date: Fri, 14 Feb 2025 19:59:59 +0200 Subject: [PATCH] feat: synchronize syscalls.h Signed-off-by: EnderIce2 --- Drivers/include/syscalls.h | 11 +++++++++++ Userspace/libc/include/fennix/syscalls.h | 11 +++++++++++ 2 files changed, 22 insertions(+) diff --git a/Drivers/include/syscalls.h b/Drivers/include/syscalls.h index 48053313..157a9b50 100644 --- a/Drivers/include/syscalls.h +++ b/Drivers/include/syscalls.h @@ -531,6 +531,17 @@ static_assert((int)__SYS_SIG_IGN == (int)___SYS_SIG_IGN, "SIG_IGN values do not typedef int __SYS_clockid_t; typedef unsigned int __SYS_socklen_t; +typedef struct FramebufferScreenInfo +{ + __UINT32_TYPE__ Width; + __UINT32_TYPE__ Height; + __UINT32_TYPE__ Pitch; + __UINT32_TYPE__ Bpp; + __UINT32_TYPE__ Size; +} FramebufferScreenInfo; + +#define FBIOGET_SCREEN_INFO 0xf0 + /** * @brief List of syscalls * diff --git a/Userspace/libc/include/fennix/syscalls.h b/Userspace/libc/include/fennix/syscalls.h index 48053313..157a9b50 100644 --- a/Userspace/libc/include/fennix/syscalls.h +++ b/Userspace/libc/include/fennix/syscalls.h @@ -531,6 +531,17 @@ static_assert((int)__SYS_SIG_IGN == (int)___SYS_SIG_IGN, "SIG_IGN values do not typedef int __SYS_clockid_t; typedef unsigned int __SYS_socklen_t; +typedef struct FramebufferScreenInfo +{ + __UINT32_TYPE__ Width; + __UINT32_TYPE__ Height; + __UINT32_TYPE__ Pitch; + __UINT32_TYPE__ Bpp; + __UINT32_TYPE__ Size; +} FramebufferScreenInfo; + +#define FBIOGET_SCREEN_INFO 0xf0 + /** * @brief List of syscalls *