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