aboutsummaryrefslogtreecommitdiff
path: root/target-alpha
diff options
context:
space:
mode:
Diffstat (limited to 'target-alpha')
-rw-r--r--target-alpha/cpu.h6
-rw-r--r--target-alpha/helper.c4
-rw-r--r--target-alpha/op_helper.c2
3 files changed, 6 insertions, 6 deletions
diff --git a/target-alpha/cpu.h b/target-alpha/cpu.h
index 4cc1f5eba8..ca9dfe2458 100644
--- a/target-alpha/cpu.h
+++ b/target-alpha/cpu.h
@@ -260,8 +260,8 @@ enum {
typedef struct CPUAlphaState CPUAlphaState;
-typedef struct pal_handler a_pal_handler;
-struct pal_handler {
+typedef struct pal_handler_t pal_handler_t;
+struct pal_handler_t {
/* Reset */
void (*reset)(CPUAlphaState *env);
/* Uncorrectable hardware error */
@@ -323,7 +323,7 @@ struct CPUAlphaState {
uint32_t features;
uint32_t amask;
int implver;
- a_pal_handler *pal_handler;
+ pal_handler_t *pal_handler;
};
#define cpu_init cpu_alpha_init
diff --git a/target-alpha/helper.c b/target-alpha/helper.c
index d982c18a9a..fcd5841e01 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;
}
-a_target_phys_addr cpu_get_phys_page_debug (CPUState *env, target_ulong addr)
+target_phys_addr_t cpu_get_phys_page_debug (CPUState *env, target_ulong addr)
{
return addr;
}
@@ -50,7 +50,7 @@ void do_interrupt (CPUState *env)
#else
-a_target_phys_addr cpu_get_phys_page_debug (CPUState *env, target_ulong addr)
+target_phys_addr_t 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 7a6e8fb920..fe222dccd9 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 a_spinlock intr_cpu_lock = SPIN_LOCK_UNLOCKED;
+static spinlock_t intr_cpu_lock = SPIN_LOCK_UNLOCKED;
uint64_t helper_rs(void)
{