pciinit: refactor mem init code

Refactor memory initialization code:
- split window initialization from other setup
- pass all window data around by pointer

This is in preparation for getting window data
from qemu.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
1 file changed