summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Nelson <sam.nelson@ti.com>2019-10-05 11:11:51 -0400
committerSam Nelson <sam.nelson@ti.com>2019-10-08 15:50:40 -0400
commit64cddbfaad2dca4e4ac9e96d6430c36eeeebbb25 (patch)
treebb7510a0c81e45161f253e7f31145d2b0dc5203b
parentce07b5e28af0494012bc67dfd6a1e3f32e99acd2 (diff)
downloadipc-64cddbfaad2dca4e4ac9e96d6430c36eeeebbb25.tar.gz
mm: Update code for better portability
Replaced UInt32 with UArg Signed-off-by: Sam Nelson <sam.nelson@ti.com>
-rw-r--r--packages/ti/ipc/mm/MmServiceMgr.c6
-rw-r--r--packages/ti/ipc/mm/MmServiceMgr.h4
2 files changed, 5 insertions, 5 deletions
diff --git a/packages/ti/ipc/mm/MmServiceMgr.c b/packages/ti/ipc/mm/MmServiceMgr.c
index cfe36d6..1894d80 100644
--- a/packages/ti/ipc/mm/MmServiceMgr.c
+++ b/packages/ti/ipc/mm/MmServiceMgr.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2013-2014, Texas Instruments Incorporated
+ * Copyright (c) 2013-2019, Texas Instruments Incorporated
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -108,8 +108,8 @@ Int MmServiceMgr_register(const String name, RcmServer_Params *rcmParams,
/*
* ======== MmServiceMgr_getId ========
*/
-UInt32 MmServiceMgr_getId()
+UArg MmServiceMgr_getId()
{
/* The id has been stashed onto the task environment */
- return ((UInt32)Task_getEnv(Task_self()));
+ return ((UArg)Task_getEnv(Task_self()));
}
diff --git a/packages/ti/ipc/mm/MmServiceMgr.h b/packages/ti/ipc/mm/MmServiceMgr.h
index c5af4a1..4367370 100644
--- a/packages/ti/ipc/mm/MmServiceMgr.h
+++ b/packages/ti/ipc/mm/MmServiceMgr.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2013-2014, Texas Instruments Incorporated
+ * Copyright (c) 2013-2019, Texas Instruments Incorporated
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -98,7 +98,7 @@ Int MmServiceMgr_start(const String name, Int aryLen,
* a service.
*
*/
-UInt32 MmServiceMgr_getId();
+UArg MmServiceMgr_getId();
#if defined (__cplusplus)
}