]> xenbits.xensource.com Git - people/tklengyel/xen.git/commit
tools/dombuilder: xc_dom_x86 cleanup
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 17 Dec 2019 17:03:17 +0000 (17:03 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 7 Jan 2020 12:46:03 +0000 (12:46 +0000)
commitee21f10d7056d01b8a54f9e74ccfeae8440ea0c8
treefd1b78f603d0adea30272ed3167927a924fd43d3
parent0d48ab9716265857ce26c393eb0bc0bb87b13c91
tools/dombuilder: xc_dom_x86 cleanup

The two xc_dom_params structures for PV pagetables are never modified and can
live in .rodata.  Reduce their scope to the alloc_pgtable_*() functions which
construct xc_dom_image_x86 appropriately.

Rename {alloc,setup}_pgtables() to {alloc,setup}_pgtables_pv() to highlight
that they are PV only, and drop some _x86() suffixes from static helpers.

No functional change.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Wei Liu <wl@xen.org>
tools/libxc/xc_dom_x86.c