Statistics
| Branch: | Revision:

root / hw / timer @ f487b677

# Date Author Comment
5ec694b5 06/25/2013 08:34 pm Jean-Christophe DUBOIS

i.MX: Implement a more complete version of the GPT timer.

  • implement compare 1 2 and 3 registers
  • simplify Debug printf

Signed-off-by: Jean-Christophe DUBOIS <>
Message-id:
Reviewed-by: Peter Chubb <>...

67110c3e 06/25/2013 08:34 pm Jean-Christophe DUBOIS

i.MX: Rework functions/types name and use new style initialization

  • use dynamic cast whenever possible
  • Change function names to some more meaningful prefix
  • Change type names to a more meaningful one
  • use new style device initialization

Signed-off-by: Jean-Christophe DUBOIS <>...

a15d0912 06/07/2013 03:55 pm Andreas Färber

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....

3afe7e14 06/07/2013 03:55 pm Andreas Färber

i8254: QOM'ify some more

Introduce type constant and avoid DO_UPCAST().

Prepares for PIT realizefn.

Signed-off-by: Andreas Färber <>

db895a1e 06/07/2013 01:14 pm Andreas Färber

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 <>

95669e69 06/03/2013 07:17 pm Jean-Christophe DUBOIS

i.MX: Improve EPIT timer code.

  • Unify function and type naming
  • use dynamic cast whenever possible
  • simplify Debug printf.
  • use new style device intialization.

Signed-off-by: Jean-Christophe DUBOIS <>
Reviewed-by: Peter Chubb <>...

a50c0d6f 06/03/2013 07:17 pm Jean-Christophe DUBOIS

i.MX: split GPT and EPIT timer implementation

There is no common code between these 2 timer implementation.
So it is better to split them.

Signed-off-by: Jean-Christophe DUBOIS <>
Message-id: ...

6681fca3 06/01/2013 01:25 pm Stefan Weil

Remove unnecessary break statements

Fix these warnings from cppcheck:

hw/display/cirrus_vga.c:2603:
hw/sd/sd.c:348:
hw/timer/exynos4210_mct.c:1033:
target-arm/translate.c:9886:
target-s390x/mem_helper.c:518:
target-unicore32/translate.c:1936:
style: Consecutive return, break, continue, goto or throw statements are unnecessary....

997aba8e 05/18/2013 03:35 pm Michael Tokarev

remove some double-includes

Some source files #include the same header more than
once for no good reason. Remove second #includes in
such cases.

Signed-off-by: Michael Tokarev <>

462566fc 05/03/2013 08:21 pm Jean-Christophe DUBOIS

i.MX: implement a more correct version of EPIT timer.

This patch is providing a complete version of the EPIT timer.

Note, however that the GPT timer in the same file is still not
complete.

Signed-off-by: Jean-Christophe DUBOIS <>
Message-id: ...

b8b7456d 05/01/2013 02:04 pm Igor Mammedov

pc: Update rtc_cmos on CPU hot-plug

It provides updated currently available CPUs count to BIOS on reboot.

Signed-off-by: Igor Mammedov <>
Signed-off-by: Andreas Färber <>

a2772c70 04/29/2013 04:27 pm Andreas Färber

m48t59: QOM'ify ISA M48T59 NVRAM

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

Prepares for ISA realizefn.

Signed-off-by: Andreas Färber <>
Signed-off-by: Andreas Färber <>
Message-id: ...

0e41271e 04/29/2013 04:27 pm Andreas Färber

mc146818rtc: QOM'ify

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

Prepares for ISA realizefn.

Signed-off-by: Andreas Färber <>
Reviewed-by: Igor Mammedov <>
Signed-off-by: Andreas Färber <>...

bd2be150 04/15/2013 04:16 pm Peter Maydell

arm: fix location of some include files

The recent rearrangement of include files had some minor errors:
devices.h is not ARM specific and should not be in arm/
arm.h should be in arm/

Move these two headers to correct this.

Signed-off-by: Peter Maydell <>...

3bd88451 04/08/2013 07:13 pm Paolo Bonzini

hw: move timer devices to hw/timer/, configure with default-configs/

Signed-off-by: Paolo Bonzini <>

0ddfaf7f 04/08/2013 07:13 pm Paolo Bonzini

hw: move MC146818RTC to hw/timer/, configure via default-configs/

Signed-off-by: Paolo Bonzini <>

49ab747f 04/08/2013 07:13 pm Paolo Bonzini

hw: move target-independent files to subdirectories

This patch tackles all files that are compiled once, moving
them to subdirectories of hw/.

Signed-off-by: Paolo Bonzini <>

1fd6bb44 04/08/2013 07:13 pm Paolo Bonzini

hw: make subdirectories for devices

Prepare the new directory structure.

Signed-off-by: Paolo Bonzini <>