mirror of
https://review.haiku-os.org/haiku
synced 2025-01-19 04:58:51 +01:00
50bb52021c
* Improve atomicity of PTE updates. * Centralize a few constants. Change-Id: Iaeeb82e9dc7f7ca97d13ba816fb72c6475754310 Reviewed-on: https://review.haiku-os.org/c/haiku/+/8171 Reviewed-by: waddlesplash <waddlesplash@gmail.com> Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com> Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
15 lines
514 B
C
15 lines
514 B
C
/*
|
|
* Copyright 2018, Jaroslaw Pelczar <jarek@jpelczar.com>
|
|
* Distributed under the terms of the MIT License.
|
|
*/
|
|
#ifndef _KERNEL_ARCH_ARM64_ARCH_VM_TRANSLATION_MAP_H_
|
|
#define _KERNEL_ARCH_ARM64_ARCH_VM_TRANSLATION_MAP_H_
|
|
|
|
// The base address of TTBR*_EL1 is in bits [47:1] of the register, and the
|
|
// low bit is implicitly zero.
|
|
static constexpr uint64_t kTtbrBasePhysAddrMask = (((1UL << 47) - 1) << 1);
|
|
|
|
void arch_vm_install_empty_table_ttbr0(void);
|
|
|
|
#endif /* _KERNEL_ARCH_ARM64_ARCH_VM_TRANSLATION_MAP_H_ */
|