On 04.03.2022 18:46, Marco Solieri wrote: > From: Luca Miccio <[email protected]> > > Introduce two new arm specific functions to temporarily map/unmap the > Xen text read-write (the Xen text is mapped read-only by default by > setup_pagetables): xen_map_text_rw and xen_unmap_text_rw. > > There is only one caller in the alternative framework. > > The non-colored implementation simply uses __vmap to do the mapping. In > other words, there are no changes to the non-colored case. > > The colored implementation calculates Xen text physical addresses > appropriately, according to the coloring configuration. > > Export vm_alloc because it is needed by the colored implementation of > xen_map_text_rw.
I'm afraid I view vm_alloc() as strictly an internal function to vmap.c. Even livepatching infrastructure has got away without making it non-static. Jan
