[rtems-libbsd commit] Delete unused files

Sebastian Huber sebh at rtems.org
Fri Mar 6 14:07:20 UTC 2015


Module:    rtems-libbsd
Branch:    master
Commit:    be2e60c668bc2f26eecbe73728e8b0deb393a94f
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=be2e60c668bc2f26eecbe73728e8b0deb393a94f

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Fri Feb 13 11:51:35 2015 +0100

Delete unused files

---

 rtemsbsd/include/machine/rtems-bsd-taskqueue.h | 84 --------------------------
 rtemsbsd/include/machine/signal.h              | 30 ---------
 rtemsbsd/include/machine/ucontext.h            | 32 ----------
 3 files changed, 146 deletions(-)

diff --git a/rtemsbsd/include/machine/rtems-bsd-taskqueue.h b/rtemsbsd/include/machine/rtems-bsd-taskqueue.h
deleted file mode 100644
index 39c6f6e..0000000
--- a/rtemsbsd/include/machine/rtems-bsd-taskqueue.h
+++ /dev/null
@@ -1,84 +0,0 @@
-/**
- * @file
- *
- * @ingroup rtems_bsd_rtems
- *
- * @brief TODO.
- */
-
-/*
- *  COPYRIGHT (c) 1989-2012.
- *  On-Line Applications Research Corporation (OAR).
- *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.rtems.com/license/LICENSE.
- */
-
-#ifndef RTEMS_TASKQUEUE_H
-#define RTEMS_TASKQUEUE_H
-
-#include <stdarg.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-struct taskqueue;
-
-typedef void (*task_fn)(void *ctxt, int pending);
-
-/* forwarded 'ctxt' that was passed to taskqueue_create() */
-typedef void (*tq_enq_fn)(void *ctxt);
-
-struct task {
-	struct task *ta_next;
-	int		     ta_pending;
-	int		     ta_priority;
-	task_fn      ta_fn;
-	void        *ta_fn_arg;
-};
-
-struct taskqueue *
-taskqueue_create(const char *name, int mflags, tq_enq_fn, void *ctxt);
-
-struct taskqueue *
-taskqueue_create_fast(const char *name, int mflags, tq_enq_fn, void *ctxt);
-
-int
-taskqueue_enqueue(struct taskqueue *tq, struct task *ta);
-
-void
-taskqueue_thread_enqueue(void *ctxt);
-
-#define PI_NET	150
-/* Returns 0 on success */
-int
-taskqueue_start_threads(struct taskqueue **ptq, int count, int prio, const char *fmt, ...);
-
-void
-taskqueue_drain(struct taskqueue *tq, struct task *ta);
-
-void
-taskqueue_free(struct taskqueue *tq);
-
-#define TASK_INIT(task, pri, fn, arg) \
-	do { \
-		(task)->ta_next     = 0; \
-		(task)->ta_priority = (pri); \
-		(task)->ta_pending  = 0; \
-		(task)->ta_fn       = (fn); \
-		(task)->ta_fn_arg   = (arg); \
-	} while (0)
-
-extern struct taskqueue *taskqueue_fast;
-
-/* Initialize taskqueue facility [networking must have been initialized already] */
-rtems_id
-rtems_taskqueue_initialize();
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
diff --git a/rtemsbsd/include/machine/signal.h b/rtemsbsd/include/machine/signal.h
deleted file mode 100644
index 6d3f392..0000000
--- a/rtemsbsd/include/machine/signal.h
+++ /dev/null
@@ -1,30 +0,0 @@
-/**
- * @file
- *
- * @ingroup rtems_bsd_machine
- *
- * @brief TODO.
- */
-
-/*
- * Copyright (c) 2009, 2010 embedded brains GmbH.  All rights reserved.
- *
- *  embedded brains GmbH
- *  Obere Lagerstr. 30
- *  82178 Puchheim
- *  Germany
- *  <rtems at embedded-brains.de>
- *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.rtems.com/license/LICENSE.
- */
-
-#ifndef _RTEMS_BSD_MACHINE_SIGNAL_H_
-#define _RTEMS_BSD_MACHINE_SIGNAL_H_
-
-#ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_KERNEL_SPACE_H_
-#error "the header file <machine/rtems-bsd-kernel-space.h> must be included first"
-#endif
-
-#endif /* _RTEMS_BSD_MACHINE_SIGNAL_H_ */
diff --git a/rtemsbsd/include/machine/ucontext.h b/rtemsbsd/include/machine/ucontext.h
deleted file mode 100644
index 9845bf3..0000000
--- a/rtemsbsd/include/machine/ucontext.h
+++ /dev/null
@@ -1,32 +0,0 @@
-/**
- * @file
- *
- * @ingroup rtems_bsd_machine
- *
- * @brief TODO.
- */
-
-/*
- * Copyright (c) 2009, 2010 embedded brains GmbH.  All rights reserved.
- *
- *  embedded brains GmbH
- *  Obere Lagerstr. 30
- *  82178 Puchheim
- *  Germany
- *  <rtems at embedded-brains.de>
- *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.rtems.com/license/LICENSE.
- */
-
-#ifndef _RTEMS_BSD_MACHINE_UCONTEXT_H_
-#define _RTEMS_BSD_MACHINE_UCONTEXT_H_
-
-#ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_KERNEL_SPACE_H_
-#error "the header file <machine/rtems-bsd-kernel-space.h> must be included first"
-#endif
-
-typedef int mcontext_t;
-
-#endif /* _RTEMS_BSD_MACHINE_UCONTEXT_H_ */



More information about the vc mailing list