mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
xen: move include/asm-* to arch/*/include/asm
This avoid the need to create the symbolic link "include/asm". Whenever a comment refer to an "asm" headers, this patch avoid spelling the arch when not needed to avoid some code churn. One unrelated change is to sort entries in MAINTAINERS for "INTEL(R) VT FOR X86 (VT-X)" Signed-off-by: Anthony PERARD <anthony.perard@citrix.com> Acked-by: Paul Durrant <paul@xen.org> Acked-by: Jan Beulich <jbeulich@suse.com> Acked-by: Julien Grall <jgrall@amazon.com> Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
This commit is contained in:
1 parent
72f12ac6a3
commit
725381a5ea
330 files changed
+56
-57
No files matched your search
+2
-3
@@ -314,6 +314,7 @@ xen/arch/x86/boot/*.lnk
|
||||
xen/arch/x86/efi.lds
|
||||
xen/arch/x86/efi/check.efi
|
||||
xen/arch/x86/efi/mkreloc
|
||||
xen/arch/x86/include/asm/asm-macros.h
|
||||
xen/arch/*/xen.lds
|
||||
xen/arch/*/efi/boot.c
|
||||
xen/arch/*/efi/compat.c
|
||||
@@ -321,12 +322,10 @@ xen/arch/*/efi/ebmalloc.c
|
||||
xen/arch/*/efi/efi.h
|
||||
xen/arch/*/efi/pe.c
|
||||
xen/arch/*/efi/runtime.c
|
||||
xen/arch/*/include/asm/asm-offsets.h
|
||||
xen/common/config_data.S
|
||||
xen/common/config.gz
|
||||
xen/include/headers*.chk
|
||||
xen/include/asm
|
||||
xen/include/asm-*/asm-offsets.h
|
||||
xen/include/asm-x86/asm-macros.h
|
||||
xen/include/compat/*
|
||||
xen/include/config/
|
||||
xen/include/generated/
|
||||
|
||||
+18
-21
@@ -245,7 +245,6 @@ F: xen/drivers/char/omap-uart.c
|
||||
F: xen/drivers/char/pl011.c
|
||||
F: xen/drivers/char/scif-uart.c
|
||||
F: xen/drivers/passthrough/arm/
|
||||
F: xen/include/asm-arm/
|
||||
F: xen/include/public/arch-arm/
|
||||
F: xen/include/public/arch-arm.h
|
||||
|
||||
@@ -290,10 +289,10 @@ EFI
|
||||
M: Jan Beulich <jbeulich@suse.com>
|
||||
S: Supported
|
||||
F: xen/arch/x86/efi/
|
||||
F: xen/arch/x86/include/asm/efi*.h
|
||||
F: xen/arch/x86/include/asm/x86_*/efi*.h
|
||||
F: xen/common/efi/
|
||||
F: xen/include/efi/
|
||||
F: xen/include/asm-x86/efi*.h
|
||||
F: xen/include/asm-x86/x86_*/efi*.h
|
||||
|
||||
GDBSX DEBUGGER
|
||||
M: Elena Ufimtseva <elena.ufimtseva@oracle.com>
|
||||
@@ -319,8 +318,8 @@ F: xen/include/xen/hypfs.h
|
||||
INTEL(R) TRUSTED EXECUTION TECHNOLOGY (TXT)
|
||||
R: Lukasz Hawrylko <lukasz.hawrylko@linux.intel.com>
|
||||
S: Odd Fixes
|
||||
F: xen/arch/x86/include/asm/tboot.h
|
||||
F: xen/arch/x86/tboot.c
|
||||
F: xen/include/asm-x86/tboot.h
|
||||
|
||||
INTEL(R) VT FOR DIRECTED I/O (VT-D)
|
||||
M: Kevin Tian <kevin.tian@intel.com>
|
||||
@@ -331,10 +330,10 @@ INTEL(R) VT FOR X86 (VT-X)
|
||||
M: Jun Nakajima <jun.nakajima@intel.com>
|
||||
M: Kevin Tian <kevin.tian@intel.com>
|
||||
S: Supported
|
||||
F: xen/arch/x86/hvm/vmx/
|
||||
F: xen/arch/x86/mm/p2m-ept.c
|
||||
F: xen/include/asm-x86/hvm/vmx/
|
||||
F: xen/arch/x86/cpu/vpmu_intel.c
|
||||
F: xen/arch/x86/hvm/vmx/
|
||||
F: xen/arch/x86/include/asm/hvm/vmx/
|
||||
F: xen/arch/x86/mm/p2m-ept.c
|
||||
|
||||
IOMMU VENDOR INDEPENDENT CODE
|
||||
M: Jan Beulich <jbeulich@suse.com>
|
||||
@@ -401,10 +400,10 @@ M: Ross Lagerwall <ross.lagerwall@citrix.com>
|
||||
S: Supported
|
||||
F: docs/misc/livepatch.pandoc
|
||||
F: tools/misc/xen-livepatch.c
|
||||
F: xen/arch/*/include/asm/livepatch.h
|
||||
F: xen/arch/*/livepatch*
|
||||
F: xen/arch/*/*/livepatch*
|
||||
F: xen/common/livepatch*
|
||||
F: xen/include/asm-*/livepatch.h
|
||||
F: xen/include/xen/livepatch*
|
||||
F: xen/test/livepatch/*
|
||||
|
||||
@@ -473,7 +472,6 @@ R: Connor Davis <connojdavis@gmail.com>
|
||||
S: Supported
|
||||
F: config/riscv64.mk
|
||||
F: xen/arch/riscv/
|
||||
F: xen/include/asm-riscv/
|
||||
|
||||
RTDS SCHEDULER
|
||||
M: Dario Faggioli <dfaggioli@suse.com>
|
||||
@@ -502,8 +500,8 @@ F: stubdom/
|
||||
TEE MEDIATORS
|
||||
M: Volodymyr Babchuk <volodymyr_babchuk@epam.com>
|
||||
S: Supported
|
||||
F: xen/arch/arm/include/asm/tee
|
||||
F: xen/arch/arm/tee/
|
||||
F: xen/include/asm-arm/tee
|
||||
|
||||
TOOLSTACK
|
||||
M: Wei Liu <wl@xen.org>
|
||||
@@ -531,6 +529,8 @@ F: tools/misc/xen-access.c
|
||||
F: xen/arch/*/monitor.c
|
||||
F: xen/arch/*/vm_event.c
|
||||
F: xen/arch/arm/mem_access.c
|
||||
F: xen/arch/x86/include/asm/hvm/monitor.h
|
||||
F: xen/arch/x86/include/asm/hvm/vm_event.h
|
||||
F: xen/arch/x86/mm/mem_access.c
|
||||
F: xen/arch/x86/hvm/monitor.c
|
||||
F: xen/arch/x86/hvm/vm_event.c
|
||||
@@ -540,8 +540,6 @@ F: xen/common/vm_event.c
|
||||
F: xen/include/*/mem_access.h
|
||||
F: xen/include/*/monitor.h
|
||||
F: xen/include/*/vm_event.h
|
||||
F: xen/include/asm-x86/hvm/monitor.h
|
||||
F: xen/include/asm-x86/hvm/vm_event.h
|
||||
|
||||
VPCI
|
||||
M: Roger Pau Monné <roger.pau@citrix.com>
|
||||
@@ -567,7 +565,6 @@ R: Wei Liu <wl@xen.org>
|
||||
S: Supported
|
||||
L: xen-devel@lists.xenproject.org
|
||||
F: xen/arch/x86/
|
||||
F: xen/include/asm-x86/
|
||||
F: xen/include/public/arch-x86/
|
||||
F: xen/include/xen/lib/x86
|
||||
F: xen/lib/x86
|
||||
@@ -587,10 +584,10 @@ F: xen/arch/x86/hvm/emulate.c
|
||||
F: xen/arch/x86/hvm/intercept.c
|
||||
F: xen/arch/x86/hvm/io.c
|
||||
F: xen/arch/x86/hvm/ioreq.c
|
||||
F: xen/include/asm-x86/hvm/emulate.h
|
||||
F: xen/include/asm-x86/hvm/io.h
|
||||
F: xen/include/asm-x86/hvm/ioreq.h
|
||||
F: xen/include/asm-x86/ioreq.h
|
||||
F: xen/arch/x86/include/asm/hvm/emulate.h
|
||||
F: xen/arch/x86/include/asm/hvm/io.h
|
||||
F: xen/arch/x86/include/asm/hvm/ioreq.h
|
||||
F: xen/arch/x86/include/asm/ioreq.h
|
||||
|
||||
X86 MEMORY MANAGEMENT
|
||||
M: Jan Beulich <jbeulich@suse.com>
|
||||
@@ -622,10 +619,10 @@ M: Wei Liu <wl@xen.org>
|
||||
S: Supported
|
||||
F: xen/arch/x86/guest/hyperv/
|
||||
F: xen/arch/x86/hvm/viridian/
|
||||
F: xen/include/asm-x86/guest/hyperv.h
|
||||
F: xen/include/asm-x86/guest/hyperv-hcall.h
|
||||
F: xen/include/asm-x86/guest/hyperv-tlfs.h
|
||||
F: xen/include/asm-x86/hvm/viridian.h
|
||||
F: xen/arch/x86/include/asm/guest/hyperv.h
|
||||
F: xen/arch/x86/include/asm/guest/hyperv-hcall.h
|
||||
F: xen/arch/x86/include/asm/guest/hyperv-tlfs.h
|
||||
F: xen/arch/x86/include/asm/hvm/viridian.h
|
||||
|
||||
XENSTORE
|
||||
M: Wei Liu <wl@xen.org>
|
||||
|
||||
@@ -30,7 +30,7 @@ xen-dir:
|
||||
ln -s $(XEN_ROOT)/xen/include/acpi/platform acpi/
|
||||
ln -s $(XEN_ROOT)/xen/include/acpi/ac*.h acpi/
|
||||
ifeq ($(CONFIG_X86),y)
|
||||
ln -s $(XEN_ROOT)/xen/include/asm-x86 xen/asm
|
||||
ln -s $(XEN_ROOT)/xen/arch/x86/include/asm xen/
|
||||
mkdir -p xen/lib/x86
|
||||
ln -s $(filter-out %autogen.h,$(wildcard $(XEN_ROOT)/xen/include/xen/lib/x86/*.h)) xen/lib/x86/
|
||||
ln -s $(XEN_ROOT)/xen/include/xen/lib/x86/Makefile xen/lib/x86/
|
||||
|
||||
@@ -56,11 +56,11 @@
|
||||
#define ERROR(a, b...) fprintf(stderr, a "\n", ## b)
|
||||
#define PERROR(a, b...) fprintf(stderr, a ": %s\n", ## b, strerror(errno))
|
||||
|
||||
/* From xen/include/asm-x86/processor.h */
|
||||
/* From xen/arch/x86/include/asm/processor.h */
|
||||
#define X86_TRAP_DEBUG 1
|
||||
#define X86_TRAP_INT3 3
|
||||
|
||||
/* From xen/include/asm-x86/x86-defns.h */
|
||||
/* From xen/arch/x86/include/asm/x86-defns.h */
|
||||
#define X86_CR4_PGE 0x00000080 /* enable global pages */
|
||||
|
||||
typedef struct vm_event {
|
||||
|
||||
@@ -32,7 +32,7 @@ distclean: clean
|
||||
.PHONY: install
|
||||
install:
|
||||
|
||||
hpet.h: $(XEN_ROOT)/xen/include/asm-x86/hpet.h
|
||||
hpet.h: $(XEN_ROOT)/xen/arch/x86/include/asm/hpet.h
|
||||
cp $< $@
|
||||
|
||||
hpet.c: $(XEN_ROOT)/xen/arch/x86/hvm/hpet.c
|
||||
|
||||
+6
-7
@@ -166,7 +166,7 @@ ifeq ($(TARGET_ARCH),x86)
|
||||
t1 = $(call as-insn,$(CC),".L0: .L1: .skip (.L1 - .L0)",,-no-integrated-as)
|
||||
|
||||
# Check whether clang asm()-s support .include.
|
||||
t2 = $(call as-insn,$(CC) -I$(BASEDIR)/include,".include \"asm-x86/asm-defns.h\"",,-no-integrated-as)
|
||||
t2 = $(call as-insn,$(CC) -I$(BASEDIR)/arch/x86/include,".include \"asm/asm-defns.h\"",,-no-integrated-as)
|
||||
|
||||
# Check whether clang keeps .macro-s between asm()-s:
|
||||
# https://bugs.llvm.org/show_bug.cgi?id=36110
|
||||
@@ -382,7 +382,7 @@ _clean: delete-unfresh-files
|
||||
-o -name ".*.o.tmp" -o -name "*~" -o -name "core" \
|
||||
-o -name "*.gcno" -o -name ".*.cmd" -o -name "lib.a" \) -exec rm -f {} \;
|
||||
rm -f include/asm $(TARGET) $(TARGET).gz $(TARGET).efi $(TARGET).efi.map $(TARGET)-syms $(TARGET)-syms.map *~ core
|
||||
rm -f asm-offsets.s include/asm-*/asm-offsets.h
|
||||
rm -f asm-offsets.s arch/*/include/asm/asm-offsets.h
|
||||
rm -f .banner .allconfig.tmp
|
||||
|
||||
.PHONY: _distclean
|
||||
@@ -396,7 +396,6 @@ $(TARGET).gz: $(TARGET)
|
||||
$(TARGET): delete-unfresh-files
|
||||
$(MAKE) -C tools
|
||||
$(MAKE) -f $(BASEDIR)/Rules.mk include/xen/compile.h
|
||||
[ -e include/asm ] || ln -sf asm-$(TARGET_ARCH) include/asm
|
||||
[ -e arch/$(TARGET_ARCH)/efi ] && for f in $$(cd common/efi; echo *.[ch]); \
|
||||
do test -r arch/$(TARGET_ARCH)/efi/$$f || \
|
||||
ln -nsf ../../../common/efi/$$f arch/$(TARGET_ARCH)/efi/; \
|
||||
@@ -404,7 +403,7 @@ $(TARGET): delete-unfresh-files
|
||||
true
|
||||
$(MAKE) -f $(BASEDIR)/Rules.mk -C include
|
||||
$(MAKE) -f $(BASEDIR)/Rules.mk -C arch/$(TARGET_ARCH) include
|
||||
$(MAKE) -f $(BASEDIR)/Rules.mk include/asm-$(TARGET_ARCH)/asm-offsets.h
|
||||
$(MAKE) -f $(BASEDIR)/Rules.mk arch/$(TARGET_ARCH)/include/asm/asm-offsets.h
|
||||
$(MAKE) -f $(BASEDIR)/Rules.mk -C arch/$(TARGET_ARCH) $@
|
||||
|
||||
# drivers/char/console.o contains static banner/compile info. Blow it away.
|
||||
@@ -450,7 +449,7 @@ asm-offsets.s: arch/$(TARGET_ARCH)/$(TARGET_SUBARCH)/asm-offsets.c
|
||||
$(CC) $(call cpp_flags,$(c_flags)) -S -g0 -o $@.new -MQ $@ $<
|
||||
$(call move-if-changed,$@.new,$@)
|
||||
|
||||
include/asm-$(TARGET_ARCH)/asm-offsets.h: asm-offsets.s
|
||||
arch/$(TARGET_ARCH)/include/asm/asm-offsets.h: asm-offsets.s
|
||||
@(set -e; \
|
||||
echo "/*"; \
|
||||
echo " * DO NOT MODIFY."; \
|
||||
@@ -468,8 +467,8 @@ include/asm-$(TARGET_ARCH)/asm-offsets.h: asm-offsets.s
|
||||
|
||||
SUBDIRS = xsm arch/$(TARGET_ARCH) common drivers lib test
|
||||
define all_sources
|
||||
( find include/asm-$(TARGET_ARCH) -name '*.h' -print; \
|
||||
find include -name 'asm-*' -prune -o -name '*.h' -print; \
|
||||
( find arch/$(TARGET_ARCH)/include -name '*.h' -print; \
|
||||
find include -name '*.h' -print; \
|
||||
find $(SUBDIRS) -name '*.[chS]' -print )
|
||||
endef
|
||||
|
||||
|
||||
@@ -8,19 +8,19 @@ arm64:
|
||||
|
||||
bitops: last sync @ v3.16-rc6 (last commit: 8715466b6027)
|
||||
|
||||
linux/arch/arm64/include/asm/bitops.h xen/include/asm-arm/arm64/bitops.h
|
||||
linux/arch/arm64/include/asm/bitops.h xen/arch/arm/include/asm/arm64/bitops.h
|
||||
|
||||
---------------------------------------------------------------------
|
||||
|
||||
cmpxchg: last sync @ v3.16-rc6 (last commit: e1dfda9ced9b)
|
||||
|
||||
linux/arch/arm64/include/asm/cmpxchg.h xen/include/asm-arm/arm64/cmpxchg.h
|
||||
linux/arch/arm64/include/asm/cmpxchg.h xen/arch/arm/include/asm/arm64/cmpxchg.h
|
||||
|
||||
---------------------------------------------------------------------
|
||||
|
||||
atomics: last sync @ v3.16-rc6 (last commit: 8715466b6027)
|
||||
|
||||
linux/arch/arm64/include/asm/atomic.h xen/include/asm-arm/arm64/atomic.h
|
||||
linux/arch/arm64/include/asm/atomic.h xen/arch/arm/include/asm/arm64/atomic.h
|
||||
|
||||
The following functions were taken from Linux:
|
||||
atomic_add(), atomic_add_return(), atomic_sub(), atomic_sub_return(),
|
||||
@@ -76,13 +76,13 @@ diff -u ../linux/arch/arm/lib/findbit.S xen/arch/arm/arm32/lib/findbit.S
|
||||
|
||||
cmpxchg: last sync @ v3.16-rc6 (last commit: c32ffce0f66e)
|
||||
|
||||
linux/arch/arm/include/asm/cmpxchg.h xen/include/asm-arm/arm32/cmpxchg.h
|
||||
linux/arch/arm/include/asm/cmpxchg.h xen/arch/arm/include/asm/arm32/cmpxchg.h
|
||||
|
||||
---------------------------------------------------------------------
|
||||
|
||||
atomics: last sync @ v3.16-rc6 (last commit: 030d0178bdbd)
|
||||
|
||||
linux/arch/arm/include/asm/atomic.h xen/include/asm-arm/arm32/atomic.h
|
||||
linux/arch/arm/include/asm/atomic.h xen/arch/arm/include/asm/arm32/atomic.h
|
||||
|
||||
The following functions were taken from Linux:
|
||||
atomic_add(), atomic_add_return(), atomic_sub(), atomic_sub_return(),
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
# arm-specific definitions
|
||||
|
||||
CFLAGS += -I$(BASEDIR)/include
|
||||
CFLAGS += -I$(BASEDIR)/arch/$(TARGET_ARCH)/include
|
||||
|
||||
$(call cc-options-add,CFLAGS,CC,$(EMBEDDED_EXTRA_CFLAGS))
|
||||
$(call cc-option-add,CFLAGS,CC,-Wnested-externs)
|
||||
|
||||
@@ -599,7 +599,7 @@ remove_identity_mapping:
|
||||
strd r2, r3, [r0, r1]
|
||||
|
||||
identity_mapping_removed:
|
||||
/* See asm-arm/arm32/flushtlb.h for the explanation of the sequence. */
|
||||
/* See asm/arm32/flushtlb.h for the explanation of the sequence. */
|
||||
dsb nshst
|
||||
mcr CP32(r0, TLBIALLH)
|
||||
dsb nsh
|
||||
|
||||
@@ -737,7 +737,7 @@ remove_identity_mapping:
|
||||
str xzr, [x0, x1, lsl #3]
|
||||
|
||||
identity_mapping_removed:
|
||||
/* See asm-arm/arm64/flushtlb.h for the explanation of the sequence. */
|
||||
/* See asm/arm64/flushtlb.h for the explanation of the sequence. */
|
||||
dsb nshst
|
||||
tlbi alle2
|
||||
dsb nsh
|
||||
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loaded 100 of 330 files, more files were not shown because too many files have changed in this diff.
Show more