Changeset 7f1c620 in mainline for generic/src/time/clock.c
- Timestamp:
- 2006-07-04T17:17:56Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0ffa3ef5
- Parents:
- 991779c5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
generic/src/time/clock.c
r991779c5 r7f1c620 58 58 /* Pointers to public variables with time */ 59 59 struct ptime { 60 __nativeseconds1;61 __nativeuseconds;62 __nativeseconds2;60 unative_t seconds1; 61 unative_t useconds; 62 unative_t seconds2; 63 63 }; 64 64 struct ptime *public_time; … … 66 66 * seconds correctly 67 67 */ 68 static __nativesecfrag = 0;68 static unative_t secfrag = 0; 69 69 70 70 /** Initialize realtime clock counter … … 91 91 public_time->useconds = 0; 92 92 93 sysinfo_set_item_val("clock.faddr", NULL, ( __native)faddr);93 sysinfo_set_item_val("clock.faddr", NULL, (unative_t)faddr); 94 94 } 95 95 … … 166 166 167 167 if (THREAD) { 168 __u64ticks;168 uint64_t ticks; 169 169 170 170 spinlock_lock(&CPU->lock);
Note:
See TracChangeset
for help on using the changeset viewer.