examples/performance-thread: support ARM64
authorAshwin Sekhar T K <ashwin.sekhar@caviumnetworks.com>
Tue, 4 Jul 2017 08:22:41 +0000 (01:22 -0700)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 4 Jul 2017 13:19:42 +0000 (15:19 +0200)
commitf9599fa054298b0fb08f8aed7c54d8b64274ef77
treee6df3fe29e28f34af474ffa817c6e227627ca895
parentde88718f638cc1fdea1e7b3152aed4e8e8031a7a
examples/performance-thread: support ARM64

Updated Makefile to allow compilation for arm64 architecture.

Added necessary arm64 support for lthread.

Fixed minor compilation errors for arm64 compilation.

Tested the apps l3fwd-thread and lthread_pthread_shim on thunderx
and x86_64.

Signed-off-by: Ashwin Sekhar T K <ashwin.sekhar@caviumnetworks.com>
examples/performance-thread/Makefile
examples/performance-thread/common/arch/arm64/ctx.c [new file with mode: 0644]
examples/performance-thread/common/arch/arm64/ctx.h [new file with mode: 0644]
examples/performance-thread/common/arch/arm64/stack.h [new file with mode: 0644]
examples/performance-thread/common/common.mk
examples/performance-thread/l3fwd-thread/main.c