This version isn't fully ready to be merged yet, there is one issue to be discussed, see massage I leave in patch 6/7.
On 25 December 2015 at 16:29, <hongbo.zh...@linaro.org> wrote: > From: Hongbo Zhang <hongbo.zh...@linaro.org> > > This patch set separates the CPU info codes into their own platform sepcific > files. > It is common sence that the top general layer call an uniform interface to > initialize some plarform specific data structures, and this uniform interface > is implemented in their own platform specific files. > This patch set makes it. > > Hongbo Zhang (7): > linux-generic: sysinfo: move cpu_arch_str to odp_system_info_t > linux-generic: sysinfo: use uniform call odp_sysinfo_parser > linux-generic: sysinfo: rename odp_cpu_hz_current with odp_ prefix > linux-generic: sysinfo: move x86 system info codes to its plarform > file > linux-generic: sysinfo: move mips system info codes to its plarform > file > linux-generic: sysinfo: move arm system info codes to its plarform > file > linux-generic: sysinfo: move powerpc system info codes to its plarform > file > > configure.ac | 2 + > platform/linux-generic/Makefile.am | 9 +- > .../linux-generic/arch/arm/odp_sysinfo_parse.c | 20 ++ > .../linux-generic/arch/mips64/odp_sysinfo_parse.c | 54 ++++++ > .../linux-generic/arch/powerpc/odp_sysinfo_parse.c | 54 ++++++ > .../linux-generic/arch/x86/odp_sysinfo_parse.c | 71 +++++++ > platform/linux-generic/include/odp_cpu_internal.h | 4 + > platform/linux-generic/include/odp_internal.h | 1 + > platform/linux-generic/odp_system_info.c | 215 > +-------------------- > 9 files changed, 217 insertions(+), 213 deletions(-) > create mode 100644 platform/linux-generic/arch/arm/odp_sysinfo_parse.c > create mode 100644 platform/linux-generic/arch/mips64/odp_sysinfo_parse.c > create mode 100644 platform/linux-generic/arch/powerpc/odp_sysinfo_parse.c > create mode 100644 platform/linux-generic/arch/x86/odp_sysinfo_parse.c > > -- > 2.1.4 > _______________________________________________ lng-odp mailing list lng-odp@lists.linaro.org https://lists.linaro.org/mailman/listinfo/lng-odp