diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-05-02 15:47:57 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-05-05 08:32:58 +0200 |
commit | 4d906bdac2bc1ce2420ff58958884a40f3657d0f (patch) | |
tree | 2ba9d187ea14e57abb7e3cf7d5d11ba81d9fca47 /cpukit/score/include/rtems/score/percpu.h | |
parent | score: Add SMP test message handler (diff) | |
download | rtems-4d906bdac2bc1ce2420ff58958884a40f3657d0f.tar.bz2 |
score: Use atomic operations for SMP messages
Diffstat (limited to 'cpukit/score/include/rtems/score/percpu.h')
-rw-r--r-- | cpukit/score/include/rtems/score/percpu.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/cpukit/score/include/rtems/score/percpu.h b/cpukit/score/include/rtems/score/percpu.h index 12c5b1d3d1..7f063eafb8 100644 --- a/cpukit/score/include/rtems/score/percpu.h +++ b/cpukit/score/include/rtems/score/percpu.h @@ -302,11 +302,12 @@ typedef struct Per_CPU_Control { SMP_lock_Context Giant_lock_context; /** - * This is the request for the interrupt. + * @brief Bit field for SMP messages. * - * @note This may become a chain protected by atomic instructions. + * This bit field is not protected locks. Atomic operations are used to + * set and get the message bits. */ - uint32_t message; + Atomic_Ulong message; /** * @brief Indicates the current state of the CPU. |