Branch: refs/heads/master Home: https://github.com/Linaro/odp Commit: 170e93051d25ac491811f1ed66cd5552a0b26ec8 https://github.com/Linaro/odp/commit/170e93051d25ac491811f1ed66cd5552a0b26ec8 Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-05-28 (Mon, 28 May 2018)
Changed paths: M platform/linux-generic/include/odp_internal.h M platform/linux-generic/odp_init.c Log Message: ----------- linux-gen: init: remove init.c internal types from header Moved types from header into c file. Changed internal functions to static and changed order of functions (prototypes not needed). Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: bdc44eae6bac8aed26170d21cf05fe99ba9d84d6 https://github.com/Linaro/odp/commit/bdc44eae6bac8aed26170d21cf05fe99ba9d84d6 Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-05-28 (Mon, 28 May 2018) Changed paths: M platform/linux-generic/Makefile.am M platform/linux-generic/arch/default/odp_sysinfo_parse.c M platform/linux-generic/arch/mips64/odp_sysinfo_parse.c M platform/linux-generic/arch/powerpc/odp_sysinfo_parse.c M platform/linux-generic/arch/x86/odp_sysinfo_parse.c M platform/linux-generic/include/odp_debug_internal.h A platform/linux-generic/include/odp_global_data.h A platform/linux-generic/include/odp_init_internal.h R platform/linux-generic/include/odp_internal.h M platform/linux-generic/include/odp_packet_io_ipc_internal.h M platform/linux-generic/include/odp_schedule_scalable_ordered.h A platform/linux-generic/include/odp_sysinfo_internal.h M platform/linux-generic/include/odp_traffic_mngr_internal.h M platform/linux-generic/odp_classification.c M platform/linux-generic/odp_cpumask.c M platform/linux-generic/odp_crypto.c M platform/linux-generic/odp_errno.c M platform/linux-generic/odp_fdserver.c M platform/linux-generic/odp_init.c M platform/linux-generic/odp_ipsec.c M platform/linux-generic/odp_ipsec_events.c M platform/linux-generic/odp_ipsec_sad.c M platform/linux-generic/odp_ishm.c M platform/linux-generic/odp_ishmphy.c M platform/linux-generic/odp_ishmpool.c M platform/linux-generic/odp_libconfig.c M platform/linux-generic/odp_packet.c M platform/linux-generic/odp_packet_io.c M platform/linux-generic/odp_pool.c M platform/linux-generic/odp_queue_basic.c M platform/linux-generic/odp_queue_if.c M platform/linux-generic/odp_queue_scalable.c M platform/linux-generic/odp_random.c M platform/linux-generic/odp_schedule_basic.c M platform/linux-generic/odp_schedule_if.c M platform/linux-generic/odp_schedule_iquery.c M platform/linux-generic/odp_schedule_scalable.c M platform/linux-generic/odp_shared_memory.c M platform/linux-generic/odp_system_info.c M platform/linux-generic/odp_thread.c M platform/linux-generic/odp_time.c M platform/linux-generic/odp_timer.c M platform/linux-generic/odp_traffic_mngr.c M platform/linux-generic/odp_weak.c M platform/linux-generic/pktio/dpdk.c M platform/linux-generic/pktio/ethtool.c M platform/linux-generic/pktio/loop.c M platform/linux-generic/pktio/netmap.c M platform/linux-generic/pktio/ring.c M platform/linux-generic/pktio/socket.c M platform/linux-generic/pktio/socket_mmap.c M platform/linux-generic/pktio/sysfs.c M platform/linux-generic/pktio/tap.c M platform/linux-generic/test/ring/ring_basic.c Log Message: ----------- linux-gen: init: split odp_internal.h odp_internal.h contained code for three different purposes. Split file into three different headers, so that it's no more a place for random type/function prototype additions. New files are: * odp_init_internal.h which holds global/local init function prototypes * odp_global_data.h which defines global data structure * odp_sysinfo_internal.h which contains system info internal function prototypes Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: d6e4b3df266ee1c847763ba50fa802d9e9e62b5e https://github.com/Linaro/odp/commit/d6e4b3df266ee1c847763ba50fa802d9e9e62b5e Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-05-28 (Mon, 28 May 2018) Changed paths: M platform/linux-generic/arch/default/odp_cpu_cycles.c M platform/linux-generic/arch/mips64/odp_cpu_cycles.c M platform/linux-generic/arch/x86/cpu_flags.c M platform/linux-generic/arch/x86/cpu_flags.h M platform/linux-generic/arch/x86/odp_cpu_cycles.c M platform/linux-generic/include/odp_init_internal.h M platform/linux-generic/odp_init.c Log Message: ----------- linux-gen: cpu: add cpu cycles init global Add global init function to check e.g. if CPU cycle counter instruction is available on x86. Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: f4f4dcee96e534c0badc28258ad09ef50b35ec76 https://github.com/Linaro/odp/commit/f4f4dcee96e534c0badc28258ad09ef50b35ec76 Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-05-28 (Mon, 28 May 2018) Changed paths: M Makefile.inc M include/odp/api/spec/cpu.h M include/odp/arch/x86_32-linux/odp/api/abi/cpu.h M include/odp/arch/x86_64-linux/odp/api/abi/cpu.h M platform/linux-generic/Makefile.am A platform/linux-generic/arch/default/odp/api/abi/cpu_inlines.h M platform/linux-generic/arch/x86/odp/api/abi/cpu.h A platform/linux-generic/arch/x86/odp/api/abi/cpu_inlines.h M platform/linux-generic/arch/x86/odp_cpu_cycles.c M platform/linux-generic/arch/x86/odp_global_time.c A platform/linux-generic/include/odp/api/plat/cpu_inlines.h M platform/linux-generic/include/odp/api/plat/ticketlock_inlines.h M platform/linux-generic/include/odp_ring_internal.h M platform/linux-generic/odp_barrier.c A platform/linux-generic/odp_cpu_api.c M platform/linux-generic/odp_ipsec_sad.c M platform/linux-generic/odp_rwlock.c M platform/linux-generic/odp_schedule_scalable.c M platform/linux-generic/odp_schedule_scalable_ordered.c M platform/linux-generic/odp_spinlock.c M platform/linux-generic/pktio/ring.c Log Message: ----------- linux-gen: cpu: inline cpu cycle functions on x86 Moved cpu cycle and pause functions into arch/x86/odp_arch_cpu_inlines.h. Uncommented pause function in spec file and removed it from ABI file. It's safer for ABI compat mode to not have code included into ABI spec files. Other architectures use the default odp_arch_cpu_inlines.h, which does not change the current implementation. Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 42a8b2f0dbaee653953170cbd0a7fa659bc32b38 https://github.com/Linaro/odp/commit/42a8b2f0dbaee653953170cbd0a7fa659bc32b38 Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-05-28 (Mon, 28 May 2018) Changed paths: M platform/linux-generic/Makefile.am M platform/linux-generic/include/odp/api/plat/cpu_inlines.h M platform/linux-generic/include/odp_ring_internal.h R platform/linux-generic/odp_cpu.c M platform/linux-generic/odp_schedule_scalable_ordered.c Log Message: ----------- linux-gen: cpu: inline cpu_cycles_diff Moved the last function from .c file to inline header and removed .c file. Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Compare: https://github.com/Linaro/odp/compare/744d466a0fe5...42a8b2f0dbae **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/ Functionality will be removed from GitHub.com on January 31st, 2019.