1
0
mirror of https://github.com/SerenityOS/serenity synced 2024-07-03 11:53:38 +00:00
serenity/Ports/fio/patches
2022-06-08 17:58:36 +01:00
..
0001-Remove-non-existent-header-sys-ipc.h.patch Ports: Format patches without numbering, commit hash or version number 2022-06-08 17:58:36 +01:00
0002-Add-SerenityOS-platform-support.patch Ports: Format patches without numbering, commit hash or version number 2022-06-08 17:58:36 +01:00
0003-Add-SerenityOS-support-to-configure.patch Ports: Format patches without numbering, commit hash or version number 2022-06-08 17:58:36 +01:00
0004-Disable-rdtsc-support-for-serenity.patch Ports: Format patches without numbering, commit hash or version number 2022-06-08 17:58:36 +01:00
ReadMe.md Ports: Format patches without numbering, commit hash or version number 2022-06-08 17:58:36 +01:00

Patches for fio on SerenityOS

0001-Remove-non-existent-header-sys-ipc.h.patch

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-Add-SerenityOS-platform-support.patch

Add SerenityOS platform support

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-Add-SerenityOS-support-to-configure.patch

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-Disable-rdtsc-support-for-serenity.patch

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.