]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
amd64: allow base memory segment to start at address different than 0
authorroyger <royger@FreeBSD.org>
Mon, 26 Jan 2015 08:42:47 +0000 (08:42 +0000)
committerroyger <royger@FreeBSD.org>
Mon, 26 Jan 2015 08:42:47 +0000 (08:42 +0000)
commit217732b47df4884c66c89cb08c351e01ec4c1667
treead1bc31470b77a3cb10005da0d798589bac0f49c
parent3296e83bba909bfa8aac36fd6afabedf57adae40
amd64: allow base memory segment to start at address different than 0

Current code requires that the first physical memory segment starts at 0,
but this is not really needed. We only need to make sure the bootstrap code
and page tables for APs are allocated below 4GB.

This patch removes this requirement and allows booting a Dell R710 from
UEFI, where the first physical memory segment starts at 0x10000.

Sponsored by: Citrix Systems R&D
Reviewed by: jhb
Differential Revision: https://reviews.freebsd.org/D1417
sys/amd64/amd64/machdep.c