ladybird/Ports/qemu/patches
Tim Schumacher be6b3710c8 Ports/qemu: Use the coarse monotonic clock for timing CPU ticks
While this loses quite a bit of accuracy (although to no apparent
decrease in emulation quality) , it helps avoiding the additional
overhead of the `clock_gettime` syscall (as `CLOCK_MONOTONIC_COARSE`
is forwarded using the mapped time page) and we don't have to do a
HPET timer read for each tick.

This results in a decrease of Serenity boot time from 1h16m down to
42m when running on Serenity.
2022-09-30 20:13:11 -07:00
..
0001-Add-build-system-support-for-SerenityOS.patch Ports/qemu: Use the coarse monotonic clock for timing CPU ticks 2022-09-30 20:13:11 -07:00
0002-Extend-short-scan-sets-into-the-full-list.patch Ports/qemu: Use the coarse monotonic clock for timing CPU ticks 2022-09-30 20:13:11 -07:00
0003-Use-the-coarse-monotonic-clock-for-timing-CPU-ticks.patch Ports/qemu: Use the coarse monotonic clock for timing CPU ticks 2022-09-30 20:13:11 -07:00
ReadMe.md Ports/qemu: Use the coarse monotonic clock for timing CPU ticks 2022-09-30 20:13:11 -07:00

Patches for qemu on SerenityOS

0001-Add-build-system-support-for-SerenityOS.patch

Add build system support for SerenityOS

0002-Extend-short-scan-sets-into-the-full-list.patch

Extend short scan sets into the full list

We don't support the (apparently nonstandard) short variant of scan sets, so extend them into a full list manually.

0003-Use-the-coarse-monotonic-clock-for-timing-CPU-ticks.patch

Use the coarse monotonic clock for timing CPU ticks

While this loses quite a bit of accuracy (although to no apparent decrease in emulation quality), it helps avoiding the additional overhead of the clock_gettime syscall (as CLOCK_MONOTONIC_COARSE is forwarded using the mapped time page) and we don't have to do a HPET timer read for each tick.