From 303fae3f15399cb8a142dde010cb5fee082363c7 Mon Sep 17 00:00:00 2001 From: Ramsey Harris Date: Thu, 30 Oct 2014 09:29:41 -0700 Subject: [PATCH 1/1] Added TDA3XX to top-level product file. Updated the platform comment to include TDA3XX. Improved comments for MessageQ header; fixed typo in MessageQ flags bit description. --- packages/ti/sdo/ipc/MessageQ.c | 7 ++++--- packages/ti/sdo/ipc/MessageQ.xdc | 16 ++++++++-------- products.mak | 2 +- 3 files changed, 13 insertions(+), 12 deletions(-) diff --git a/packages/ti/sdo/ipc/MessageQ.c b/packages/ti/sdo/ipc/MessageQ.c index 33ff05a..3a4df0d 100644 --- a/packages/ti/sdo/ipc/MessageQ.c +++ b/packages/ti/sdo/ipc/MessageQ.c @@ -133,9 +133,10 @@ Void MessageQ_Params2_init(MessageQ_Params2 *params) /* * ======== MessageQ_alloc ======== - * Allocate a message and initial the needed fields (note some - * of the fields in the header at set via other APIs or in the - * MessageQ_put function. + * Allocate a message and initialize the needed fields + * + * Note: some of the fields in the header are set via other + * APIs or in the MessageQ_put function. */ MessageQ_Msg MessageQ_alloc(UInt16 heapId, UInt32 size) { diff --git a/packages/ti/sdo/ipc/MessageQ.xdc b/packages/ti/sdo/ipc/MessageQ.xdc index d822f7b..48b3355 100644 --- a/packages/ti/sdo/ipc/MessageQ.xdc +++ b/packages/ti/sdo/ipc/MessageQ.xdc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012-2013, Texas Instruments Incorporated + * Copyright (c) 2012-2014 Texas Instruments Incorporated - http://www.ti.com * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -637,11 +637,11 @@ internal: * --------------------------------- * |V V V|T| reserved |P P| * --------------------------------- - * E D C B A 0 9 8 7 6 5 4 3 2 1 0 + * F E D C B A 9 8 7 6 5 4 3 2 1 0 * * V = version - * P = priority * T = trace flag + * P = priority */ /*! Mask to extract version setting */ @@ -682,11 +682,11 @@ internal: Bits32 msgSize; /* message size */ Bits16 flags; /* bitmask of different flags */ Bits16 msgId; /* message id */ - Bits16 dstId; /* destination processor id */ - Bits16 dstProc; /* destination processor */ - Bits16 replyId; /* reply id */ - Bits16 replyProc; /* reply processor */ - Bits16 srcProc; /* source processor */ + Bits16 dstId; /* destination queue id */ + Bits16 dstProc; /* destination processor id */ + Bits16 replyId; /* reply queue id */ + Bits16 replyProc; /* reply processor id */ + Bits16 srcProc; /* proc who initialized the msg */ Bits16 heapId; /* heap id */ Bits16 seqNum; /* sequence number */ Bits16 reserved; /* reserved */ diff --git a/products.mak b/products.mak index 7579355..a2dda3c 100644 --- a/products.mak +++ b/products.mak @@ -41,7 +41,7 @@ DEPOT = _your_depot_folder_ # Platform to build for # Supported platforms (choose one): -# OMAPL138, OMAP54XX, DRA7XX, 66AK2E, TCI6630, TCI6636, TCI6638 +# OMAPL138, OMAP54XX, DRA7XX, 66AK2E, TCI6630, TCI6636, TCI6638, TDA3XX # # Note, this is used for Linux, QNX and BIOS builds # -- 2.39.2