mobicore: update daemon to handle MobiCore halt status
authorDongJin Park <djpax.park@samsung.com>
Tue, 16 Oct 2012 03:59:55 +0000 (12:59 +0900)
committerDima Zavin <dima@android.com>
Wed, 17 Oct 2012 05:18:53 +0000 (22:18 -0700)
Daemon asks correct status from MobiCore: FC_INFO state_id = 1

(Update from MobiCore1.2_V005_Path3)
Bug: 71792277336639

Change-Id: I87dc8acc3fd7e56a6a0dd2c9be0c8a5b995e6c87
Signed-off-by: DongJin Park <djpax.park@samsung.com>
mobicore/daemon/Daemon/Device/Platforms/Generic/TrustZoneDevice.cpp

index 962d2ccdc82dfdd027f489db780b9bd27cf85986..5855bed5330ad5664f58cfb17f0f8f17ae4624f0 100644 (file)
@@ -273,9 +273,8 @@ notification_t notification = { sessionId :
 uint32_t TrustZoneDevice::getMobicoreStatus(void)
 {
     uint32_t status;
-    //IMPROVEMENT-2012-03-07-maneaval Can fcInfo ever fail? Before it threw an
-    //exception but the handler depended on the context.
-    pMcKMod->fcInfo(0, &status, NULL);
+
+    pMcKMod->fcInfo(1, &status, NULL);
 
     return status;
 }