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

[Xen-devel] [PATCH 0/9] x86/mtrr: basic cleanups



I was stuck on an airplane and as idly reading this code and noticed that
Xen does not need multiple MTRR implementations anymore since only x86_64
is supported. This guts some of the indirection and drops what should be
dead code paths. I will admit I have only compiled this and not booted it.

Doug Goldstein (9):
  x86/mtrr: prefix fns with mtrr and drop static
  x86/mtrr: drop mtrr_if indirection
  x86/mtrr: drop have_wrcomb() wrapper
  x86/mtrr: drop unnecessary use_intel() macro
  x86/mtrr: drop unused is_cpu() macro
  x86/mtrr: drop unused mtrr_ops struct
  x86/mtrr: drop unused positive_have_wrcomb()
  x86/mtrr: drop unused func prototypes and struct
  x86/mtrr: use stdbool instead of int + define

 xen/arch/x86/cpu/mtrr/generic.c   | 54 +++++++++++--------------------
 xen/arch/x86/cpu/mtrr/main.c      | 68 +++++++++++----------------------------
 xen/arch/x86/cpu/mtrr/mtrr.h      | 62 ++++++-----------------------------
 xen/arch/x86/platform_hypercall.c |  2 +-
 4 files changed, 48 insertions(+), 138 deletions(-)

-- 
2.7.3


_______________________________________________
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®.