e9b9739264
RTE_ARCH_xx flags are used to distinguish platform architectures. These flags can be used to pick different code paths for different architectures at compile time. For Arm platforms, there are 3 flags in use: RTE_ARCH_ARM, RTE_ARCH_ARMv7 and RTE_ARCH_ARM64. RTE_ARCH_ARM64 is for 64-bit aarch64 platforms, and RTE_ARCH_ARM & RTE_ARCH_ARMv7 are for 32-bit platforms. RTE_ARCH_ARMv7 is for ARMv7 platforms as its name suggested. The issue is meaning of RTE_ARCH_ARM is not clear enough. Because no info about platform word length is included in the name. To make the flag names more clear, a naming scheme is proposed. RTE_ARCH_ARM (all Arm platforms) | +----RTE_ARCH_32 (New. 32-bit platforms of all architectures) | | | +----RTE_ARCH_ARMv7 (ARMv7 platforms) | | | +----RTE_ARCH_ARMv8_AARCH32 (aarch32 state on aarch64 machine) | +----RTE_ARCH_64 (64-bit platforms of all architectures) | +----RTE_ARCH_ARM64 (64-bit Arm platforms) RTE_ARCH_32 will be explicitly defined for 32-bit platforms. To fit into the new naming scheme, current usage of RTE_ARCH_ARM in project is mapped to (RTE_ARCH_ARM && RTE_ARCH_32). Matching flags for other architectures are: RTE_ARCH_X86 | +----RTE_ARCH_32 | | | +----RTE_ARCH_I686 | | | +----RTE_ARCH_X86_X32 | +----RTE_ARCH_64 | +----RTE_ARCH_X86_64 RTE_ARCH_PPC_64 ---- RTE_ARCH_64 Signed-off-by: Ruifeng Wang <ruifeng.wang@arm.com> Reviewed-by: Phil Yang <phil.yang@arm.com> |
||
---|---|---|
.. | ||
eal_common_bus.c | ||
eal_common_class.c | ||
eal_common_config.c | ||
eal_common_cpuflags.c | ||
eal_common_debug.c | ||
eal_common_dev.c | ||
eal_common_devargs.c | ||
eal_common_dynmem.c | ||
eal_common_errno.c | ||
eal_common_fbarray.c | ||
eal_common_hexdump.c | ||
eal_common_hypervisor.c | ||
eal_common_launch.c | ||
eal_common_lcore.c | ||
eal_common_log.c | ||
eal_common_mcfg.c | ||
eal_common_memalloc.c | ||
eal_common_memory.c | ||
eal_common_memzone.c | ||
eal_common_options.c | ||
eal_common_proc.c | ||
eal_common_string_fns.c | ||
eal_common_tailqs.c | ||
eal_common_thread.c | ||
eal_common_timer.c | ||
eal_common_trace_ctf.c | ||
eal_common_trace_points.c | ||
eal_common_trace_utils.c | ||
eal_common_trace.c | ||
eal_common_uuid.c | ||
eal_filesystem.h | ||
eal_hugepages.h | ||
eal_internal_cfg.h | ||
eal_memalloc.h | ||
eal_memcfg.h | ||
eal_options.h | ||
eal_private.h | ||
eal_thread.h | ||
eal_trace.h | ||
hotplug_mp.c | ||
hotplug_mp.h | ||
malloc_elem.c | ||
malloc_elem.h | ||
malloc_heap.c | ||
malloc_heap.h | ||
malloc_mp.c | ||
malloc_mp.h | ||
meson.build | ||
rte_keepalive.c | ||
rte_malloc.c | ||
rte_random.c | ||
rte_reciprocal.c | ||
rte_service.c |