pseries: Remove C bitfields from xics code
commit98ca8c023825fc6dd99e6cea1956d84ed8cadb3a
authorDavid Gibson <david@gibson.dropbear.id.au>
Wed, 12 Sep 2012 16:57:17 +0000 (12 16:57 +0000)
committerAlexander Graf <agraf@suse.de>
Thu, 4 Oct 2012 13:54:17 +0000 (4 15:54 +0200)
tree2552bd58e759127c717157363874bb7fd0eb84df
parent1dd088946cf464a994bc93945a360aef049493af
pseries: Remove C bitfields from xics code

The XICS interrupt controller emulation uses some C bitfield variables in
its internal state structure.  This makes like awkward for saving the state
because we don't have easy VMSTATE helpers for bitfields.

This patch removes the bitfields, instead using explicit bit masking in a
single status variable.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Alexander Graf <agraf@suse.de>
hw/xics.c