Newer
Older
minerva / Ports / fio / patches / ReadMe.md
@minerva minerva on 13 Jul 1 KB Initial commit
# Patches for fio on Minerva

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

Remove non existent header sys/ipc.h

Minerva 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-Minerva-platform-support.patch`

Add Minerva 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 Minerva just to get fio up
and running.

## `0003-Add-Minerva-support-to-configure.patch`

Add Minerva support to configure

This patch implements targetos detection for minerva, and also
disables shared memory support automatically for minerva, as it's not
currently supported.

## `0004-Disable-rdtsc-support-for-minerva.patch`

Disable rdtsc support for minerva

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 minerva.

If you did attempt to call it you would trip a segfault.