]> xenbits.xensource.com Git - people/andrewcoop/xen-test-framework.git/commit
idt: Constify the xtf_idte parameter to xtf_set_idte()
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 15 Nov 2019 13:23:03 +0000 (13:23 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 28 Nov 2019 23:24:14 +0000 (23:24 +0000)
commit7482af39dc2c6b9e90fa100cc35e3727283da6e0
tree7705e100f9ced5f892621c2605be639b8d35bbc0
parent31c03eaaf3424fb454c4768cc8df28a0c45bbddb
idt: Constify the xtf_idte parameter to xtf_set_idte()

It is only ever read.  Take the opportunity to adjust all callers to construct
their struct xtf_idte in .rodata.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
arch/x86/hvm/traps.c
arch/x86/include/arch/idt.h
arch/x86/pv/traps.c
tests/selftest/main.c
tests/xsa-186/main.c
tests/xsa-192/main.c
tests/xsa-196/main.c
tests/xsa-213/main.c