From: Dmitry Voytik <dmitry.voy...@huawei.com> Add the asm/types.h header file, which defines the size of the data types.
Signed-off-by: Dmitry Voytik <dmitry.voy...@huawei.com> Signed-off-by: Jan Kiszka <jan.kis...@siemens.com> --- hypervisor/arch/arm64/include/asm/types.h | 46 +++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 hypervisor/arch/arm64/include/asm/types.h diff --git a/hypervisor/arch/arm64/include/asm/types.h b/hypervisor/arch/arm64/include/asm/types.h new file mode 100644 index 0000000..10760a0 --- /dev/null +++ b/hypervisor/arch/arm64/include/asm/types.h @@ -0,0 +1,46 @@ +/* + * Jailhouse AArch64 support + * + * Copyright (C) 2015 Huawei Technologies Duesseldorf GmbH + * + * Authors: + * Dmitry Voytik <dmitry.voy...@huawei.com> + * + * This work is licensed under the terms of the GNU GPL, version 2. See + * the COPYING file in the top-level directory. + */ + +#ifndef _JAILHOUSE_ASM_TYPES_H +#define _JAILHOUSE_ASM_TYPES_H + +#define BITS_PER_LONG 64 + +#ifndef __ASSEMBLY__ + +typedef signed char s8; +typedef unsigned char u8; + +typedef signed short s16; +typedef unsigned short u16; + +typedef signed int s32; +typedef unsigned int u32; + +typedef signed long long s64; +typedef unsigned long long u64; + +typedef s8 __s8; +typedef u8 __u8; + +typedef s16 __s16; +typedef u16 __u16; + +typedef s32 __s32; +typedef u32 __u32; + +typedef s64 __s64; +typedef u64 __u64; + +#endif /* !__ASSEMBLY__ */ + +#endif /* !_JAILHOUSE_ASM_TYPES_H */ -- 2.1.4 -- You received this message because you are subscribed to the Google Groups "Jailhouse" group. To unsubscribe from this group and stop receiving emails from it, send an email to jailhouse-dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.