diff options
author | Sahan Fernando <sahan.h.fernando@gmail.com> | 2021-06-12 22:46:54 +1000 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-06-25 19:26:30 +0200 |
commit | 974e996d33104598484ff61ec4bd32087340824c (patch) | |
tree | 6a92672d454a8c6fe1e1518b0effa5cbd024deef /Userland/Libraries | |
parent | 34e9fa4d3be0284ac120e885ab920bb6024e4f04 (diff) | |
download | serenity-974e996d33104598484ff61ec4bd32087340824c.zip |
Userland: Add FB_FLUSH ioctl for fbdev
Diffstat (limited to 'Userland/Libraries')
-rw-r--r-- | Userland/Libraries/LibC/sys/ioctl_numbers.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Userland/Libraries/LibC/sys/ioctl_numbers.h b/Userland/Libraries/LibC/sys/ioctl_numbers.h index 6123e9496d..87d5e2cf1d 100644 --- a/Userland/Libraries/LibC/sys/ioctl_numbers.h +++ b/Userland/Libraries/LibC/sys/ioctl_numbers.h @@ -23,6 +23,13 @@ struct FBResolution { unsigned height; }; +struct FBRect { + unsigned x; + unsigned y; + unsigned width; + unsigned height; +}; + __END_DECLS enum IOCtlNumber { @@ -43,6 +50,7 @@ enum IOCtlNumber { FB_IOCTL_SET_RESOLUTION, FB_IOCTL_GET_BUFFER, FB_IOCTL_SET_BUFFER, + FB_IOCTL_FLUSH_BUFFER, SIOCSIFADDR, SIOCGIFADDR, SIOCGIFHWADDR, @@ -75,6 +83,7 @@ enum IOCtlNumber { #define FB_IOCTL_SET_RESOLUTION FB_IOCTL_SET_RESOLUTION #define FB_IOCTL_GET_BUFFER FB_IOCTL_GET_BUFFER #define FB_IOCTL_SET_BUFFER FB_IOCTL_SET_BUFFER +#define FB_IOCTL_FLUSH_BUFFER FB_IOCTL_FLUSH_BUFFER #define SIOCSIFADDR SIOCSIFADDR #define SIOCGIFADDR SIOCGIFADDR #define SIOCGIFHWADDR SIOCGIFHWADDR |