diff options
author | Jason Reeder | 2015-06-17 16:07:16 -0500 |
---|---|---|
committer | Jason Reeder | 2015-06-17 16:07:16 -0500 |
commit | 91495267b5075c09721cf867ca88bde9352d6b8b (patch) | |
tree | fa07c06290eafe600e798d62cd29532aba735fe2 /include | |
parent | a3d3a517599921a513fde6f275c8795691c856b7 (diff) | |
download | pru-software-support-package-91495267b5075c09721cf867ca88bde9352d6b8b.tar.gz pru-software-support-package-91495267b5075c09721cf867ca88bde9352d6b8b.tar.xz pru-software-support-package-91495267b5075c09721cf867ca88bde9352d6b8b.zip |
Removed unnecessary definitions and declarations from the default empty resource table
Signed-off-by: Jason Reeder <jreeder@ti.com>
Diffstat (limited to 'include')
-rwxr-xr-x | include/resource_table_empty.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/include/resource_table_empty.h b/include/resource_table_empty.h index e200bcc..4f6d868 100755 --- a/include/resource_table_empty.h +++ b/include/resource_table_empty.h | |||
@@ -51,31 +51,11 @@ | |||
51 | 51 | ||
52 | #include <stddef.h> | 52 | #include <stddef.h> |
53 | #include <rsc_types.h> | 53 | #include <rsc_types.h> |
54 | #include "pru_virtio_ids.h" | ||
55 | |||
56 | /* | ||
57 | * Sizes of the virtqueues (expressed in number of buffers supported, | ||
58 | * and must be power of 2) | ||
59 | */ | ||
60 | #define PRU_RPMSG_VQ0_SIZE 2 | ||
61 | #define PRU_RPMSG_VQ1_SIZE 2 | ||
62 | |||
63 | /* flip up bits whose indices represent features we support */ | ||
64 | #define RPMSG_PRU_C0_FEATURES 1 | ||
65 | |||
66 | /* Definition for unused interrupts */ | ||
67 | #define HOST_UNUSED 255 | ||
68 | |||
69 | /* Mapping sysevts to a channel. Each pair contains a sysevt, channel */ | ||
70 | struct ch_map pru_intc_map[] = {}; | ||
71 | 54 | ||
72 | struct my_resource_table { | 55 | struct my_resource_table { |
73 | struct resource_table base; | 56 | struct resource_table base; |
74 | 57 | ||
75 | uint32_t offset[1]; /* Should match 'num' in actual definition */ | 58 | uint32_t offset[1]; /* Should match 'num' in actual definition */ |
76 | |||
77 | /* intc definition */ | ||
78 | struct fw_rsc_custom pru_ints; | ||
79 | }; | 59 | }; |
80 | 60 | ||
81 | #pragma DATA_SECTION(pru_remoteproc_ResourceTable, ".resource_table") | 61 | #pragma DATA_SECTION(pru_remoteproc_ResourceTable, ".resource_table") |