freebsd-src/sys
Roger Pau Monné 1e69553ed1 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.
2014-03-11 10:23:03 +00:00
..
amd64 xen: implement hook to fetch and parse e820 memory map 2014-03-11 10:23:03 +00:00
arm Revert r262994 for now, it fails to boot on armv5. 2014-03-11 04:25:12 +00:00
boot howto_names: unify declaration 2014-03-11 10:13:06 +00:00
bsm
cam Fix support for increased logical sector size (4K-native drives). 2014-03-07 09:45:40 +00:00
cddl MFV r262983: 2014-03-11 00:23:50 +00:00
compat linprocfs: add support for /sys/kernel/random/uuid 2014-02-27 00:43:10 +00:00
conf xen: implement an early timer for Xen PVH 2014-03-11 10:20:42 +00:00
contrib Also tag the current HAL power mode in ar9300_set_power_mode(). 2014-03-10 06:05:26 +00:00
crypto
ddb
dev xen: implement an early timer for Xen PVH 2014-03-11 10:20:42 +00:00
fs ext2fs: Fix a bug when sorting htree entries. 2014-03-06 21:02:16 +00:00
gdb
geom In g_eli_crypto_hmac_init(), zero out after using the ipad buffer, 2014-02-08 05:17:49 +00:00
gnu Symbolic bindings for the dts files... 2014-02-28 16:51:33 +00:00
i386 xen: implement an early timer for Xen PVH 2014-03-11 10:20:42 +00:00
ia64 When reading physical memory, make sure to access it using the right 2014-03-04 03:19:36 +00:00
isa
kern - Make runq_steal_from more aggressive. Previously it would examine only 2014-03-08 00:35:06 +00:00
kgssapi
libkern
mips Populate the GPIO pins and GPIOLED configs 2014-03-05 04:22:07 +00:00
modules Use SYSDIR to reference to the top of the sys hierarchy. Define SYSDIR 2014-03-06 01:59:13 +00:00
net The route code used to mtx_destroy() a locked mutex before rtentry free. Now, 2014-03-05 21:16:46 +00:00
net80211
netatalk Fix build. 2014-03-05 02:35:41 +00:00
netgraph
netinet - Remove rt_metrics_lite and simply put its members into rtentry. 2014-03-05 01:17:47 +00:00
netinet6 - Remove rt_metrics_lite and simply put its members into rtentry. 2014-03-05 01:17:47 +00:00
netipsec Remove more constants related to static sysctl nodes. The MAXID constants 2014-02-25 18:44:33 +00:00
netipx - Remove rt_metrics_lite and simply put its members into rtentry. 2014-03-05 01:17:47 +00:00
netnatm
netpfil - Remove rt_metrics_lite and simply put its members into rtentry. 2014-03-05 01:17:47 +00:00
netsmb
nfs - Remove rt_metrics_lite and simply put its members into rtentry. 2014-03-05 01:17:47 +00:00
nfsclient
nfsserver
nlm Correct a typo in nlm_find_host_by_addr(): the intention of the 2014-03-11 00:25:55 +00:00
ofed
opencrypto allow the kern.cryptodevallowsoft sysctl to enable symetric/hashes too... 2014-03-11 01:45:46 +00:00
pc98 xen: implement an early timer for Xen PVH 2014-03-11 10:20:42 +00:00
pci - Implement the RX EARLYOFF and RXDV GATED bits as done by RealTek's Linux 2014-02-05 23:13:40 +00:00
powerpc Correct the order of arguments to mtx_init(). 2014-02-14 11:18:15 +00:00
rpc Fix lock acquisition in case no request space available, missed in r260097. 2014-02-04 00:00:01 +00:00
security
sparc64 Merge from head up to r262472. 2014-02-25 07:40:37 +00:00
sys howto_names: unify declaration 2014-03-11 10:13:06 +00:00
teken Fix typo. 2014-02-06 13:28:06 +00:00
tools Use proper include path for dtc as well as cpp. 2014-02-28 22:37:35 +00:00
ufs - If we fail to do a non-blocking acquire of a buf lock while doing a 2014-03-06 00:13:21 +00:00
vm After r251709, avoid a clang 3.4 warning about an unused static const 2014-02-14 17:47:18 +00:00
x86 xen: implement hook to fetch and parse e820 memory map 2014-03-11 10:23:03 +00:00
xdr
xen xen: add and enable Xen console for PVH guests 2014-03-11 10:09:23 +00:00
Makefile