qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 11c754: gus: QOM'ify some more


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 11c754: gus: QOM'ify some more
Date: Sat, 15 Jun 2013 11:00:09 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 11c7549d836b3d3a4ccd903bbfdbdc942b9add52
      
https://github.com/qemu/qemu/commit/11c7549d836b3d3a4ccd903bbfdbdc942b9add52
  Author: Andreas Färber <address@hidden>
  Date:   2013-06-06 (Thu, 06 Jun 2013)

  Changed paths:
    M hw/audio/gus.c

  Log Message:
  -----------
  gus: QOM'ify some more

Add type constant and cast macro.

Signed-off-by: Andreas Färber <address@hidden>


  Commit: a3dcca567a1d4a5c79fb9c8fe2d9a21a4a7cebd5
      
https://github.com/qemu/qemu/commit/a3dcca567a1d4a5c79fb9c8fe2d9a21a4a7cebd5
  Author: Andreas Färber <address@hidden>
  Date:   2013-06-06 (Thu, 06 Jun 2013)

  Changed paths:
    M hw/audio/cs4231a.c

  Log Message:
  -----------
  cs4231a: QOM'ify some more

Introduce type constant and cast macro.
Replace reset hook with DeviceClass::reset callback.

Signed-off-by: Andreas Färber <address@hidden>


  Commit: db895a1e6a97e919f9b86d60c969377357b05066
      
https://github.com/qemu/qemu/commit/db895a1e6a97e919f9b86d60c969377357b05066
  Author: Andreas Färber <address@hidden>
  Date:   2013-06-07 (Fri, 07 Jun 2013)

  Changed paths:
    M hw/audio/adlib.c
    M hw/audio/cs4231a.c
    M hw/audio/gus.c
    M hw/audio/pcspk.c
    M hw/audio/sb16.c
    M hw/block/fdc.c
    M hw/char/debugcon.c
    M hw/char/parallel.c
    M hw/char/serial-isa.c
    M hw/char/serial-pci.c
    M hw/char/serial.c
    M hw/display/cirrus_vga.c
    M hw/display/vga-isa.c
    M hw/dma/i82374.c
    M hw/i386/pc.c
    M hw/ide/isa.c
    M hw/input/pckbd.c
    M hw/input/vmmouse.c
    M hw/intc/i8259_common.c
    M hw/isa/isa-bus.c
    M hw/isa/pc87312.c
    M hw/misc/applesmc.c
    M hw/misc/debugexit.c
    M hw/misc/pc-testdev.c
    M hw/misc/pvpanic.c
    M hw/misc/sga.c
    M hw/misc/vmport.c
    M hw/net/ne2000-isa.c
    M hw/timer/i8254_common.c
    M hw/timer/m48t59.c
    M hw/timer/mc146818rtc.c
    M hw/watchdog/wdt_ib700.c
    M include/hw/char/serial.h
    M include/hw/isa/isa.h

  Log Message:
  -----------
  isa: Use realizefn for ISADevice

Drop ISADeviceClass::init and the resulting no-op initfn and let
children implement their own realizefn. Adapt error handling.
Split off an instance_init where sensible.

Signed-off-by: Andreas Färber <address@hidden>


  Commit: 3afe7e14a42309578d324df5fe1b303a496a8466
      
https://github.com/qemu/qemu/commit/3afe7e14a42309578d324df5fe1b303a496a8466
  Author: Andreas Färber <address@hidden>
  Date:   2013-06-07 (Fri, 07 Jun 2013)

  Changed paths:
    M hw/timer/i8254.c
    M include/hw/timer/i8254.h

  Log Message:
  -----------
  i8254: QOM'ify some more

Introduce type constant and avoid DO_UPCAST().

Prepares for PIT realizefn.

Signed-off-by: Andreas Färber <address@hidden>


  Commit: 58cd986422d7353e7fac56969ac59daab3cdca67
      
https://github.com/qemu/qemu/commit/58cd986422d7353e7fac56969ac59daab3cdca67
  Author: Andreas Färber <address@hidden>
  Date:   2013-06-07 (Fri, 07 Jun 2013)

  Changed paths:
    M hw/i386/kvm/i8254.c
    M include/hw/timer/i8254.h

  Log Message:
  -----------
  kvm/i8254: QOM'ify some more

Introduce type constant and cast macro to obsolete DO_UPCAST().

Prepares for PIT realizefn.

Signed-off-by: Andreas Färber <address@hidden>


  Commit: a15d09127b104d1c35fc22bdd65263fe62462b30
      
https://github.com/qemu/qemu/commit/a15d09127b104d1c35fc22bdd65263fe62462b30
  Author: Andreas Färber <address@hidden>
  Date:   2013-06-07 (Fri, 07 Jun 2013)

  Changed paths:
    M hw/i386/kvm/i8254.c
    M hw/timer/i8254.c
    M hw/timer/i8254_common.c
    M include/hw/timer/i8254_internal.h

  Log Message:
  -----------
  i8254: Convert PITCommonState to QOM realizefn

Instead of having the parent provide PITCommonClass::init,
let the children override DeviceClass::realize themselves.
This pushes the responsibility for saving and calling the parent's
realizefn to the children.

Signed-off-by: Andreas Färber <address@hidden>


  Commit: d1eebf4e3df8882d7be6377e1251123b6c16b9b0
      
https://github.com/qemu/qemu/commit/d1eebf4e3df8882d7be6377e1251123b6c16b9b0
  Author: Andreas Färber <address@hidden>
  Date:   2013-06-07 (Fri, 07 Jun 2013)

  Changed paths:
    M hw/intc/i8259.c

  Log Message:
  -----------
  i8259: QOM'ify some more

Introduce type constant.

Prepares for PIC realizefn.

Signed-off-by: Andreas Färber <address@hidden>


  Commit: 49fdb0c1c42f02ab163206f34fcf59bb0815afa2
      
https://github.com/qemu/qemu/commit/49fdb0c1c42f02ab163206f34fcf59bb0815afa2
  Author: Andreas Färber <address@hidden>
  Date:   2013-06-07 (Fri, 07 Jun 2013)

  Changed paths:
    M hw/i386/kvm/i8259.c

  Log Message:
  -----------
  kvm/i8259: QOM'ify some more

Introduce type constant.

Prepares for PIC realizefn.

Signed-off-by: Andreas Färber <address@hidden>


  Commit: d2628b7d18521dacd3d4d246602e9bb3fc2a43dd
      
https://github.com/qemu/qemu/commit/d2628b7d18521dacd3d4d246602e9bb3fc2a43dd
  Author: Andreas Färber <address@hidden>
  Date:   2013-06-07 (Fri, 07 Jun 2013)

  Changed paths:
    M hw/i386/kvm/i8259.c
    M hw/intc/i8259.c
    M hw/intc/i8259_common.c
    M include/hw/isa/i8259_internal.h

  Log Message:
  -----------
  i8259: Convert PICCommonState to use QOM realizefn

Instead of having the parent provide PICCommonClass::init,
let the children override DeviceClass::realize themselves.
This pushes the responsibility of saving and calling the parent's
realizefn to the children.

Signed-off-by: Andreas Färber <address@hidden>


  Commit: 2ae0e48d5fd2cb7c5bc5c392edf2dc33ac2959d0
      
https://github.com/qemu/qemu/commit/2ae0e48d5fd2cb7c5bc5c392edf2dc33ac2959d0
  Author: Andreas Färber <address@hidden>
  Date:   2013-06-07 (Fri, 07 Jun 2013)

  Changed paths:
    M hw/isa/i82378.c
    M hw/isa/isa-bus.c
    M hw/isa/piix4.c
    M hw/isa/vt82c686.c
    M hw/ppc/prep.c
    M hw/sparc64/sun4u.c
    M include/hw/isa/isa.h

  Log Message:
  -----------
  isa: QOM'ify ISABus

Rename its parent field and use ISA_BUS() where necessary.

Signed-off-by: Andreas Färber <address@hidden>


  Commit: 4a17cc4f285d7ffe41847bf728cd88c736237416
      
https://github.com/qemu/qemu/commit/4a17cc4f285d7ffe41847bf728cd88c736237416
  Author: Andreas Färber <address@hidden>
  Date:   2013-06-07 (Fri, 07 Jun 2013)

  Changed paths:
    M hw/block/fdc.c
    M hw/char/serial-isa.c
    M hw/i386/pc.c
    M hw/i386/pc_piix.c
    M hw/intc/i8259_common.c
    M hw/isa/i82378.c
    M hw/isa/isa-bus.c
    M hw/ppc/prep.c
    M include/hw/audio/pcspk.h
    M include/hw/i386/pc.h
    M include/hw/isa/isa.h

  Log Message:
  -----------
  isa: QOM'ify ISADevice

Rename its parent field and use DEVICE() where necessary.

Signed-off-by: Andreas Färber <address@hidden>


  Commit: fef7fbc92496f5f6d2b7395263830bce15ebf410
      
https://github.com/qemu/qemu/commit/fef7fbc92496f5f6d2b7395263830bce15ebf410
  Author: Andreas Färber <address@hidden>
  Date:   2013-06-07 (Fri, 07 Jun 2013)

  Changed paths:
    M hw/i2c/core.c
    M hw/pci/pci.c
    M hw/ssi/ssi.c
    M include/hw/qdev-core.h

  Log Message:
  -----------
  qdev: Drop FROM_QBUS() macro

Use QOM cast macros I2C_BUS(), SSI_BUS(), PCI_BUS() instead.

Signed-off-by: Andreas Färber <address@hidden>


  Commit: 371a775dc18ece3ff7d77328d1ee28cb2d473706
      
https://github.com/qemu/qemu/commit/371a775dc18ece3ff7d77328d1ee28cb2d473706
  Author: Blue Swirl <address@hidden>
  Date:   2013-06-15 (Sat, 15 Jun 2013)

  Changed paths:
    M hw/audio/adlib.c
    M hw/audio/cs4231a.c
    M hw/audio/gus.c
    M hw/audio/pcspk.c
    M hw/audio/sb16.c
    M hw/block/fdc.c
    M hw/char/debugcon.c
    M hw/char/parallel.c
    M hw/char/serial-isa.c
    M hw/char/serial-pci.c
    M hw/char/serial.c
    M hw/display/cirrus_vga.c
    M hw/display/vga-isa.c
    M hw/dma/i82374.c
    M hw/i2c/core.c
    M hw/i386/kvm/i8254.c
    M hw/i386/kvm/i8259.c
    M hw/i386/pc.c
    M hw/i386/pc_piix.c
    M hw/ide/isa.c
    M hw/input/pckbd.c
    M hw/input/vmmouse.c
    M hw/intc/i8259.c
    M hw/intc/i8259_common.c
    M hw/isa/i82378.c
    M hw/isa/isa-bus.c
    M hw/isa/pc87312.c
    M hw/isa/piix4.c
    M hw/isa/vt82c686.c
    M hw/misc/applesmc.c
    M hw/misc/debugexit.c
    M hw/misc/pc-testdev.c
    M hw/misc/pvpanic.c
    M hw/misc/sga.c
    M hw/misc/vmport.c
    M hw/net/ne2000-isa.c
    M hw/pci/pci.c
    M hw/ppc/prep.c
    M hw/sparc64/sun4u.c
    M hw/ssi/ssi.c
    M hw/timer/i8254.c
    M hw/timer/i8254_common.c
    M hw/timer/m48t59.c
    M hw/timer/mc146818rtc.c
    M hw/watchdog/wdt_ib700.c
    M include/hw/audio/pcspk.h
    M include/hw/char/serial.h
    M include/hw/i386/pc.h
    M include/hw/isa/i8259_internal.h
    M include/hw/isa/isa.h
    M include/hw/qdev-core.h
    M include/hw/timer/i8254.h
    M include/hw/timer/i8254_internal.h

  Log Message:
  -----------
  Merge branch 'realize-isa.v2' of git://github.com/afaerber/qemu-cpu

* 'realize-isa.v2' of git://github.com/afaerber/qemu-cpu:
  qdev: Drop FROM_QBUS() macro
  isa: QOM'ify ISADevice
  isa: QOM'ify ISABus
  i8259: Convert PICCommonState to use QOM realizefn
  kvm/i8259: QOM'ify some more
  i8259: QOM'ify some more
  i8254: Convert PITCommonState to QOM realizefn
  kvm/i8254: QOM'ify some more
  i8254: QOM'ify some more
  isa: Use realizefn for ISADevice
  cs4231a: QOM'ify some more
  gus: QOM'ify some more


  Commit: 4b34e3ad83588602834c05c0d59a0d2973e9f48c
      
https://github.com/qemu/qemu/commit/4b34e3ad83588602834c05c0d59a0d2973e9f48c
  Author: liguang <address@hidden>
  Date:   2013-06-15 (Sat, 15 Jun 2013)

  Changed paths:
    M target-i386/cpu.h
    M target-i386/int_helper.c
    M target-i386/mem_helper.c
    M target-i386/misc_helper.c
    M target-i386/seg_helper.c
    M target-i386/smm_helper.c
    M target-i386/svm_helper.c

  Log Message:
  -----------
  target-i386/helper: remove EAX macro

Signed-off-by: liguang <address@hidden>
Reviewed-by: Andreas Färber <address@hidden>
Reviewed-by: Richard Henderson  <address@hidden>
Signed-off-by: Blue Swirl <address@hidden>


  Commit: 70b513654c5a4722e727d69ec6999e6e7818670f
      
https://github.com/qemu/qemu/commit/70b513654c5a4722e727d69ec6999e6e7818670f
  Author: liguang <address@hidden>
  Date:   2013-06-15 (Sat, 15 Jun 2013)

  Changed paths:
    M target-i386/cpu.h
    M target-i386/mem_helper.c
    M target-i386/misc_helper.c
    M target-i386/seg_helper.c
    M target-i386/smm_helper.c

  Log Message:
  -----------
  target-i386/helper: remove EBX macro

Signed-off-by: liguang <address@hidden>
Reviewed-by: Andreas Färber <address@hidden>
Reviewed-by: Richard Henderson  <address@hidden>
Signed-off-by: Blue Swirl <address@hidden>


  Commit: a416561005da6e4f9903541486f53c2cbc3a428d
      
https://github.com/qemu/qemu/commit/a416561005da6e4f9903541486f53c2cbc3a428d
  Author: liguang <address@hidden>
  Date:   2013-06-15 (Sat, 15 Jun 2013)

  Changed paths:
    M target-i386/cpu.h
    M target-i386/mem_helper.c
    M target-i386/misc_helper.c
    M target-i386/seg_helper.c
    M target-i386/smm_helper.c
    M target-i386/svm_helper.c

  Log Message:
  -----------
  target-i386/helper: remove ECX macro

Signed-off-by: liguang <address@hidden>
Reviewed-by: Andreas Färber <address@hidden>
Reviewed-by: Richard Henderson  <address@hidden>
Signed-off-by: Blue Swirl <address@hidden>


  Commit: 00f5e6f21ea55046173a8a106b7654036888e9b3
      
https://github.com/qemu/qemu/commit/00f5e6f21ea55046173a8a106b7654036888e9b3
  Author: liguang <address@hidden>
  Date:   2013-06-15 (Sat, 15 Jun 2013)

  Changed paths:
    M target-i386/cpu.h
    M target-i386/int_helper.c
    M target-i386/mem_helper.c
    M target-i386/misc_helper.c
    M target-i386/seg_helper.c
    M target-i386/smm_helper.c

  Log Message:
  -----------
  target-i386/helper: remove EDX macro

Signed-off-by: liguang <address@hidden>
Reviewed-by: Andreas Färber <address@hidden>
Reviewed-by: Richard Henderson  <address@hidden>
Signed-off-by: Blue Swirl <address@hidden>


  Commit: c12dddd7918e3479d0b5b0a1b25588d557347171
      
https://github.com/qemu/qemu/commit/c12dddd7918e3479d0b5b0a1b25588d557347171
  Author: liguang <address@hidden>
  Date:   2013-06-15 (Sat, 15 Jun 2013)

  Changed paths:
    M target-i386/cpu.h
    M target-i386/seg_helper.c
    M target-i386/smm_helper.c

  Log Message:
  -----------
  target-i386/helper: remove EBP macro

Signed-off-by: liguang <address@hidden>
Reviewed-by: Andreas Färber <address@hidden>
Reviewed-by: Richard Henderson  <address@hidden>
Signed-off-by: Blue Swirl <address@hidden>


  Commit: 08b3ded6bdc06ac6b9d1f700a1ee108f4ba4030f
      
https://github.com/qemu/qemu/commit/08b3ded6bdc06ac6b9d1f700a1ee108f4ba4030f
  Author: liguang <address@hidden>
  Date:   2013-06-15 (Sat, 15 Jun 2013)

  Changed paths:
    M target-i386/cpu.h
    M target-i386/seg_helper.c
    M target-i386/smm_helper.c
    M target-i386/svm_helper.c

  Log Message:
  -----------
  target-i386/helper: remove ESP macro

Signed-off-by: liguang <address@hidden>
Reviewed-by: Andreas Färber <address@hidden>
Reviewed-by: Richard Henderson  <address@hidden>
Signed-off-by: Blue Swirl <address@hidden>


  Commit: 78c3c6d34a94885c8d7e83ab282062ab642af75b
      
https://github.com/qemu/qemu/commit/78c3c6d34a94885c8d7e83ab282062ab642af75b
  Author: liguang <address@hidden>
  Date:   2013-06-15 (Sat, 15 Jun 2013)

  Changed paths:
    M target-i386/cpu.h
    M target-i386/seg_helper.c
    M target-i386/smm_helper.c

  Log Message:
  -----------
  target-i386/helper: remove ESI macro

Signed-off-by: liguang <address@hidden>
Reviewed-by: Andreas Färber <address@hidden>
Reviewed-by: Richard Henderson  <address@hidden>
Signed-off-by: Blue Swirl <address@hidden>


  Commit: cf75c5977c01060d344eb804abf81e938d33105b
      
https://github.com/qemu/qemu/commit/cf75c5977c01060d344eb804abf81e938d33105b
  Author: liguang <address@hidden>
  Date:   2013-06-15 (Sat, 15 Jun 2013)

  Changed paths:
    M target-i386/cpu.h
    M target-i386/seg_helper.c
    M target-i386/smm_helper.c

  Log Message:
  -----------
  target-i386/helper: remove EDI macro

Signed-off-by: liguang <address@hidden>
Reviewed-by: Andreas Färber <address@hidden>
Reviewed-by: Richard Henderson  <address@hidden>
Signed-off-by: Blue Swirl <address@hidden>


  Commit: a78d0eabd4ca05789a9604fe632b9399bf378fee
      
https://github.com/qemu/qemu/commit/a78d0eabd4ca05789a9604fe632b9399bf378fee
  Author: liguang <address@hidden>
  Date:   2013-06-15 (Sat, 15 Jun 2013)

  Changed paths:
    M target-i386/cpu.h
    M target-i386/excp_helper.c
    M target-i386/misc_helper.c
    M target-i386/seg_helper.c
    M target-i386/svm_helper.c

  Log Message:
  -----------
  target-i386/helper: remove EIP macro

Signed-off-by: liguang <address@hidden>
Reviewed-by: Andreas Färber <address@hidden>
Reviewed-by: Richard Henderson  <address@hidden>
Signed-off-by: Blue Swirl <address@hidden>


  Commit: 80cf2c81a1be732cf1ce4a810ddc7721714d684e
      
https://github.com/qemu/qemu/commit/80cf2c81a1be732cf1ce4a810ddc7721714d684e
  Author: liguang <address@hidden>
  Date:   2013-06-15 (Sat, 15 Jun 2013)

  Changed paths:
    M cpu-exec.c
    M target-i386/cc_helper.c
    M target-i386/cpu.h

  Log Message:
  -----------
  target-i386/helper: remove DF macro

Signed-off-by: liguang <address@hidden>
Reviewed-by: Andreas Färber <address@hidden>
Reviewed-by: Richard Henderson  <address@hidden>
Signed-off-by: Blue Swirl <address@hidden>


  Commit: 0bc60a8ae076402fbdbd2d6334bbe6ea88b428ff
      
https://github.com/qemu/qemu/commit/0bc60a8ae076402fbdbd2d6334bbe6ea88b428ff
  Author: liguang <address@hidden>
  Date:   2013-06-15 (Sat, 15 Jun 2013)

  Changed paths:
    M target-i386/svm_helper.c

  Log Message:
  -----------
  target-i386/helper: remove redundant env->eip assignment

Signed-off-by: liguang <address@hidden>
Reviewed-by: Andreas Färber <address@hidden>
Reviewed-by: Richard Henderson  <address@hidden>
Signed-off-by: Blue Swirl <address@hidden>


  Commit: 90a2541b763b31d2b551b07e24aae3de5266d31b
      
https://github.com/qemu/qemu/commit/90a2541b763b31d2b551b07e24aae3de5266d31b
  Author: liguang <address@hidden>
  Date:   2013-06-15 (Sat, 15 Jun 2013)

  Changed paths:
    M target-i386/misc_helper.c
    M target-i386/seg_helper.c
    M target-i386/svm_helper.c

  Log Message:
  -----------
  target-i386: fix over 80 chars warnings

Signed-off-by: liguang <address@hidden>
Reviewed-by: Andreas Färber <address@hidden>
Reviewed-by: Richard Henderson  <address@hidden>
Signed-off-by: Blue Swirl <address@hidden>


Compare: https://github.com/qemu/qemu/compare/22bfa16ed3d4...90a2541b763b

reply via email to

[Prev in Thread] Current Thread [Next in Thread]