]> xenbits.xensource.com Git - xen.git/commit
xen/arm32: entry: Rename save_guest_regs()
authorJulien Grall <julien.grall@arm.com>
Wed, 30 Oct 2019 11:24:59 +0000 (11:24 +0000)
committerJulien Grall <julien.grall@arm.com>
Fri, 1 Nov 2019 14:29:57 +0000 (14:29 +0000)
commitdf1259540c3dd541ae52a31ca80953ce6de8c49f
treefa8116a78307dd8951232c84cc077c007c765eef
parentadaecef58e293333c9cdf7780118e8b125ed2634
xen/arm32: entry: Rename save_guest_regs()

The function save_guest_regs() is doing more than saving guest
registers. It also restore the vectors table and consume any pending
SErrors generated by the guest. So rename the function to
prepare_context_from_guest().

Take the opportunity to use ENDPROC() for the benefits of static
analizer and the reader.

Signed-off-by: Julien Grall <julien.grall@arm.com>
Release-acked-by: Juergen Gross <jgross@suse.com>
xen/arch/arm/arm32/entry.S