mirror of
https://github.com/qemu/qemu.git
synced 2024-12-01 07:43:35 +08:00
Sparc64 linux-user build fix
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2913 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
0aac653cdd
commit
d8bdf5fa13
@ -1143,16 +1143,24 @@ void do_unassigned_access(target_phys_addr_t addr, int is_write, int is_exec,
|
||||
#ifdef TARGET_SPARC64
|
||||
void do_tick_set_count(void *opaque, uint64_t count)
|
||||
{
|
||||
#if !defined(CONFIG_USER_ONLY)
|
||||
ptimer_set_count(opaque, -count);
|
||||
#endif
|
||||
}
|
||||
|
||||
uint64_t do_tick_get_count(void *opaque)
|
||||
{
|
||||
#if !defined(CONFIG_USER_ONLY)
|
||||
return -ptimer_get_count(opaque);
|
||||
#else
|
||||
return 0;
|
||||
#endif
|
||||
}
|
||||
|
||||
void do_tick_set_limit(void *opaque, uint64_t limit)
|
||||
{
|
||||
#if !defined(CONFIG_USER_ONLY)
|
||||
ptimer_set_limit(opaque, -limit, 0);
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user