]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - keystone-rtos/rm-lld.git/blobdiff - include/rm_internal.h
.gitignore left out k2e/k2l makefile
[keystone-rtos/rm-lld.git] / include / rm_internal.h
index 44ec8c420097ed92d56d40af42d10192dee758c2..ca7ca2a1e6802b779f61b896d35714c1eed6adf8 100644 (file)
@@ -51,8 +51,9 @@ extern "C" {
 #include <rm_osal.h>
 
 /* RM true/false definitions */
-#define RM_FALSE 0
-#define RM_TRUE  1
+#define RM_BOOL_UNDEF (-1)
+#define RM_FALSE      0
+#define RM_TRUE       1
 
 /* RM cache alignment */
 #define RM_MAX_CACHE_ALIGN 128
@@ -104,6 +105,8 @@ typedef struct {
     /* Resource owner count - number of instances that are in the
      * resource's owner list */
     int32_t  ownerCount;
+    /* Requesting instance's allocation count for the resource */
+    int32_t  instAllocCount;
     /* NameServer name tied to resource */
     char     nameServerName[RM_NAME_MAX_CHARS];
 } Rm_ResourceInfo;