1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 11:57:36 +00:00

Ports: Format patches without numbering, commit hash or version number

This commit is contained in:
Tim Schumacher 2022-06-05 03:05:04 +02:00 committed by Linus Groh
parent d69a79b03b
commit d426c5a4b2
371 changed files with 806 additions and 1884 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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