aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSaurabh Bipin Chandra2013-06-19 06:37:20 -0500
committerSaurabh Bipin Chandra2013-06-19 06:40:22 -0500
commit885437a911fdf16758f9e9cb6077f95b64fcc020 (patch)
tree393ebb2fc0bba8d391d3f55607ea568754a1b795
parent80e111aba02ab737e733a36c8450e034e0ab55a2 (diff)
downloadrepo-libdce-885437a911fdf16758f9e9cb6077f95b64fcc020.tar.gz
repo-libdce-885437a911fdf16758f9e9cb6077f95b64fcc020.tar.xz
repo-libdce-885437a911fdf16758f9e9cb6077f95b64fcc020.zip
[LIBDCE] Remove MmRpc translation param base3.00.01.043.00.01.033.00.01.02
The "base" field is no longer exposed by MmRpc from IPC 03.00.01.23 release as it can be calculated internally using the "offset" field. Hence this patch removes setting the field. Change-Id: I08df16e08042ae27bb2fa550b7126b3f7cae8fa6 Signed-off-by: Saurabh Bipin Chandra <a0131926@ti.com>
-rw-r--r--libdce.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libdce.c b/libdce.c
index 4e18039..550e85a 100644
--- a/libdce.c
+++ b/libdce.c
@@ -140,11 +140,9 @@ static inline void Fill_MmRpc_fxnCtx_Scalar_Params(MmRpc_Param *mmrpc_params, in
140static inline void Fill_MmRpc_fxnCtx_Xlt_Array(MmRpc_Xlt *mmrpc_xlt, int index, int32_t base, int32_t addr, void *handle) 140static inline void Fill_MmRpc_fxnCtx_Xlt_Array(MmRpc_Xlt *mmrpc_xlt, int index, int32_t base, int32_t addr, void *handle)
141{ 141{
142 /* index : index of params filled in FxnCtx */ 142 /* index : index of params filled in FxnCtx */
143 /* base : user Virtual Address as per definition in MmRpc and not base from where offset is calculated */
144 /* offset : calculated from address of index */ 143 /* offset : calculated from address of index */
145 mmrpc_xlt->index = index; 144 mmrpc_xlt->index = index;
146 mmrpc_xlt->offset = MmRpc_OFFSET(base, addr); 145 mmrpc_xlt->offset = MmRpc_OFFSET(base, addr);
147 mmrpc_xlt->base = *(size_t *)addr; //*((void *)addr);
148 mmrpc_xlt->handle = (size_t)handle; 146 mmrpc_xlt->handle = (size_t)handle;
149} 147}
150 148