score: Ensure properties of CPU_Uint32ptr

This commit is contained in:
Sebastian Huber
2015-03-17 08:30:40 +01:00
parent 46d3c6d833
commit 3e3684ba59

View File

@@ -23,6 +23,16 @@
#include <rtems/score/smpimpl.h>
#include <rtems/config.h>
RTEMS_STATIC_ASSERT(
sizeof( CPU_Uint32ptr ) >= sizeof( uintptr_t ),
CPU_Uint32ptr_greater_equal_uintptr_t
);
RTEMS_STATIC_ASSERT(
sizeof( CPU_Uint32ptr ) >= sizeof( uint32_t ),
CPU_Uint32ptr_greater_equal_uint32_t
);
#if defined(RTEMS_SMP)
static SMP_lock_Control _Per_CPU_State_lock =