Merge BUG 1296
authorbugtracker-ml@nttdocomo.com
Tue, 06 Apr 2010 17:00:22 +0100
changeset 56 f24810eebc6b
parent 54 fc9fa34e0c9e (current diff)
parent 55 2c1e559d48bf (diff)
child 57 d537736810d1
Merge BUG 1296
baseport/syborg/specific/syborg.h
--- a/baseport/syborg/hal/values.hda	Tue Mar 30 19:50:19 2010 +0100
+++ b/baseport/syborg/hal/values.hda	Tue Apr 06 17:00:22 2010 +0100
@@ -34,7 +34,7 @@
 EClipboardDrive=2
 ESystemDrive=0xffff
 EDisplayNumberOfScreens=1
-ENanoTickPeriod=1000
+ENanoTickPeriod=10000
 EFastCounterFrequency=1000000
 EFastCounterCountsUp=1
 
--- a/baseport/syborg/specific/assp.cpp	Tue Mar 30 19:50:19 2010 +0100
+++ b/baseport/syborg/specific/assp.cpp	Tue Apr 06 17:00:22 2010 +0100
@@ -10,6 +10,7 @@
 * Nokia Corporation - initial contribution.
 *
 * Contributors:
+* NTT Docomo, Inc : BUG 1296
 *
 * Description: implementation of class Syborg
 *
@@ -263,7 +264,7 @@
 
 EXPORT_C TInt Syborg::MsTickPeriod()
 {
-	return 1000;
+	return KMsTickPeriod;
 }
 
 EXPORT_C TInt Syborg::SystemTimeInSecondsFrom2000(TInt& aTime)
--- a/baseport/syborg/specific/highrestimer.h	Tue Mar 30 19:50:19 2010 +0100
+++ b/baseport/syborg/specific/highrestimer.h	Tue Apr 06 17:00:22 2010 +0100
@@ -10,6 +10,7 @@
 * Nokia Corporation - initial contribution.
 *
 * Contributors:
+* NTT Docomo, Inc : BUG 1296
 *
 * Description:
 *
@@ -50,7 +51,7 @@
 // Hi-jacking r10 for tmp, not good if Rd is R10 -- grepping the the kernel shows it's not (for now)
 #define GET_HIGH_RES_TICK_COUNT(Rd)						         \
   asm("push {r10}");										     \
-  asm("mov r10, #2");										     \
+  asm("mov r10, #1");										     \
   asm("ldr "#Rd", =%a0"               : : "i" (KHwBaseRtc + 4)); \
   asm("str r10, ["#Rd", #%a0]"        : : "i" (0));			     \
   asm("pop {r10}");                                              \
--- a/baseport/syborg/specific/syborg.h	Tue Mar 30 19:50:19 2010 +0100
+++ b/baseport/syborg/specific/syborg.h	Tue Apr 06 17:00:22 2010 +0100
@@ -10,6 +10,7 @@
 * Nokia Corporation - initial contribution.
 *
 * Contributors:
+* NTT Docomo, Inc : BUG 1296
 *
 * Description:
 *
@@ -31,6 +32,7 @@
 
 const TUint KHwBasePeripherals  = KPrimaryIOBase;       
 const TUint KHwLinSeparation	= 0x1000;
+const TInt KMsTickPeriod	= 10000;
 
 const TUint KHwBaseSic				= KHwBasePeripherals + 0x00*KHwLinSeparation;
 // intended for use as a free-running counter. Reading the value register of a free-running syborg counter returns a microsec value