haiku/headers/private/system/arch
David Karoly f61fb770f0 kernel/arm: don't set Accessed Flag when initially mapping a page
Pages should not be marked as accessed when initially mapping them.

However, there's a short interval during kernel startup when new pages
are mapped but the fault handler is not installed yet.

Therefore, we set Accessed Flag to 1 in early_map.
Once the kernel initialization has progressed enough, we start mapping
new pages with Accessed Flag set to 0.

The chicken and egg problem of initially mapping the vector page is
tackled by preallocating the vector page in the boot loader.

Change-Id: Ie3be4f81812d7a090af57e8c79420598d16182b9
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6450
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2023-06-06 18:49:56 +00:00
..
arm kernel/arm: don't set Accessed Flag when initially mapping a page 2023-06-06 18:49:56 +00:00
arm64 arm64: Add thread exit syscall in commpage. 2022-05-29 18:51:32 +00:00
m68k rumtime_loader: fix TLS for riscv64 2022-03-27 16:15:41 +00:00
mipsel rumtime_loader: fix TLS for riscv64 2022-03-27 16:15:41 +00:00
ppc rumtime_loader: fix TLS for riscv64 2022-03-27 16:15:41 +00:00
riscv64 riscv: use atomic CSR bit set/clear operations, refactor 2022-12-11 18:43:15 +00:00
sparc rumtime_loader: fix TLS for riscv64 2022-03-27 16:15:41 +00:00
x86 rumtime_loader: fix TLS for riscv64 2022-03-27 16:15:41 +00:00
x86_64 rumtime_loader: fix TLS for riscv64 2022-03-27 16:15:41 +00:00