eal: split CPU cycle operation to architecture specific
authorChao Zhu <bjzhuc@cn.ibm.com>
Tue, 28 Oct 2014 12:50:51 +0000 (13:50 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 5 Nov 2014 21:19:10 +0000 (22:19 +0100)
commitfa4001c30ee9d9ecfb3ca5d93d68ef0394e9950a
treeb24e113debedae0bf560f83470f18476ba651e49
parentb56f46c327034e403af20a543b13aad7b09d5653
eal: split CPU cycle operation to architecture specific

This patch splits the CPU TSC read operations from DPDK and push them to
architecture specific arch directories, so that other processors that
don't have tsc register can implement its own functions.

Signed-off-by: Chao Zhu <bjzhuc@cn.ibm.com>
Signed-off-by: David Marchand <david.marchand@6wind.com>
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
lib/librte_eal/common/Makefile
lib/librte_eal/common/include/arch/i686/rte_cycles.h [new file with mode: 0644]
lib/librte_eal/common/include/arch/x86_64/rte_cycles.h [new file with mode: 0644]
lib/librte_eal/common/include/generic/rte_cycles.h [new file with mode: 0644]
lib/librte_eal/common/include/rte_cycles.h [deleted file]