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 99a0949b72.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
Anthony Liguori 2009-10-01 16:12:16 -05:00
parent 99a0949b72
commit c227f0995e
316 changed files with 3332 additions and 3325 deletions

View file

@ -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

View file

@ -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;
}

View file

@ -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)
{