hpet: Coding style cleanups and some refactorings
commit27bb0b2d6f80f058bdb6fcc8fcdfa69b0c8a6d71
authorJan Kiszka <jan.kiszka@siemens.com>
Sun, 13 Jun 2010 12:15:35 +0000 (13 14:15 +0200)
committerBlue Swirl <blauwirbel@gmail.com>
Sun, 13 Jun 2010 12:32:58 +0000 (13 15:32 +0300)
tree75439c1fbd3cb283c97eb0aebbbc5175a3818a12
parent6982d6647ea98544f76d5ef40ddc23115ff44a77
hpet: Coding style cleanups and some refactorings

This moves the private HPET structures into the C module, simplifies
some helper functions and fixes most coding style issues (biggest chunk
was improper switch-case indention). No functional changes.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
hw/hpet.c
hw/hpet_emul.h