summaryrefslogtreecommitdiff
path: root/target-alpha
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2009-10-01 16:12:16 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-01 16:12:16 -0500
commitc227f0995e1722a1abccc28cadf0664266bd8043 (patch)
tree39e92c2f818e3e8144978740b914731613af0e40 /target-alpha
parent99a0949b720a0936da2052cb9a46db04ffc6db29 (diff)
Revert "Get rid of _t suffix"
In the very least, a change like this requires discussion on the list. The naming convention is goofy and it causes a massive merge problem. Something like this _must_ be presented on the list first so people can provide input and cope with it. This reverts commit 99a0949b720a0936da2052cb9a46db04ffc6db29. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
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 4cc1f5eba..ca9dfe245 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 d982c18a9..fcd5841e0 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 7a6e8fb92..fe222dccd 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)
{