Need to call init_mem() to really initialize the MMIO range lookups.
authorneel <neel@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 10 Apr 2013 18:59:20 +0000 (18:59 +0000)
committerneel <neel@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 10 Apr 2013 18:59:20 +0000 (18:59 +0000)
commit635872f64777dbcc338571b6452ec90a835eb327
tree0bd39aaaf2b57b086b947aa549822c8cbfcd2b18
parent872b35dcb7943a3f2a1eb4229f19389e5443e545
Need to call init_mem() to really initialize the MMIO range lookups.

This was working by accident because:
- the RB_HEADs were being initialized to zero as part of BSS
- the pthread_rwlock functions were implicitly initializing the lock object

Obtained from: NetApp

git-svn-id: svn://svn.freebsd.org/base/head@249343 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.sbin/bhyve/bhyverun.c