eal/arm: add CPU flags for ARMv7
authorVlastimil Kosar <kosar@rehivetech.com>
Mon, 2 Nov 2015 23:47:22 +0000 (00:47 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 18 Nov 2015 21:41:33 +0000 (22:41 +0100)
commitb94e5c9406b56cab6b60445022514bef2df34421
tree3ecb65386b6a33605c2259b4ebebbc3c20e73c7f
parentd8581077d89308e4b0e5a45f952d1ac0ddaf2374
eal/arm: add CPU flags for ARMv7

This implementation is based on IBM POWER version of
rte_cpuflags. We use software emulation of HW capability
registers, because those are usually not directly accessible
from userspace on ARM.

Signed-off-by: Vlastimil Kosar <kosar@rehivetech.com>
Signed-off-by: Jan Viktorin <viktorin@rehivetech.com>
Acked-by: David Marchand <david.marchand@6wind.com>
app/test/test_cpuflags.c
lib/librte_eal/common/include/arch/arm/rte_cpuflags.h [new file with mode: 0644]
lib/librte_eal/common/include/arch/arm/rte_cpuflags_32.h [new file with mode: 0644]
mk/rte.cpuflags.mk