mirror of https://github.com/ARMmbed/mbed-os.git
Generate better magic numbers
parent
53be3cccfc
commit
ecd556b354
|
@ -34,7 +34,7 @@
|
||||||
#define IPC_RES_SEM_MAX_COUNT (1UL) // Maximum number of available tokens for an IPC result semaphore
|
#define IPC_RES_SEM_MAX_COUNT (1UL) // Maximum number of available tokens for an IPC result semaphore
|
||||||
#define IPC_RES_SEM_INITIAL_COUNT (0UL) // Initial number of available tokens for an IPC result semaphore
|
#define IPC_RES_SEM_INITIAL_COUNT (0UL) // Initial number of available tokens for an IPC result semaphore
|
||||||
|
|
||||||
#define ADDR_TABLE_MAGIC 0xDEADBEEF
|
#define ADDR_TABLE_MAGIC 0x3d339a77
|
||||||
|
|
||||||
|
|
||||||
// NOTE: STRUCT SIZE MUST BE 4 BYTES ALIGNED !!
|
// NOTE: STRUCT SIZE MUST BE 4 BYTES ALIGNED !!
|
||||||
|
|
|
@ -44,9 +44,9 @@
|
||||||
#define IPC_QUEUE_SLOTS 2
|
#define IPC_QUEUE_SLOTS 2
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define IPC_QUEUE_BASE_MAGIC 0xCAFEBABE
|
#define IPC_QUEUE_BASE_MAGIC 0x63284A0C
|
||||||
#define IPC_QUEUE_PRODUCER_MAGIC 0xDAC0FFEE
|
#define IPC_QUEUE_PRODUCER_MAGIC 0XA248D9FF
|
||||||
#define IPC_QUEUE_CONSUMER_MAGIC 0xFACEB00C
|
#define IPC_QUEUE_CONSUMER_MAGIC 0XA68B6542
|
||||||
|
|
||||||
#define IPC_QUEUE_WAIT_ON_FULL_MS 500
|
#define IPC_QUEUE_WAIT_ON_FULL_MS 500
|
||||||
#define IPC_QUEUE_WAIT_ON_EMPTY_MS 500
|
#define IPC_QUEUE_WAIT_ON_EMPTY_MS 500
|
||||||
|
|
Loading…
Reference in New Issue