1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 00:17:46 +00:00
serenity/Userland/Libraries/LibC/sys
Liav A 8554952690 Kernel + WindowServer: Re-define the interface to framebuffer devices
We create a base class called GenericFramebufferDevice, which defines
all the virtual functions that must be implemented by a
FramebufferDevice. Then, we make the VirtIO FramebufferDevice and other
FramebufferDevice implementations inherit from it.
The most important consequence of rearranging the classes is that we now
have one IOCTL method, so all drivers should be committed to not
override the IOCTL method or make their own IOCTLs of FramebufferDevice.
All graphical IOCTLs are known to all FramebufferDevices, and it's up to
the specific implementation whether to support them or discard them (so
we require extensive usage of KResult and KResultOr, together with
virtual characteristic functions).
As a result, the interface is much cleaner and understandable to read.
2021-10-27 07:57:44 +03:00
..
arch LibC: Fix redeclaration in x86_64/regs.h 2021-10-06 23:52:40 +01:00
cdefs.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
file.cpp Everywhere: Use my cool new @serenityos.org email address 2021-09-01 11:37:25 +04:30
file.h LibC: Implement flock(2) using fcntl's F_SETLK 2021-07-20 17:44:30 +04:30
internals.h LibC+DynamicLoader: Store the auxiliary vector address at startup 2021-09-20 18:32:09 +02:00
ioctl.h Kernel+LibC: Implement FIONREAD ioctl 2021-08-22 10:29:06 +02:00
ioctl_numbers.h Kernel + WindowServer: Re-define the interface to framebuffer devices 2021-10-27 07:57:44 +03:00
kcov.h Kernel: Add option to build with coverage instrumentation and KCOV 2021-07-26 17:40:28 +02:00
mman.cpp LibC: Fix negation overflow UB in sys/mman.cpp 2021-08-08 10:55:36 +02:00
mman.h Kernel+LibC: Share definitions for sys/mman.h 2021-08-14 19:58:11 +02:00
param.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
poll.h LibC: Add <sys/poll.h> as an alias for <poll.h> 2021-08-22 10:29:06 +02:00
prctl.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
prctl.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
prctl_numbers.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ptrace.cpp Everywhere: Remove empty line after function body opening curly brace 2021-04-25 20:20:00 +02:00
ptrace.h Kernel+LibC: Share definitions for sys/ptrace.h 2021-08-14 19:58:11 +02:00
resource.h LibC: Add getpriority() and setpriority() stubs 2021-09-23 18:51:21 +02:00
select.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
select.h LibC: Make sure the definition for struct timeval is available 2021-06-16 20:08:13 +02:00
socket.cpp Kernel+LibC: Pack SC_setsockopt_params struct tighter 2021-09-16 17:17:13 +02:00
socket.h Kernel+LibC: Share definitions for sys/socket.h and sys/un.h 2021-08-14 19:58:11 +02:00
stat.h Kernel+LibC: Share definitions for time.h and sys/stat.h 2021-08-14 19:58:11 +02:00
statvfs.cpp LibC: Add functions for the new statvfs syscalls 2021-05-19 21:33:29 +02:00
statvfs.h Kernel+LibC: Share definitions for sys/statvfs.h 2021-08-14 19:58:11 +02:00
sysmacros.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
time.h Kernel+LibC: Share definitions for sys/time.h 2021-08-14 19:58:11 +02:00
times.h Kernel+LibC: Share definitions for sys/times.h 2021-08-14 19:58:11 +02:00
ttydefaults.h Kernel+LibC: Default to 8-bit characters in TTY 2021-10-25 21:42:26 +02:00
types.h Kernel+LibC: Share definitions in fcntl.h and sys/types.h 2021-08-14 19:58:11 +02:00
uio.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
uio.h Kernel+LibC: Share definitions for sys/uio.h 2021-08-14 19:58:11 +02:00
un.h Kernel+LibC: Share definitions for sys/socket.h and sys/un.h 2021-08-14 19:58:11 +02:00
utsname.h Kernel+LibC: Share definitions for utsname.h 2021-08-14 19:58:11 +02:00
wait.cpp LibC: Do not include errno.h inside unistd.h 2021-05-14 22:24:02 +02:00
wait.h Kernel+LibC: Share definitions for sys/wait.h 2021-08-14 19:58:11 +02:00
xattr.cpp Everywhere: Fix more Copyright header inconsistencies 2021-10-04 11:10:09 +01:00
xattr.h Everywhere: Fix more Copyright header inconsistencies 2021-10-04 11:10:09 +01:00