xen/public: arch-arm: Restrict the visibility of struct vcpu_guest_core_regs
authorJulien Grall <julien.grall@arm.com>
Tue, 23 Jul 2019 21:35:47 +0000 (22:35 +0100)
committerStefano Stabellini <sstabellini@kernel.org>
Mon, 29 Jul 2019 21:13:31 +0000 (14:13 -0700)
commit02f6d4e6e2c64fa26b08428df42d4bc2665ff052
tree5b790aeb6d6f1ea7fe3ca1929c500eb94efac138
parentf83a02eb819375c2ece4747ce1b90b7245723c6e
xen/public: arch-arm: Restrict the visibility of struct vcpu_guest_core_regs

Currently, the structure vcpu_guest_core_regs is part of the public API.
This implies that any change in the structure should be backward
compatible.

However, the structure is only needed by the tools and Xen. It is also
not expected to be ever used outside of that context. So we could save us
some headache by only declaring the structure for Xen and tools.

[Stefano: improve comment code style]

Suggested-by: Andrew Cooper <andrew.cooper3@citrix.com>
Signed-off-by: Julien Grall <julien.grall@arm.com>
Signed-off-by: Stefano Stabellini <stefanos@xilinx.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
xen/include/public/arch-arm.h