]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - keystone-rtos/rm-lld.git/blobdiff - rm_policy.h
Tested ability to read in and parse resource and policy DTB files
[keystone-rtos/rm-lld.git] / rm_policy.h
index c95d66781af75fc72951014ac12e8ff65d14dd92..54fc33e018963b93dd2c91472399790d333a86a2 100644 (file)
@@ -46,6 +46,9 @@
 extern "C" {
 #endif
 
+/* RM includes */
+#include <ti/drv/rm/rm.h>
+
 /**
 @addtogroup RM_POLICY_API
 @{
@@ -56,9 +59,9 @@ extern "C" {
 #define RM_MAX_POLICY_NAME_LENGTH 8
 
 /**
- * @brief Policy handle
+ * @brief Policy handle (Flattened Device Tree (fdt) blob format)
  */
-typedef uint32_t *Rm_PolicyHandle;
+typedef void *Rm_PolicyHandle;
 
 /** 
  * @brief Result of RM policy operations
@@ -114,6 +117,7 @@ uint32_t Rm_numPoliciesInTree(Rm_Handle serverHandle);
  */
 Rm_PolicyResult Rm_listPolicies(Rm_Handle serverHandle, Rm_PolicyInfo *policyInfoArray);
 
+#if 0
 The following API input parameters are not finalized yet as they are a wrapper around the DTB modification APIs provided in the dtc library.  The input parameters will be finalized as the operation of the dtc API is better understood.
 
 /* Policy create/delete APIs */
@@ -135,7 +139,7 @@ Rm_PolicyResult Rm_listPolicyInstances(Rm_PolicyHandle, ...);
 Rm_PolicyResult Rm_listInstResources(Rm_PolicyHandle, instName, ...);
 Rm_PolicyResult Rm_listPolicyResourceProperties(Rm_PolicyHandle, instName, 
                                                 resourceName, ...);
-
+#endif
 
 /** 
 @}