Commit 2a2528266e6834aa1dc8280ca91e334f52267365
1 parent
263466f5
This patch fixes typos in the commpage definition (Pierre d'Herbemont).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2389 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
5 additions
and
5 deletions
darwin-user/commpage.c
| @@ -114,10 +114,10 @@ static struct commpage_entry commpage_entries[] = | @@ -114,10 +114,10 @@ static struct commpage_entry commpage_entries[] = | ||
| 114 | COMMPAGE_ENTRY(spinlock_lock, 1, 0x260, OSSpinLockLock, CALL_DIRECT), | 114 | COMMPAGE_ENTRY(spinlock_lock, 1, 0x260, OSSpinLockLock, CALL_DIRECT), |
| 115 | COMMPAGE_ENTRY(spinlock_unlock, 1, 0x2a0, OSSpinLockUnlock, CALL_DIRECT), | 115 | COMMPAGE_ENTRY(spinlock_unlock, 1, 0x2a0, OSSpinLockUnlock, CALL_DIRECT), |
| 116 | COMMPAGE_ENTRY(pthread_getspecific, 0, 0x2c0, unimpl_commpage, CALL_INDIRECT), | 116 | COMMPAGE_ENTRY(pthread_getspecific, 0, 0x2c0, unimpl_commpage, CALL_INDIRECT), |
| 117 | - COMMPAGE_ENTRY(gettimeofday, 1, 0x2c0, do_cgettimeofday, CALL_INDIRECT), | ||
| 118 | - COMMPAGE_ENTRY(sys_dcache_flush, 0, 0x2c0, unimpl_commpage, CALL_INDIRECT), | ||
| 119 | - COMMPAGE_ENTRY(sys_icache_invalidate, 0, 0x2c0, unimpl_commpage, CALL_INDIRECT), | ||
| 120 | - COMMPAGE_ENTRY(pthread_self, 0, 0x2c0, unimpl_commpage, CALL_INDIRECT), | 117 | + COMMPAGE_ENTRY(gettimeofday, 1, 0x2e0, do_cgettimeofday, CALL_INDIRECT), |
| 118 | + COMMPAGE_ENTRY(sys_dcache_flush, 0, 0x4e0, unimpl_commpage, CALL_INDIRECT), | ||
| 119 | + COMMPAGE_ENTRY(sys_icache_invalidate, 0, 0x520, unimpl_commpage, CALL_INDIRECT), | ||
| 120 | + COMMPAGE_ENTRY(pthread_self, 0, 0x580, unimpl_commpage, CALL_INDIRECT), | ||
| 121 | 121 | ||
| 122 | COMMPAGE_ENTRY(relinquish, 0, 0x5c0, unimpl_commpage, CALL_INDIRECT), | 122 | COMMPAGE_ENTRY(relinquish, 0, 0x5c0, unimpl_commpage, CALL_INDIRECT), |
| 123 | 123 | ||
| @@ -305,7 +305,7 @@ void do_nanotime(void *cpu_env, int num) | @@ -305,7 +305,7 @@ void do_nanotime(void *cpu_env, int num) | ||
| 305 | 305 | ||
| 306 | void unimpl_commpage(void *cpu_env, int num) | 306 | void unimpl_commpage(void *cpu_env, int num) |
| 307 | { | 307 | { |
| 308 | - gemu_log("qemu: commpage function 0x%x not implemented\n", num); | 308 | + qerror("qemu: commpage function 0x%x not implemented\n", num); |
| 309 | } | 309 | } |
| 310 | 310 | ||
| 311 | /******************************************************************** | 311 | /******************************************************************** |