1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 15:27:34 +00:00

Ports: Bring all ReadMes in line with their respective patches

This commit is contained in:
Tim Schumacher 2022-05-21 21:05:39 +02:00 committed by Linus Groh
parent 0e0db33a2a
commit 6641868c35
15 changed files with 118 additions and 139 deletions

View file

@ -1,25 +1,40 @@
# Patches for fio 3.29 on SerenityOS
# Patches for fio on SerenityOS
## `0001-fio-remove-non-existent-header-sys-ipc.patch`
Serenity currently doesn't have a <sys/ipc.h> header, so we have to patch the include out.
Port: fio, remove non existent header sys/ipc.h
Serenity doesn't currently have this header, and
it doesn't appear to be needed on our platform so
remove it for the port.
## `0002-fio-add-serenityos-platform-support.patch`
`fio` abstracts individual operating system support out into to an `os/os-<name>.h` header
where you can select which platform features are available and implement missing function
stubs for our operating system.
Port: fio - Add SerenityOS platform support
This patch implements basic OS support for Serenity just to get fio up and running.
`fio` abstracts individual operating system support out into to an
`os/os-<name>.h` header where you can select which platform features
are available and implement missing function stubs for our operating
system.
This patch implements basic OS support for Serenity just to get fio up
and running.
## `0003-fio-add-serenityos-support-to-configure.patch`
This patch implements targetos detection for serenity, and also disables shared memory
support automatically for serenity, as it's not currently supported.
Port: Add SerenityOS support to configure
This patch implements targetos detection for serenity, and also
disables shared memory support automatically for serenity, as it's not
currently supported.
## `0004-fio-disable-rdtsc-support-for-serenityos.patch`
This patch disables the function which uses `rdtsc` to get the current clock time,
as that instruction isn't allowed to be called from user space by serenity.
Port: fio - Disable rdtsc support for serenity
This patch disables the function which uses `rdtsc` to get the current
clock time, as that instruction isn't allowed to be called from user
space by serenity.
If you did attempt to call it you would trip a segfault.