]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - processor-sdk/open-amp.git/blobdiff - lib/include/openamp/hil.h
port hil_proc to use metal_list
[processor-sdk/open-amp.git] / lib / include / openamp / hil.h
index 4ed1783183560dc5d0e98c46e8f3e32084f0428f..c4fdf2c5b0202423950f5821e8dbde2a14f19c99 100644 (file)
@@ -44,6 +44,7 @@
 
 #include "openamp/virtio.h"
 #include "openamp/firmware.h"
+#include "metal/list.h"
 
 /* Configurable parameters */
 #define HIL_MAX_CORES                   2
@@ -170,17 +171,8 @@ struct hil_proc {
        unsigned long cpu_bitmask;
        /* Spin lock - This field is for future use. */
        volatile unsigned int *slock;
-};
-
-/**
- * struct hil_proc_list
- *
- * This structure serves as lists for cores present in the system.
- * It provides entry point to access remote core parameters.
- *
- */
-struct hil_proc_list {
-       struct llist *proc_list;
+       /* List node */
+       struct metal_list node;
 };
 
 /**