Revision 4f423e81
b/hw/wdt_i6300esb.c | ||
---|---|---|
163 | 163 |
*/ |
164 | 164 |
static void i6300esb_timer_expired(void *vp) |
165 | 165 |
{ |
166 |
I6300State *d = (I6300State *) vp;
|
|
166 |
I6300State *d = vp; |
|
167 | 167 |
|
168 | 168 |
i6300esb_debug("stage %d\n", d->stage); |
169 | 169 |
|
... | ... | |
257 | 257 |
static uint32_t i6300esb_mem_readw(void *vp, target_phys_addr_t addr) |
258 | 258 |
{ |
259 | 259 |
uint32_t data = 0; |
260 |
I6300State *d = (I6300State *) vp;
|
|
260 |
I6300State *d = vp; |
|
261 | 261 |
|
262 | 262 |
i6300esb_debug("addr = %x\n", (int) addr); |
263 | 263 |
|
... | ... | |
281 | 281 |
|
282 | 282 |
static void i6300esb_mem_writeb(void *vp, target_phys_addr_t addr, uint32_t val) |
283 | 283 |
{ |
284 |
I6300State *d = (I6300State *) vp;
|
|
284 |
I6300State *d = vp; |
|
285 | 285 |
|
286 | 286 |
i6300esb_debug("addr = %x, val = %x\n", (int) addr, val); |
287 | 287 |
|
... | ... | |
293 | 293 |
|
294 | 294 |
static void i6300esb_mem_writew(void *vp, target_phys_addr_t addr, uint32_t val) |
295 | 295 |
{ |
296 |
I6300State *d = (I6300State *) vp;
|
|
296 |
I6300State *d = vp; |
|
297 | 297 |
|
298 | 298 |
i6300esb_debug("addr = %x, val = %x\n", (int) addr, val); |
299 | 299 |
|
... | ... | |
326 | 326 |
|
327 | 327 |
static void i6300esb_mem_writel(void *vp, target_phys_addr_t addr, uint32_t val) |
328 | 328 |
{ |
329 |
I6300State *d = (I6300State *) vp;
|
|
329 |
I6300State *d = vp; |
|
330 | 330 |
|
331 | 331 |
i6300esb_debug ("addr = %x, val = %x\n", (int) addr, val); |
332 | 332 |
|
Also available in: Unified diff