Revision c227f099 hw/palm.c

b/hw/palm.c
26 26
#include "devices.h"
27 27
#include "loader.h"
28 28

  
29
static uint32_t static_readb(void *opaque, a_target_phys_addr offset)
29
static uint32_t static_readb(void *opaque, target_phys_addr_t offset)
30 30
{
31 31
    uint32_t *val = (uint32_t *) opaque;
32 32
    return *val >> ((offset & 3) << 3);
33 33
}
34 34

  
35
static uint32_t static_readh(void *opaque, a_target_phys_addr offset)
35
static uint32_t static_readh(void *opaque, target_phys_addr_t offset)
36 36
{
37 37
    uint32_t *val = (uint32_t *) opaque;
38 38
    return *val >> ((offset & 1) << 3);
39 39
}
40 40

  
41
static uint32_t static_readw(void *opaque, a_target_phys_addr offset)
41
static uint32_t static_readw(void *opaque, target_phys_addr_t offset)
42 42
{
43 43
    uint32_t *val = (uint32_t *) opaque;
44 44
    return *val >> ((offset & 0) << 3);
45 45
}
46 46

  
47
static void static_write(void *opaque, a_target_phys_addr offset,
47
static void static_write(void *opaque, target_phys_addr_t offset,
48 48
                uint32_t value)
49 49
{
50 50
#ifdef SPY
......
193 193
    .board_id = 0x331,
194 194
};
195 195

  
196
static void palmte_init(a_ram_addr ram_size,
196
static void palmte_init(ram_addr_t ram_size,
197 197
                const char *boot_device,
198 198
                const char *kernel_filename, const char *kernel_cmdline,
199 199
                const char *initrd_filename, const char *cpu_model)
......
206 206
    static uint32_t cs1val = 0x0000e1a0;
207 207
    static uint32_t cs2val = 0x0000e1a0;
208 208
    static uint32_t cs3val = 0xe1a0e1a0;
209
    a_ram_addr phys_flash;
209
    ram_addr_t phys_flash;
210 210
    int rom_size, rom_loaded = 0;
211 211
    DisplayState *ds = get_displaystate();
212 212

  

Also available in: Unified diff