Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions Makefile.am
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
ACLOCAL_AMFLAGS=-I m4
AM_DISTCHECK_CONFIGURE_FLAGS = --enable-user-guides \
--enable-helper-linux
AM_DISTCHECK_CONFIGURE_FLAGS = --enable-user-guides

if PLATFORM_IS_LINUX_GENERIC
PLATFORM_DIR = platform/linux-generic
Expand Down
2 changes: 0 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,6 @@ AM_CONDITIONAL([test_installdir], [test "x$testdir" != "xno"])
AM_CONDITIONAL([HAVE_DOXYGEN], [test "x${DOXYGEN}" = "xdoxygen"])
AM_CONDITIONAL([user_guide], [test "x${user_guides}" = "xyes" ])
AM_CONDITIONAL([HAVE_MSCGEN], [test "x${MSCGEN}" = "xmscgen"])
AM_CONDITIONAL([helper_linux], [test x$helper_linux = xyes ])
AM_CONDITIONAL([helper_cli], [test x$helper_cli = xyes ])
AM_CONDITIONAL([ARCH_IS_ARM], [test "x${ARCH_DIR}" = "xarm"])
AM_CONDITIONAL([ARCH_IS_AARCH64], [test "x${ARCH_DIR}" = "xaarch64"])
Expand Down Expand Up @@ -468,7 +467,6 @@ AC_MSG_RESULT([
ARCH_DIR ${ARCH_DIR}
ARCH_ABI ${ARCH_ABI}
with_platform: ${with_platform}
helper_linux: ${helper_linux}
helper_cli: ${helper_cli}
prefix: ${prefix}
sysconfdir: ${sysconfdir}
Expand Down
15 changes: 0 additions & 15 deletions helper/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,6 @@ helperinclude_HEADERS = \
include/odp/helper/udp.h \
include/odp/helper/version.h

if helper_linux
helperinclude_HEADERS += \
include/odp/helper/linux.h

helperlinuxincludedir = $(includedir)/odp/helper/linux
helperlinuxinclude_HEADERS = \
include/odp/helper/linux/pthread.h \
include/odp/helper/linux/process.h
endif

if helper_cli
helperinclude_HEADERS += \
include/odp/helper/cli.h
Expand All @@ -57,11 +47,6 @@ __LIB__libodphelper_la_SOURCES = \
threads.c \
version.c

if helper_linux
__LIB__libodphelper_la_SOURCES += \
linux/thread.c
endif

if helper_cli
__LIB__libodphelper_la_SOURCES += \
cli.c
Expand Down
18 changes: 0 additions & 18 deletions helper/include/odp/helper/linux.h

This file was deleted.

91 changes: 0 additions & 91 deletions helper/include/odp/helper/linux/process.h

This file was deleted.

70 changes: 0 additions & 70 deletions helper/include/odp/helper/linux/pthread.h

This file was deleted.

24 changes: 0 additions & 24 deletions helper/include/odp/helper/threads.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,30 +34,6 @@ extern "C" {
* @{
*/

/** Thread parameter for Linux pthreads and processes */
typedef struct {
void *(*start)(void *); /**< Thread entry point function */
void *arg; /**< Argument for the function */
odp_thread_type_t thr_type; /**< ODP thread type */
odp_instance_t instance; /**< ODP instance handle */
} odph_linux_thr_params_t;

/** Linux pthread state information */
typedef struct {
pthread_t thread; /**< Pthread ID */
pthread_attr_t attr; /**< Pthread attributes */
int cpu; /**< CPU ID */
/** Copy of thread params */
odph_linux_thr_params_t thr_params;
} odph_linux_pthread_t;

/** Linux process state information */
typedef struct {
pid_t pid; /**< Process ID */
int cpu; /**< CPU ID */
int status; /**< Process state change status */
} odph_linux_process_t;

/** Thread parameters (pthreads and processes) */
typedef struct {
/** Thread entry point function */
Expand Down
Loading
Loading