]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - ipc/ipcdev.git/blobdiff - packages/ti/ipc/remoteproc/rsc_types.h
Remove INTMEM Type to match Linux K4.x
[ipc/ipcdev.git] / packages / ti / ipc / remoteproc / rsc_types.h
index da9ba33684722e015d9d36df2a37ba126b94a98d..06d77baef842a58c1ddf729d410af89a35b446c0 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2011-2012, Texas Instruments Incorporated
+ * Copyright (c) 2011-2016, Texas Instruments Incorporated
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
 #define TYPE_DEVMEM      1
 #define TYPE_TRACE       2
 #define TYPE_VDEV        3
-#define TYPE_CRASHDUMP   4
 
-/*
- * Use flags to define memory access for each resource
- * Must match include/linux/rproc_drm.h
- */
-enum rproc_memregion {
-    RPROC_MEMREGION_UNKNOWN,
-    RPROC_MEMREGION_2D,
-    RPROC_MEMREGION_SMEM,
-    RPROC_MEMREGION_CODE,
-    RPROC_MEMREGION_DATA,
-    RPROC_MEMREGION_1D,
-    RPROC_MEMREGION_VRING
+/* Common Resource Structure Types */
+struct resource_table {
+    UInt32 ver;
+    UInt32 num;
+    UInt32 reserved[2];
 };
 
-/* Common Resource Structure Types */
 struct fw_rsc_carveout {
     UInt32  type;
     UInt32  da;
@@ -99,6 +90,16 @@ struct fw_rsc_carveout {
     Char    name[32];
 };
 
+struct fw_rsc_intmem {
+    UInt32  type;
+    UInt32  version;
+    UInt32  da;
+    UInt32  pa;
+    UInt32  len;
+    UInt32  reserved;
+    Char    name[32];
+};
+
 struct fw_rsc_devmem {
     UInt32  type;
     UInt32  da;