From 99a0949b720a0936da2052cb9a46db04ffc6db29 Mon Sep 17 00:00:00 2001 From: malc Date: Thu, 1 Oct 2009 22:20:47 +0400 Subject: Get rid of _t suffix Some not so obvious bits, slirp and Xen were left alone for the time being. Signed-off-by: malc --- target-alpha/cpu.h | 6 +++--- target-alpha/helper.c | 4 ++-- target-alpha/op_helper.c | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'target-alpha') diff --git a/target-alpha/cpu.h b/target-alpha/cpu.h index ca9dfe2458..4cc1f5eba8 100644 --- a/target-alpha/cpu.h +++ b/target-alpha/cpu.h @@ -260,8 +260,8 @@ enum { typedef struct CPUAlphaState CPUAlphaState; -typedef struct pal_handler_t pal_handler_t; -struct pal_handler_t { +typedef struct pal_handler a_pal_handler; +struct pal_handler { /* Reset */ void (*reset)(CPUAlphaState *env); /* Uncorrectable hardware error */ @@ -323,7 +323,7 @@ struct CPUAlphaState { uint32_t features; uint32_t amask; int implver; - pal_handler_t *pal_handler; + a_pal_handler *pal_handler; }; #define cpu_init cpu_alpha_init diff --git a/target-alpha/helper.c b/target-alpha/helper.c index fcd5841e01..d982c18a9a 100644 --- a/target-alpha/helper.c +++ b/target-alpha/helper.c @@ -38,7 +38,7 @@ int cpu_alpha_handle_mmu_fault (CPUState *env, target_ulong address, int rw, return 1; } -target_phys_addr_t cpu_get_phys_page_debug (CPUState *env, target_ulong addr) +a_target_phys_addr cpu_get_phys_page_debug (CPUState *env, target_ulong addr) { return addr; } @@ -50,7 +50,7 @@ void do_interrupt (CPUState *env) #else -target_phys_addr_t cpu_get_phys_page_debug (CPUState *env, target_ulong addr) +a_target_phys_addr cpu_get_phys_page_debug (CPUState *env, target_ulong addr) { return -1; } diff --git a/target-alpha/op_helper.c b/target-alpha/op_helper.c index fe222dccd9..7a6e8fb920 100644 --- a/target-alpha/op_helper.c +++ b/target-alpha/op_helper.c @@ -89,7 +89,7 @@ void helper_store_fpcr (uint64_t val) } } -static spinlock_t intr_cpu_lock = SPIN_LOCK_UNLOCKED; +static a_spinlock intr_cpu_lock = SPIN_LOCK_UNLOCKED; uint64_t helper_rs(void) { -- cgit v1.2.3