mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
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:
parent
99a0949b72
commit
c227f0995e
316 changed files with 3332 additions and 3325 deletions
12
hw/palm.c
12
hw/palm.c
|
@ -26,25 +26,25 @@
|
|||
#include "devices.h"
|
||||
#include "loader.h"
|
||||
|
||||
static uint32_t static_readb(void *opaque, a_target_phys_addr offset)
|
||||
static uint32_t static_readb(void *opaque, target_phys_addr_t offset)
|
||||
{
|
||||
uint32_t *val = (uint32_t *) opaque;
|
||||
return *val >> ((offset & 3) << 3);
|
||||
}
|
||||
|
||||
static uint32_t static_readh(void *opaque, a_target_phys_addr offset)
|
||||
static uint32_t static_readh(void *opaque, target_phys_addr_t offset)
|
||||
{
|
||||
uint32_t *val = (uint32_t *) opaque;
|
||||
return *val >> ((offset & 1) << 3);
|
||||
}
|
||||
|
||||
static uint32_t static_readw(void *opaque, a_target_phys_addr offset)
|
||||
static uint32_t static_readw(void *opaque, target_phys_addr_t offset)
|
||||
{
|
||||
uint32_t *val = (uint32_t *) opaque;
|
||||
return *val >> ((offset & 0) << 3);
|
||||
}
|
||||
|
||||
static void static_write(void *opaque, a_target_phys_addr offset,
|
||||
static void static_write(void *opaque, target_phys_addr_t offset,
|
||||
uint32_t value)
|
||||
{
|
||||
#ifdef SPY
|
||||
|
@ -193,7 +193,7 @@ static struct arm_boot_info palmte_binfo = {
|
|||
.board_id = 0x331,
|
||||
};
|
||||
|
||||
static void palmte_init(a_ram_addr ram_size,
|
||||
static void palmte_init(ram_addr_t ram_size,
|
||||
const char *boot_device,
|
||||
const char *kernel_filename, const char *kernel_cmdline,
|
||||
const char *initrd_filename, const char *cpu_model)
|
||||
|
@ -206,7 +206,7 @@ static void palmte_init(a_ram_addr ram_size,
|
|||
static uint32_t cs1val = 0x0000e1a0;
|
||||
static uint32_t cs2val = 0x0000e1a0;
|
||||
static uint32_t cs3val = 0xe1a0e1a0;
|
||||
a_ram_addr phys_flash;
|
||||
ram_addr_t phys_flash;
|
||||
int rom_size, rom_loaded = 0;
|
||||
DisplayState *ds = get_displaystate();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue