diff options
author | Tim Schumacher <timschumi@gmx.de> | 2022-06-05 03:05:04 +0200 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-06-08 17:58:36 +0100 |
commit | d426c5a4b2eac839497cc2cbeee4b87a1c9ee422 (patch) | |
tree | c3484b5625b583fc7da9cc3a7f53b4dc69186fa5 /Ports/fio | |
parent | d69a79b03b8f2853b60773e38553d662a01ac269 (diff) | |
download | serenity-d426c5a4b2eac839497cc2cbeee4b87a1c9ee422.zip |
Ports: Format patches without numbering, commit hash or version number
Diffstat (limited to 'Ports/fio')
-rw-r--r-- | Ports/fio/patches/0001-Remove-non-existent-header-sys-ipc.h.patch (renamed from Ports/fio/patches/0001-fio-remove-non-existent-header-sys-ipc.patch) | 7 | ||||
-rw-r--r-- | Ports/fio/patches/0002-Add-SerenityOS-platform-support.patch (renamed from Ports/fio/patches/0002-fio-add-serenityos-platform-support.patch) | 15 | ||||
-rw-r--r-- | Ports/fio/patches/0003-Add-SerenityOS-support-to-configure.patch (renamed from Ports/fio/patches/0003-fio-add-serenityos-support-to-configure.patch) | 7 | ||||
-rw-r--r-- | Ports/fio/patches/0004-Disable-rdtsc-support-for-serenity.patch (renamed from Ports/fio/patches/0004-fio-disable-rdtsc-support-for-serenityos.patch) | 7 | ||||
-rw-r--r-- | Ports/fio/patches/ReadMe.md | 16 |
5 files changed, 20 insertions, 32 deletions
diff --git a/Ports/fio/patches/0001-fio-remove-non-existent-header-sys-ipc.patch b/Ports/fio/patches/0001-Remove-non-existent-header-sys-ipc.h.patch index c8a81e49df..3d7b5c30e8 100644 --- a/Ports/fio/patches/0001-fio-remove-non-existent-header-sys-ipc.patch +++ b/Ports/fio/patches/0001-Remove-non-existent-header-sys-ipc.h.patch @@ -1,7 +1,7 @@ -From d59316cb9bc616b4b44d432d1ad363afa69f67eb Mon Sep 17 00:00:00 2001 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Brian Gianforcaro <b.gianfo@gmail.com> Date: Tue, 21 Dec 2021 23:41:47 -0800 -Subject: [PATCH 1/4] Port: fio, remove non existent header sys/ipc.h +Subject: [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 @@ -22,6 +22,3 @@ index 5f069d9..81c4771 100644 #include <sys/types.h> #include <dlfcn.h> #ifdef CONFIG_VALGRIND_DEV --- -2.32.0 - diff --git a/Ports/fio/patches/0002-fio-add-serenityos-platform-support.patch b/Ports/fio/patches/0002-Add-SerenityOS-platform-support.patch index 84adc706c0..fbdd665e1b 100644 --- a/Ports/fio/patches/0002-fio-add-serenityos-platform-support.patch +++ b/Ports/fio/patches/0002-Add-SerenityOS-platform-support.patch @@ -1,7 +1,7 @@ -From 50d3ac3b6faa9d117ec26296067aecee988dbd8c Mon Sep 17 00:00:00 2001 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Brian Gianforcaro <b.gianfo@gmail.com> Date: Tue, 21 Dec 2021 23:47:36 -0800 -Subject: [PATCH 2/4] Port: fio - Add SerenityOS platform support +Subject: [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 @@ -11,14 +11,14 @@ system. This patch implements basic OS support for Serenity just to get fio up and running. --- - os/os-serenity.h | 87 ++++++++++++++++++++++++++++++++++++++++++++++++ - os/os.h | 3 ++ - 2 files changed, 90 insertions(+) + os/os-serenity.h | 61 ++++++++++++++++++++++++++++++++++++++++++++++++ + os/os.h | 3 +++ + 2 files changed, 64 insertions(+) create mode 100644 os/os-serenity.h diff --git a/os/os-serenity.h b/os/os-serenity.h new file mode 100644 -index 0000000..941bf09 +index 0000000..387727a --- /dev/null +++ b/os/os-serenity.h @@ -0,0 +1,61 @@ @@ -104,6 +104,3 @@ index 5965d7b..46604f7 100644 #else #error "unsupported os" #endif --- -2.32.0 - diff --git a/Ports/fio/patches/0003-fio-add-serenityos-support-to-configure.patch b/Ports/fio/patches/0003-Add-SerenityOS-support-to-configure.patch index b38d887d07..516935629d 100644 --- a/Ports/fio/patches/0003-fio-add-serenityos-support-to-configure.patch +++ b/Ports/fio/patches/0003-Add-SerenityOS-support-to-configure.patch @@ -1,7 +1,7 @@ -From 99f1cf657e539078c7347c3ddc4a1537d5332e15 Mon Sep 17 00:00:00 2001 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Brian Gianforcaro <b.gianfo@gmail.com> Date: Tue, 21 Dec 2021 23:48:09 -0800 -Subject: [PATCH 3/4] Port: Add SerenityOS support to configure +Subject: [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 @@ -24,6 +24,3 @@ index 84ccce0..04bac14 100755 elif check_define _WIN32 ; then targetos='CYGWIN' else --- -2.32.0 - diff --git a/Ports/fio/patches/0004-fio-disable-rdtsc-support-for-serenityos.patch b/Ports/fio/patches/0004-Disable-rdtsc-support-for-serenity.patch index 68bb143f2c..50db507795 100644 --- a/Ports/fio/patches/0004-fio-disable-rdtsc-support-for-serenityos.patch +++ b/Ports/fio/patches/0004-Disable-rdtsc-support-for-serenity.patch @@ -1,7 +1,7 @@ -From fdf16439ed5ecb36f762dc2b66102424920e26c1 Mon Sep 17 00:00:00 2001 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Brian Gianforcaro <b.gianfo@gmail.com> Date: Tue, 21 Dec 2021 23:48:46 -0800 -Subject: [PATCH 4/4] Port: fio - Disable rdtsc support for serenity +Subject: [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 @@ -25,6 +25,3 @@ index c6bcb54..c1005b1 100644 +// #define ARCH_HAVE_CPU_CLOCK #endif --- -2.32.0 - diff --git a/Ports/fio/patches/ReadMe.md b/Ports/fio/patches/ReadMe.md index 0aed5a8f7a..33f85af954 100644 --- a/Ports/fio/patches/ReadMe.md +++ b/Ports/fio/patches/ReadMe.md @@ -1,16 +1,16 @@ # Patches for fio on SerenityOS -## `0001-fio-remove-non-existent-header-sys-ipc.patch` +## `0001-Remove-non-existent-header-sys-ipc.h.patch` -Port: fio, remove non existent header sys/ipc.h +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` +## `0002-Add-SerenityOS-platform-support.patch` -Port: fio - Add SerenityOS platform support +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 @@ -20,17 +20,17 @@ system. This patch implements basic OS support for Serenity just to get fio up and running. -## `0003-fio-add-serenityos-support-to-configure.patch` +## `0003-Add-SerenityOS-support-to-configure.patch` -Port: Add SerenityOS support to configure +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` +## `0004-Disable-rdtsc-support-for-serenity.patch` -Port: fio - Disable rdtsc support for serenity +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 |