mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 15:57:36 +00:00
Ports: Bring all ReadMes in line with their respective patches
This commit is contained in:
parent
0e0db33a2a
commit
6641868c35
15 changed files with 118 additions and 139 deletions
|
@ -3,6 +3,13 @@ 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
|
||||
|
||||
`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.
|
||||
---
|
||||
os/os-serenity.h | 87 ++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
os/os.h | 3 ++
|
||||
|
|
|
@ -3,6 +3,9 @@ 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
|
||||
|
||||
This patch implements targetos detection for serenity, and also
|
||||
disables shared memory support automatically for serenity, as it's not
|
||||
currently supported.
|
||||
---
|
||||
configure | 3 +++
|
||||
1 file changed, 3 insertions(+)
|
||||
|
|
|
@ -3,6 +3,11 @@ 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
|
||||
|
||||
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.
|
||||
---
|
||||
arch/arch-x86.h | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue