Revision 20c9f095 target-sparc/op_helper.c
b/target-sparc/op_helper.c | ||
---|---|---|
1133 | 1133 |
raise_exception(TT_DATA_ACCESS); |
1134 | 1134 |
} |
1135 | 1135 |
#endif |
1136 |
|
|
1137 |
#ifdef TARGET_SPARC64 |
|
1138 |
void do_tick_set_count(void *opaque, uint64_t count) |
|
1139 |
{ |
|
1140 |
ptimer_set_count(opaque, -count); |
|
1141 |
} |
|
1142 |
|
|
1143 |
uint64_t do_tick_get_count(void *opaque) |
|
1144 |
{ |
|
1145 |
return -ptimer_get_count(opaque); |
|
1146 |
} |
|
1147 |
|
|
1148 |
void do_tick_set_limit(void *opaque, uint64_t limit) |
|
1149 |
{ |
|
1150 |
ptimer_set_limit(opaque, -limit, 0); |
|
1151 |
} |
|
1152 |
#endif |
Also available in: Unified diff