path: root/sys/conf/files.amd64
diff options
authorRoger Pau Monné <royger@FreeBSD.org>2014-03-11 10:23:03 +0000
committerRoger Pau Monné <royger@FreeBSD.org>2014-03-11 10:23:03 +0000
commit1e69553ed1dea6b8cb6c97a49a72e811f9bd7cde (patch)
treeb7cab660078ecadafa7c5b0f9abceac9a436bff1 /sys/conf/files.amd64
parent5f05c79450788b33bd82738ee27bf6d0ceeb12ca (diff)
xen: implement hook to fetch and parse e820 memory map
e820 memory map is fetched using a hypercall under Xen PVH, so add a hook to init_ops in oder to diverge from bare metal and implement a Xen variant. Approved by: gibbs Sponsored by: Citrix Systems R&D x86/include/init.h: - Add a parse_memmap hook to init_ops, that will be called to fetch and parse the memory map. amd64/amd64/machdep.c: - Decouple the fetch and the parse of the memmap, so the parse function can be shared with Xen code. - Move code around in order to implement the parse_memmap hook. amd64/include/pc/bios.h: - Declare bios_add_smap_entries (implemented in machdep.c). x86/xen/pv.c: - Implement fetching of e820 memmap when running as a PVH guest by using the XENMEM_memory_map hypercall.
Notes: svn path=/head/; revision=263009
Diffstat (limited to 'sys/conf/files.amd64')
0 files changed, 0 insertions, 0 deletions