diff options
author | Jennifer Averett <jennifer.averett@oarcorp.com> | 2014-11-06 08:37:54 -0600 |
---|---|---|
committer | Jennifer Averett <jennifer.averett@oarcorp.com> | 2014-11-24 14:04:54 -0600 |
commit | 66bf2af2784dd96aa3d9e86505b11f11c63a1654 (patch) | |
tree | 21ea157e9e2abc14b77a2fbb123f87cc11cd4e01 /cpukit/libmisc/capture/captureimpl.h | |
parent | capture: Move print methods out of cli for reuse. (diff) | |
download | rtems-66bf2af2784dd96aa3d9e86505b11f11c63a1654.tar.bz2 |
capture: Add SMP support.
To support smp data was broken into global and percpu capture data.
Capture control must be disabled prior to printing or setting of
watch points.
Diffstat (limited to 'cpukit/libmisc/capture/captureimpl.h')
-rw-r--r-- | cpukit/libmisc/capture/captureimpl.h | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/cpukit/libmisc/capture/captureimpl.h b/cpukit/libmisc/capture/captureimpl.h index cc116468a3..44d81dbbc2 100644 --- a/cpukit/libmisc/capture/captureimpl.h +++ b/cpukit/libmisc/capture/captureimpl.h @@ -43,14 +43,19 @@ extern "C" { /* * Global capture flags. */ -#define RTEMS_CAPTURE_ON (1U << 0) -#define RTEMS_CAPTURE_NO_MEMORY (1U << 1) -#define RTEMS_CAPTURE_OVERFLOW (1U << 2) +#define RTEMS_CAPTURE_INIT (1u << 0) +#define RTEMS_CAPTURE_ON (1U << 1) +#define RTEMS_CAPTURE_NO_MEMORY (1U << 2) #define RTEMS_CAPTURE_TRIGGERED (1U << 3) -#define RTEMS_CAPTURE_READER_ACTIVE (1U << 4) -#define RTEMS_CAPTURE_READER_WAITING (1U << 5) -#define RTEMS_CAPTURE_GLOBAL_WATCH (1U << 6) -#define RTEMS_CAPTURE_ONLY_MONITOR (1U << 7) +#define RTEMS_CAPTURE_GLOBAL_WATCH (1U << 4) +#define RTEMS_CAPTURE_ONLY_MONITOR (1U << 5) + +/* + * Per-CPU capture flags. + */ +#define RTEMS_CAPTURE_OVERFLOW (1U << 0) +#define RTEMS_CAPTURE_READER_ACTIVE (1U << 1) +#define RTEMS_CAPTURE_READER_WAITING (1U << 2) /** * @brief Capture set extension index. |