aboutsummaryrefslogtreecommitdiff
path: root/cpu.c
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2021-08-05 18:15:47 -0600
committerWarner Losh <imp@bsdimp.com>2021-09-10 14:13:06 -0600
commitbe04f210f954bed8663943a94ece50c2ca410231 (patch)
tree66b7ba615be609de81ee13896bf972d825d09d2d /cpu.c
parentb8012648b38274aa996f1477c422a79e2d44110b (diff)
bsd-user: Update mapping to handle reserved and starting conditions
Update the reserved base based on what platform we're on, as well as the start of the mmap range. Update routines that find va ranges to interact with the reserved ranges as well as properly align the mapping (this is especially important for targets whose page size does not match the host's). Loop where appropriate when the initial address space offered by mmap does not meet the contraints. This has 18e80c55bb6 from linux-user folded in to the upstream bsd-user code as well. Signed-off-by: Mikaƫl Urankar <mikael.urankar@gmail.com> Signed-off-by: Stacey Son <sson@FreeBSD.org> Signed-off-by: Warner Losh <imp@bsdimp.com> Acked-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Kyle Evans <kevans@FreeBSD.org>
Diffstat (limited to 'cpu.c')
0 files changed, 0 insertions, 0 deletions