diff options
Diffstat (limited to 'darwin-user')
-rw-r--r-- | darwin-user/commpage.c | 2 | ||||
-rw-r--r-- | darwin-user/machload.c | 2 | ||||
-rw-r--r-- | darwin-user/qemu.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/darwin-user/commpage.c b/darwin-user/commpage.c index 2b41bc5..641fdb3 100644 --- a/darwin-user/commpage.c +++ b/darwin-user/commpage.c @@ -109,7 +109,7 @@ static struct commpage_entry commpage_entries[] = COMMPAGE_ENTRY(add_atomic_word64, 0, 0x1c0, unimpl_commpage, CALL_INDIRECT | HAS_PTR), COMMPAGE_ENTRY(mach_absolute_time, 0, 0x200, unimpl_commpage, CALL_INDIRECT), - COMMPAGE_ENTRY(spinlock_try, 1, 0x220, unimpl_commpage, CALL_INDIRECT), + COMMPAGE_ENTRY(a_spinlockry, 1, 0x220, unimpl_commpage, CALL_INDIRECT), COMMPAGE_ENTRY(spinlock_lock, 1, 0x260, OSSpinLockLock, CALL_DIRECT), COMMPAGE_ENTRY(spinlock_unlock, 1, 0x2a0, OSSpinLockUnlock, CALL_DIRECT), COMMPAGE_ENTRY(pthread_getspecific, 0, 0x2c0, unimpl_commpage, CALL_INDIRECT), diff --git a/darwin-user/machload.c b/darwin-user/machload.c index 4bb5c72..027976b 100644 --- a/darwin-user/machload.c +++ b/darwin-user/machload.c @@ -101,7 +101,7 @@ typedef struct mach_i386_thread_state { unsigned int es; unsigned int fs; unsigned int gs; -} mach_i386_thread_state_t; +}; void bswap_i386_thread_state(struct mach_i386_thread_state *ts) { diff --git a/darwin-user/qemu.h b/darwin-user/qemu.h index 462bbda..4084819 100644 --- a/darwin-user/qemu.h +++ b/darwin-user/qemu.h @@ -10,7 +10,7 @@ #include "gdbstub.h" -typedef siginfo_t target_siginfo_t; +typedef siginfo_t a_target_siginfo; #define target_sigaction sigaction #ifdef TARGET_I386 struct target_pt_regs { |