Skip to content

Commit

Permalink
ppc hw/: Don't use CPUState
Browse files Browse the repository at this point in the history
Scripted conversion:
  for file in hw/ppc*.[hc] hw/mpc8544_guts.c hw/spapr*.[hc] hw/virtex_ml507.c hw/xics.c; do
    sed -i "s/CPUState/CPUPPCState/g" $file
  done

Signed-off-by: Andreas Färber <afaerber@suse.de>
Acked-by: Anthony Liguori <aliguori@us.ibm.com>
  • Loading branch information
afaerber committed Mar 14, 2012
1 parent 61c56c8 commit e2684c0
Show file tree
Hide file tree
Showing 23 changed files with 183 additions and 183 deletions.
2 changes: 1 addition & 1 deletion hw/mpc8544_guts.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ static uint64_t mpc8544_guts_read(void *opaque, target_phys_addr_t addr,
unsigned size)
{
uint32_t value = 0;
CPUState *env = cpu_single_env;
CPUPPCState *env = cpu_single_env;

addr &= MPC8544_GUTS_MMIO_SIZE - 1;
switch (addr) {
Expand Down
Loading

0 comments on commit e2684c0

Please sign in to comment.