[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH for-next 0/7] Refactor x86 trap handling code



This series splits PV code related to trap handling to files under pv
directory.

The final two patches are clean-up that seem easy enough to do.

Wei Liu (7):
  x86: move x86_64/entry.S to pv directory
  x86: move x86_64/compat/entry.S to pv/compat
  x86/traps: lift do_guest_trap to traps.h
  x86/traps: move all PV emulation and hypercalls to pv/traps.c
  x86_64: move PV specific code under pv/x86_64
  x86: s/bool_t/bool/g in pv/traps.c
  x86: clean up traps.c

 xen/arch/x86/pv/Makefile                    |    5 +
 xen/arch/x86/{x86_64 => pv}/compat/Makefile |    0
 xen/arch/x86/{x86_64 => pv}/compat/entry.S  |    0
 xen/arch/x86/{x86_64 => pv}/entry.S         |    0
 xen/arch/x86/pv/traps.c                     | 2152 ++++++++++++++++++++++++
 xen/arch/x86/pv/x86_64/Makefile             |    1 +
 xen/arch/x86/{ => pv}/x86_64/compat/traps.c |    0
 xen/arch/x86/pv/x86_64/traps.c              |  398 +++++
 xen/arch/x86/traps.c                        | 2346 ++-------------------------
 xen/arch/x86/x86_64/Makefile                |    3 -
 xen/arch/x86/x86_64/traps.c                 |  377 -----
 xen/include/asm-x86/domain.h                |   12 +
 xen/include/asm-x86/traps.h                 |   19 +
 13 files changed, 2699 insertions(+), 2614 deletions(-)
 rename xen/arch/x86/{x86_64 => pv}/compat/Makefile (100%)
 rename xen/arch/x86/{x86_64 => pv}/compat/entry.S (100%)
 rename xen/arch/x86/{x86_64 => pv}/entry.S (100%)
 create mode 100644 xen/arch/x86/pv/traps.c
 create mode 100644 xen/arch/x86/pv/x86_64/Makefile
 rename xen/arch/x86/{ => pv}/x86_64/compat/traps.c (100%)
 create mode 100644 xen/arch/x86/pv/x86_64/traps.c

-- 
2.11.0


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.