viridian: separate time related enlightenment implementations...
authorPaul Durrant <paul.durrant@citrix.com>
Fri, 9 Nov 2018 10:38:03 +0000 (11:38 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 9 Nov 2018 10:38:03 +0000 (11:38 +0100)
commit36aec6100f85b6024730654d5973a3d7c28bd8fe
treeb9bbc8f440f4697f2afe8fcf669ae3bc9d2cd5e2
parent6889ae02b63d0dc20d0278c7073d443e3802b653
viridian: separate time related enlightenment implementations...

...into new 'time' module.

This patch reduces the size of the main viridian source module by
moving time related enlightenments into their own source module. This is
done in anticipation of implementation of more such enightenments and
a desire to not further lengthen the main source module when this work
is done.

While moving the code:

- Move the declaration of HV_REFERENCE_TSC_PAGE from the header file into
  the new source module, since it is only used there.
- Clean up a bool_t.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
xen/arch/x86/hvm/viridian/Makefile
xen/arch/x86/hvm/viridian/private.h
xen/arch/x86/hvm/viridian/time.c [new file with mode: 0644]
xen/arch/x86/hvm/viridian/viridian.c
xen/include/asm-x86/hvm/viridian.h