arm: import the files required to "arm" port.
PATCH 2/14 arm: import the files required to "arm" port.
arm: import the files required to "arm" port.
config/arm.mk | 28 +++
xen/arch/arm/Makefile | 47 +++++ xen/arch/arm/Rules.mk | 25 +++ xen/arch/arm/lib/Makefile | 11 + xen/arch/arm/lib/ashldi3.S | 45 +++++ xen/arch/arm/lib/ashrdi3.S | 46 +++++ xen/arch/arm/lib/bpabi-asm.S | 55 ++++++ xen/arch/arm/lib/bpabi.c | 51 ++++++ xen/arch/arm/lib/clearbit.S | 24 ++ xen/arch/arm/lib/copy_template.S | 255 ++++++++++++++++++++++++++++++ xen/arch/arm/lib/delay.S | 7 + xen/arch/arm/lib/div64.S | 199 ++++++++++++++++++++++++ xen/arch/arm/lib/findbit.S | 81 +++++++++ xen/arch/arm/lib/gcclib.h | 33 ++++ xen/arch/arm/lib/getuser.S | 77 +++++++++ xen/arch/arm/lib/lib1funcs.S | 256 +++++++++++++++++++++++++++++++ xen/arch/arm/lib/longlong.h | 183 ++++++++++++++++++++++ xen/arch/arm/lib/lshrdi3.S | 17 ++ xen/arch/arm/lib/math.c | 3 + xen/arch/arm/lib/memchr.S | 14 + xen/arch/arm/lib/memcpy.S | 60 +++++++ xen/arch/arm/lib/memmove.S | 207 +++++++++++++++++++++++++ xen/arch/arm/lib/memory.S | 421 +++++++++++++++++++++++++++++++++++++++++++++++++++ xen/arch/arm/lib/memset.S | 69 ++++++++ xen/arch/arm/lib/memzero.S | 71 ++++++++ xen/arch/arm/lib/muldi3.c | 86 ++++++++++ xen/arch/arm/lib/putuser.S | 75 +++++++++ xen/arch/arm/lib/setbit.S | 22 ++ xen/arch/arm/lib/strchr.S | 15 + xen/arch/arm/lib/testchangebit.S | 22 ++ xen/arch/arm/lib/testclearbit.S | 22 ++ xen/arch/arm/lib/testsetbit.S | 20 ++ xen/arch/arm/lib/uaccess.S | 684 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ xen/arch/arm/lib/udivdi3.c | 242 +++++++++++++++++++++++++++++ xen/arch/arm/lib/uldivmod.S | 148 +++++++++++++++++ xen/arch/arm/tegra/Makefile | 1 + xen/arch/arm/tegra/Rules.mk | 1 + xen/arch/arm/tegra/dummy.c | 3 + xen/arch/arm/xen/Makefile | 19 ++ xen/arch/arm/xen/arch_domain.c | 212 +++++++++++++++++++++++++ xen/arch/arm/xen/arch_domctl.c | 43 +++++ xen/arch/arm/xen/arch_sysctl.c | 38 ++++ xen/arch/arm/xen/asm-offsets.c | 40 ++++ xen/arch/arm/xen/bug.c | 32 +++ xen/arch/arm/xen/cpu.c | 97 +++++++++++ xen/arch/arm/xen/crash.c | 25 +++ xen/arch/arm/xen/domain_build.c | 47 +++++ xen/arch/arm/xen/domain_page.c | 22 ++ xen/arch/arm/xen/fault.c | 123 ++++++++++++++ xen/arch/arm/xen/grant_table.c | 53 ++++++ xen/arch/arm/xen/iommu.c | 24 ++ xen/arch/arm/xen/irq.c | 84 ++++++++++ xen/arch/arm/xen/machine_kexec.c | 31 +++ xen/arch/arm/xen/mm.c | 194 +++++++++++++++++++++++ xen/arch/arm/xen/p2m.c | 44 +++++ xen/arch/arm/xen/pci.c | 74 ++++++++ xen/arch/arm/xen/perfmon.c | 26 +++ xen/arch/arm/xen/setup.c | 64 +++++++ xen/arch/arm/xen/shutdown.c | 38 ++++ xen/arch/arm/xen/time.c | 83 ++++++++++ xen/arch/arm/xen/tlb.c | 26 +++ xen/arch/arm/xen/xen.lds.S | 159 +++++++++++++++++++ xen/include/asm-arm/acpi.h | 8 + xen/include/asm-arm/asm-macros.h | 106 ++++++++++++ xen/include/asm-arm/atomic.h | 179 +++++++++++++++++++++ xen/include/asm-arm/bitops.h | 193 +++++++++++++++++++++++ xen/include/asm-arm/bug.h | 32 +++ xen/include/asm-arm/byteorder.h | 9 + xen/include/asm-arm/cache.h | 11 + xen/include/asm-arm/config.h | 61 +++++++ xen/include/asm-arm/cpu-domain.h | 39 ++++ xen/include/asm-arm/current.h | 73 ++++++++ xen/include/asm-arm/debugger.h | 24 ++ xen/include/asm-arm/delay.h | 6 + xen/include/asm-arm/div64.h | 43 +++++ xen/include/asm-arm/domain.h | 79 +++++++++ xen/include/asm-arm/elf.h | 53 ++++++ xen/include/asm-arm/event.h | 39 ++++ xen/include/asm-arm/flushtlb.h | 25 +++ xen/include/asm-arm/grant_table.h | 62 +++++++ xen/include/asm-arm/guest_access.h | 136 ++++++++++++++++ xen/include/asm-arm/hardirq.h | 21 ++ xen/include/asm-arm/hypercall.h | 68 ++++++++ xen/include/asm-arm/init.h | 4 + xen/include/asm-arm/io.h | 32 +++ xen/include/asm-arm/iocap.h | 15 + xen/include/asm-arm/iommu.h | 14 + xen/include/asm-arm/irq.h | 50 ++++++ xen/include/asm-arm/mm.h | 237 ++++++++++++++++++++++++++++ xen/include/asm-arm/mmu.h | 11 + xen/include/asm-arm/multicall.h | 9 + xen/include/asm-arm/numa.h | 21 ++ xen/include/asm-arm/p2m.h | 10 + xen/include/asm-arm/page.h | 95 +++++++++++ xen/include/asm-arm/pci.h | 9 + xen/include/asm-arm/percpu.h | 16 + xen/include/asm-arm/processor.h | 219 ++++++++++++++++++++++++++ xen/include/asm-arm/regs.h | 17 ++ xen/include/asm-arm/smp.h | 28 +++ xen/include/asm-arm/softirq.h | 11 + xen/include/asm-arm/spinlock.h | 200 ++++++++++++++++++++++++ xen/include/asm-arm/string.h | 49 +++++ xen/include/asm-arm/system.h | 148 +++++++++++++++++ xen/include/asm-arm/tegra/config.h | 11 + xen/include/asm-arm/time.h | 24 ++ xen/include/asm-arm/trace.h | 6 + xen/include/asm-arm/types.h | 58 +++++++ xen/include/asm-arm/xenoprof.h | 43 +++++ xen/include/public/arch-arm.h | 180 +++++++++++++++++++++ 109 files changed, 8008 insertions(+), 0 deletions(-)
arm: import the files required to "arm" port.
config/arm.mk | 28 +++ xen/arch/arm/Makefile | 47 +++++ xen/arch/arm/Rules.mk | 25 +++ xen/arch/arm/lib/Makefile | 11 + xen/arch/arm/lib/ashldi3.S | 45 +++++ xen/arch/arm/lib/ashrdi3.S | 46 +++++ xen/arch/arm/lib/bpabi-asm.S | 55 ++++++ xen/arch/arm/lib/bpabi.c | 51 ++++++ xen/arch/arm/lib/clearbit.S | 24 ++ xen/arch/arm/lib/copy_template.S | 255 ++++++++++++++++++++++++++++++ xen/arch/arm/lib/delay.S | 7 + xen/arch/arm/lib/div64.S | 199 ++++++++++++++++++++++++ xen/arch/arm/lib/findbit.S | 81 +++++++++ xen/arch/arm/lib/gcclib.h | 33 ++++ xen/arch/arm/lib/getuser.S | 77 +++++++++ xen/arch/arm/lib/lib1funcs.S | 256 +++++++++++++++++++++++++++++++ xen/arch/arm/lib/longlong.h | 183 ++++++++++++++++++++++ xen/arch/arm/lib/lshrdi3.S | 17 ++ xen/arch/arm/lib/math.c | 3 + xen/arch/arm/lib/memchr.S | 14 + xen/arch/arm/lib/memcpy.S | 60 +++++++ xen/arch/arm/lib/memmove.S | 207 +++++++++++++++++++++++++ xen/arch/arm/lib/memory.S | 421 +++++++++++++++++++++++++++++++++++++++++++++++++++ xen/arch/arm/lib/memset.S | 69 ++++++++ xen/arch/arm/lib/memzero.S | 71 ++++++++ xen/arch/arm/lib/muldi3.c | 86 ++++++++++ xen/arch/arm/lib/putuser.S | 75 +++++++++ xen/arch/arm/lib/setbit.S | 22 ++ xen/arch/arm/lib/strchr.S | 15 + xen/arch/arm/lib/testchangebit.S | 22 ++ xen/arch/arm/lib/testclearbit.S | 22 ++ xen/arch/arm/lib/testsetbit.S | 20 ++ xen/arch/arm/lib/uaccess.S | 684 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ xen/arch/arm/lib/udivdi3.c | 242 +++++++++++++++++++++++++++++ xen/arch/arm/lib/uldivmod.S | 148 +++++++++++++++++ xen/arch/arm/tegra/Makefile | 1 + xen/arch/arm/tegra/Rules.mk | 1 + xen/arch/arm/tegra/dummy.c | 3 + xen/arch/arm/xen/Makefile | 19 ++ xen/arch/arm/xen/arch_domain.c | 212 +++++++++++++++++++++++++ xen/arch/arm/xen/arch_domctl.c | 43 +++++ xen/arch/arm/xen/arch_sysctl.c | 38 ++++ xen/arch/arm/xen/asm-offsets.c | 40 ++++ xen/arch/arm/xen/bug.c | 32 +++ xen/arch/arm/xen/cpu.c | 97 +++++++++++ xen/arch/arm/xen/crash.c | 25 +++ xen/arch/arm/xen/domain_build.c | 47 +++++ xen/arch/arm/xen/domain_page.c | 22 ++ xen/arch/arm/xen/fault.c | 123 ++++++++++++++ xen/arch/arm/xen/grant_table.c | 53 ++++++ xen/arch/arm/xen/iommu.c | 24 ++ xen/arch/arm/xen/irq.c | 84 ++++++++++ xen/arch/arm/xen/machine_kexec.c | 31 +++ xen/arch/arm/xen/mm.c | 194 +++++++++++++++++++++++ xen/arch/arm/xen/p2m.c | 44 +++++ xen/arch/arm/xen/pci.c | 74 ++++++++ xen/arch/arm/xen/perfmon.c | 26 +++ xen/arch/arm/xen/setup.c | 64 +++++++ xen/arch/arm/xen/shutdown.c | 38 ++++ xen/arch/arm/xen/time.c | 83 ++++++++++ xen/arch/arm/xen/tlb.c | 26 +++ xen/arch/arm/xen/xen.lds.S | 159 +++++++++++++++++++ xen/include/asm-arm/acpi.h | 8 + xen/include/asm-arm/asm-macros.h | 106 ++++++++++++ xen/include/asm-arm/atomic.h | 179 +++++++++++++++++++++ xen/include/asm-arm/bitops.h | 193 +++++++++++++++++++++++ xen/include/asm-arm/bug.h | 32 +++ xen/include/asm-arm/byteorder.h | 9 + xen/include/asm-arm/cache.h | 11 + xen/include/asm-arm/config.h | 61 +++++++ xen/include/asm-arm/cpu-domain.h | 39 ++++ xen/include/asm-arm/current.h | 73 ++++++++ xen/include/asm-arm/debugger.h | 24 ++ xen/include/asm-arm/delay.h | 6 + xen/include/asm-arm/div64.h | 43 +++++ xen/include/asm-arm/domain.h | 79 +++++++++ xen/include/asm-arm/elf.h | 53 ++++++ xen/include/asm-arm/event.h | 39 ++++ xen/include/asm-arm/flushtlb.h | 25 +++ xen/include/asm-arm/grant_table.h | 62 +++++++ xen/include/asm-arm/guest_access.h | 136 ++++++++++++++++ xen/include/asm-arm/hardirq.h | 21 ++ xen/include/asm-arm/hypercall.h | 68 ++++++++ xen/include/asm-arm/init.h | 4 + xen/include/asm-arm/io.h | 32 +++ xen/include/asm-arm/iocap.h | 15 + xen/include/asm-arm/iommu.h | 14 + xen/include/asm-arm/irq.h | 50 ++++++ xen/include/asm-arm/mm.h | 237 ++++++++++++++++++++++++++++ xen/include/asm-arm/mmu.h | 11 + xen/include/asm-arm/multicall.h | 9 + xen/include/asm-arm/numa.h | 21 ++ xen/include/asm-arm/p2m.h | 10 + xen/include/asm-arm/page.h | 95 +++++++++++ xen/include/asm-arm/pci.h | 9 + xen/include/asm-arm/percpu.h | 16 + xen/include/asm-arm/processor.h | 219 ++++++++++++++++++++++++++ xen/include/asm-arm/regs.h | 17 ++ xen/include/asm-arm/smp.h | 28 +++ xen/include/asm-arm/softirq.h | 11 + xen/include/asm-arm/spinlock.h | 200 ++++++++++++++++++++++++ xen/include/asm-arm/string.h | 49 +++++ xen/include/asm-arm/system.h | 148 +++++++++++++++++ xen/include/asm-arm/tegra/config.h | 11 + xen/include/asm-arm/time.h | 24 ++ xen/include/asm-arm/trace.h | 6 + xen/include/asm-arm/types.h | 58 +++++++ xen/include/asm-arm/xenoprof.h | 43 +++++ xen/include/public/arch-arm.h | 180 +++++++++++++++++++++ 109 files changed, 8008 insertions(+), 0 deletions(-)
config/arm.mk new file +28 -0
@@ -0,0 +1,28 @@ +# +# Cross Tool chain configuration +# +TOOLCHAIN_PREFIX = /opt/arm-none-linux-gnueabi-old/bin/arm-none-linux-gnueabi- + +# +# Toolchain configuration +# +AS = $(TOOLCHAIN_PREFIX)as +LD = $(TOOLCHAIN_PREFIX)ld +CC = $(TOOLCHAIN_PREFIX)gcc +CPP = $(TOOLCHAIN_PREFIX)gcc -E +AR = $(TOOLCHAIN_PREFIX)ar +RANLIB = $(TOOLCHAIN_PREFIX)ranlib +NM = $(TOOLCHAIN_PREFIX)nm +STRIP = $(TOOLCHAIN_PREFIX)strip +OBJCOPY = $(TOOLCHAIN_PREFIX)objcopy +OBJDUMP = $(TOOLCHAIN_PREFIX)objdump + +DISTDIR ?= $(XEN_ROOT)/dist +DESTDIR ?= $(DISTDIR)/install + +INSTALL = install +INSTALL_DIR = $(INSTALL) -d -m0755 +INSTALL_DATA = $(INSTALL) -m0644 +INSTALL_PROG = $(INSTALL) -m0755 + +CONFIG_ARM := y
xen/arch/arm/Makefile new file +47 -0
47 lines not on this page · raw message
xen/arch/arm/Rules.mk new file +25 -0
@@ -0,0 +1,25 @@ +######################################## +# arm-specific definitions + +# +# If you change any of these configuration options then you must +# 'make clean' before rebuilding. +# + +ifeq ($(TARGET_SUBARCH),) +$(error "XEN_TARGET_SUBARCH must be supplied.") +endif + +xenoprof := y + +# Each SoC may have its own build rules +-include $(BASEDIR)/arch/$(TARGET_ARCH)/$(TARGET_SUBARCH)/Rules.mk + +CFLAGS += -mabi=aapcs-linux -mno-thumb-interwork -fno-builtin -fno-common +CFLAGS += -nostdinc -fno-strict-aliasing -mno-thumb-interwork +CFLAGS += -iwithprefix include -Wno-pointer-arith -pipe +CFLAGS += -I$(BASEDIR)/include -I$(BASEDIR)/include/security -I$(BASEDIR)/include/security/crypto +CFLAGS += $(CFLAGS-y) + + +
xen/arch/arm/lib/Makefile new file +11 -0
@@ -0,0 +1,11 @@ +obj-y += div64.o +obj-y += memzero.o memset.o memcpy.o memchr.o memmove.o +obj-y += strchr.o lib1funcs.o +obj-y += clearbit.o testchangebit.o testclearbit.o testsetbit.o setbit.o findbit.o +obj-y += getuser.o putuser.o uaccess.o +obj-y += ashldi3.o ashrdi3.o + +obj-y += muldi3.o +obj-y += delay.o +obj-y += lshrdi3.o bpabi.o bpabi-asm.o +
xen/arch/arm/lib/ashldi3.S new file +45 -0
45 lines not on this page · raw message
xen/arch/arm/lib/ashrdi3.S new file +46 -0
46 lines not on this page · raw message
xen/arch/arm/lib/bpabi-asm.S new file +55 -0
55 lines not on this page · raw message
xen/arch/arm/lib/bpabi.c new file +51 -0
51 lines not on this page · raw message
xen/arch/arm/lib/clearbit.S new file +24 -0
@@ -0,0 +1,24 @@ +#include <xen/config.h> +#include <asm/processor.h> +#include <asm/asm-macros.h> + + .text + +/* + * Purpose : Function to clear a bit + * Prototype: int clear_bit(int bit, void *addr) + */ +ENTRY(_clear_bit_be) + eor r0, r0, #0x18 @ big endian byte ordering +ENTRY(_clear_bit_le) + and r2, r0, #7 + mov r3, #1 + mov r3, r3, lsl r2 + save_and_disable_irqs ip, r2 + ldrb r2, [r1, r0, lsr #3] + bic r2, r2, r3 + strb r2, [r1, r0, lsr #3] + restore_irqs ip + mov pc,lr + +
xen/arch/arm/lib/copy_template.S new file +255 -0
255 lines not on this page · raw message
xen/arch/arm/lib/delay.S new file +7 -0
@@ -0,0 +1,7 @@ +#include <xen/config.h> +#include <asm/asm-macros.h> + + .text + +ENTRY(_udelay) + mov pc,lr
xen/arch/arm/lib/div64.S new file +199 -0
199 lines not on this page · raw message
xen/arch/arm/lib/findbit.S new file +81 -0
81 lines not on this page · raw message
xen/arch/arm/lib/gcclib.h new file +33 -0
@@ -0,0 +1,33 @@ +/* gcclib.h -- definitions for various functions 'borrowed' from gcc-2.95.3 */ +/* I Molton 29/07/01 */ + +#ifndef __GCCLIB_H__ +#define __GCCLIB_H__ +#define BITS_PER_UNIT 8 +#define SI_TYPE_SIZE (sizeof (SItype) * BITS_PER_UNIT) + +typedef unsigned int UQItype __attribute__ ((mode (QI ))); +typedef int SItype __attribute__ ((mode (SI ))); +typedef unsigned int USItype __attribute__ ((mode (SI ))); +typedef int DItype __attribute__ ((mode (DI ))); +typedef int word_type __attribute__ ((mode (__word__))); +typedef unsigned int UDItype __attribute__ ((mode (DI ))); + +#ifdef __ARMEB__ +struct DIstruct {SItype high, low;}; +#else +struct DIstruct {SItype low, high;}; +#endif + +typedef union +{ +struct DIstruct s; +DItype ll; +}DIunion ; + +typedef struct __attribute__((reg_return)) +{ +long long quot; +long long rem; +}lldiv_t_rr ; +#endif
xen/arch/arm/lib/getuser.S new file +77 -0
77 lines not on this page · raw message
xen/arch/arm/lib/lib1funcs.S new file +256 -0
256 lines not on this page · raw message
xen/arch/arm/lib/longlong.h new file +183 -0
183 lines not on this page · raw message
xen/arch/arm/lib/lshrdi3.S new file +17 -0
@@ -0,0 +1,17 @@ +#include <xen/config.h> +#include <asm/asm-macros.h> + +#define al r0 +#define ah r1 + +ENTRY(__lshrdi3) +ENTRY(__aeabi_llsr) + + subs r3, r2, #32 + rsb ip, r2, #32 + movmi al, al, lsr r2 + movpl al, ah, lsr r3 + orrmi al, al, ah, lsl ip + mov ah, ah, lsr r2 + mov pc, lr +
xen/arch/arm/lib/math.c new file +3 -0
@@ -0,0 +1,3 @@ +void mdummy (void ) +{ +}
xen/arch/arm/lib/memchr.S new file +14 -0
@@ -0,0 +1,14 @@ +#include <xen/config.h> +#include <asm/asm-macros.h> + + .text + .align 5 +ENTRY(memchr) +1: subs r2, r2, #1 + bmi 2f + ldrb r3, [r0], #1 + teq r3, r1 + bne 1b + sub r0, r0, #1 +2: movne r0, #0 + mov pc,lr
xen/arch/arm/lib/memcpy.S new file +60 -0
60 lines not on this page · raw message
xen/arch/arm/lib/memmove.S new file +207 -0
207 lines not on this page · raw message
xen/arch/arm/lib/memory.S new file +421 -0
421 lines not on this page · raw message
xen/arch/arm/lib/memset.S new file +69 -0
69 lines not on this page · raw message
xen/arch/arm/lib/memzero.S new file +71 -0
71 lines not on this page · raw message
xen/arch/arm/lib/muldi3.c new file +86 -0
86 lines not on this page · raw message
xen/arch/arm/lib/putuser.S new file +75 -0
75 lines not on this page · raw message
xen/arch/arm/lib/setbit.S new file +22 -0
@@ -0,0 +1,22 @@ +#include <xen/config.h> +#include <asm/processor.h> +#include <asm/asm-macros.h> + + .text + +/* + * Purpose : Function to set a bit + * Prototype: int set_bit(int bit, void *addr) + */ +ENTRY(_set_bit_be) + eor r0, r0, #0x18 @ big endian byte ordering +ENTRY(_set_bit_le) + and r2, r0, #7 + mov r3, #1 + mov r3, r3, lsl r2 + save_and_disable_irqs ip, r2 + ldrb r2, [r1, r0, lsr #3] + orr r2, r2, r3 + strb r2, [r1, r0, lsr #3] + restore_irqs ip + mov pc, lr
xen/arch/arm/lib/strchr.S new file +15 -0
@@ -0,0 +1,15 @@ +#include <xen/config.h> +#include <asm/asm-macros.h> + + .text + .align 5 +ENTRY(strchr) + and r1, r1, #0xff +1: ldrb r2, [r0], #1 + teq r2, r1 + teqne r2, #0 + bne 1b + teq r2, r1 + movne r0, #0 + subeq r0, r0, #1 + mov pc,lr
xen/arch/arm/lib/testchangebit.S new file +22 -0
@@ -0,0 +1,22 @@ +#include <xen/config.h> +#include <asm/processor.h> +#include <asm/asm-macros.h> + + .text + +ENTRY(_test_and_change_bit_be) + eor r0, r0, #0x18 @ big endian byte ordering +ENTRY(_test_and_change_bit_le) + add r1, r1, r0, lsr #3 + and r3, r0, #7 + mov r0, #1 + save_and_disable_irqs ip, r2 + ldrb r2, [r1] + tst r2, r0, lsl r3 + eor r2, r2, r0, lsl r3 + strb r2, [r1] + restore_irqs ip + moveq r0, #0 + mov pc,lr + +
xen/arch/arm/lib/testclearbit.S new file +22 -0
@@ -0,0 +1,22 @@ +#include <xen/config.h> +#include <asm/processor.h> +#include <asm/asm-macros.h> + + .text + +ENTRY(_test_and_clear_bit_be) + eor r0, r0, #0x18 @ big endian byte ordering +ENTRY(_test_and_clear_bit_le) + add r1, r1, r0, lsr #3 @ Get byte offset + and r3, r0, #7 @ Get bit offset + mov r0, #1 + save_and_disable_irqs ip, r2 + ldrb r2, [r1] + tst r2, r0, lsl r3 + bicne r2, r2, r0, lsl r3 + strneb r2, [r1] + restore_irqs ip + moveq r0, #0 + mov pc,lr + +
xen/arch/arm/lib/testsetbit.S new file +20 -0
@@ -0,0 +1,20 @@ +#include <xen/config.h> +#include <asm/processor.h> +#include <asm/asm-macros.h> + + .text + +ENTRY(_test_and_set_bit_le) + add r1, r1, r0, lsr #3 @ Get byte offset + and r3, r0, #7 @ Get bit offset + mov r0, #1 + save_and_disable_irqs ip, r2 + ldrb r2, [r1] + tst r2, r0, lsl r3 + orreq r2, r2, r0, lsl r3 + streqb r2, [r1] + restore_irqs ip + moveq r0, #0 + mov pc,lr + +
xen/arch/arm/lib/uaccess.S new file +684 -0
453 lines not on this page · raw message
xen/arch/arm/lib/udivdi3.c new file +242 -0
242 lines not on this page · raw message
xen/arch/arm/lib/uldivmod.S new file +148 -0
148 lines not on this page · raw message
xen/arch/arm/xen/arch_domain.c new file +212 -0
212 lines not on this page · raw message
xen/arch/arm/xen/arch_domctl.c new file +43 -0
43 lines not on this page · raw message
xen/arch/arm/xen/arch_sysctl.c new file +38 -0
Lines of this file are not shown. View the raw message.
xen/arch/arm/xen/asm-offsets.c new file +40 -0
Lines of this file are not shown. View the raw message.
xen/arch/arm/xen/cpu.c new file +97 -0
97 lines not on this page · raw message
xen/arch/arm/xen/domain_build.c new file +47 -0
47 lines not on this page · raw message
xen/arch/arm/xen/domain_page.c new file +22 -0
Lines of this file are not shown. View the raw message.
xen/arch/arm/xen/fault.c new file +123 -0
123 lines not on this page · raw message
xen/arch/arm/xen/grant_table.c new file +53 -0
53 lines not on this page · raw message
xen/arch/arm/xen/irq.c new file +84 -0
84 lines not on this page · raw message
xen/arch/arm/xen/machine_kexec.c new file +31 -0
Lines of this file are not shown. View the raw message.
xen/arch/arm/xen/mm.c new file +194 -0
194 lines not on this page · raw message
xen/arch/arm/xen/p2m.c new file +44 -0
44 lines not on this page · raw message
xen/arch/arm/xen/pci.c new file +74 -0
74 lines not on this page · raw message
xen/arch/arm/xen/setup.c new file +64 -0
64 lines not on this page · raw message
xen/arch/arm/xen/time.c new file +83 -0
83 lines not on this page · raw message
xen/arch/arm/xen/xen.lds.S new file +159 -0
159 lines not on this page · raw message
xen/include/asm-arm/asm-macros.h new file +106 -0
106 lines not on this page · raw message
xen/include/asm-arm/atomic.h new file +179 -0
179 lines not on this page · raw message
xen/include/asm-arm/bitops.h new file +193 -0
193 lines not on this page · raw message
xen/include/asm-arm/byteorder.h new file +9 -0
Lines of this file are not shown. View the raw message.
xen/include/asm-arm/config.h new file +61 -0
61 lines not on this page · raw message
xen/include/asm-arm/cpu-domain.h new file +39 -0
Lines of this file are not shown. View the raw message.
xen/include/asm-arm/current.h new file +73 -0
73 lines not on this page · raw message
xen/include/asm-arm/debugger.h new file +24 -0
Lines of this file are not shown. View the raw message.
xen/include/asm-arm/div64.h new file +43 -0
43 lines not on this page · raw message
xen/include/asm-arm/domain.h new file +79 -0
79 lines not on this page · raw message
xen/include/asm-arm/elf.h new file +53 -0
53 lines not on this page · raw message
xen/include/asm-arm/flushtlb.h new file +25 -0
Lines of this file are not shown. View the raw message.
xen/include/asm-arm/grant_table.h new file +62 -0
62 lines not on this page · raw message
xen/include/asm-arm/guest_access.h new file +136 -0
136 lines not on this page · raw message
xen/include/asm-arm/hardirq.h new file +21 -0
Lines of this file are not shown. View the raw message.
xen/include/asm-arm/hypercall.h new file +68 -0
68 lines not on this page · raw message
xen/include/asm-arm/irq.h new file +50 -0
50 lines not on this page · raw message
xen/include/asm-arm/mm.h new file +237 -0
237 lines not on this page · raw message
xen/include/asm-arm/multicall.h new file +9 -0
Lines of this file are not shown. View the raw message.
xen/include/asm-arm/page.h new file +95 -0
95 lines not on this page · raw message
xen/include/asm-arm/processor.h new file +219 -0
219 lines not on this page · raw message
xen/include/asm-arm/softirq.h new file +11 -0
Lines of this file are not shown. View the raw message.
xen/include/asm-arm/spinlock.h new file +200 -0
200 lines not on this page · raw message
xen/include/asm-arm/string.h new file +49 -0
49 lines not on this page · raw message
xen/include/asm-arm/system.h new file +148 -0
148 lines not on this page · raw message
xen/include/asm-arm/tegra/config.h new file +11 -0
Lines of this file are not shown. View the raw message.
xen/include/asm-arm/types.h new file +58 -0
58 lines not on this page · raw message
xen/include/asm-arm/xenoprof.h new file +43 -0
43 lines not on this page · raw message
xen/include/public/arch-arm.h new file +180 -0
180 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Part of the diff is not shown here. View the raw message.