diff options
Diffstat (limited to 'common/src/tx_queue_create.c')
| -rw-r--r-- | common/src/tx_queue_create.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common/src/tx_queue_create.c b/common/src/tx_queue_create.c index 522075e5..01aec360 100644 --- a/common/src/tx_queue_create.c +++ b/common/src/tx_queue_create.c @@ -74,7 +74,7 @@ /* resulting in version 6.1 */ /* */ /**************************************************************************/ -UINT _tx_queue_create(TX_QUEUE *queue_ptr, CHAR *name_ptr, UINT message_size, +UINT _tx_queue_create(TX_QUEUE *queue_ptr, CHAR *name_ptr, UINT message_size, VOID *queue_start, ULONG queue_size) { @@ -91,7 +91,7 @@ TX_QUEUE *previous_queue; /* Setup the basic queue fields. */ queue_ptr -> tx_queue_name = name_ptr; - + /* Save the message size in the control block. */ queue_ptr -> tx_queue_message_size = message_size; @@ -100,7 +100,7 @@ TX_QUEUE *previous_queue; capacity = (UINT) (queue_size / ((ULONG) (((ULONG) message_size) * (sizeof(ULONG))))); used_words = capacity * message_size; - /* Save the starting address and calculate the ending address of + /* Save the starting address and calculate the ending address of the queue. Note that the ending address is really one past the end! */ queue_ptr -> tx_queue_start = TX_VOID_TO_ULONG_POINTER_CONVERT(queue_start); |
