bios: dynamically track available rsdt entries
commit0ed0d44b43c9f1a0776a3b948a9005f9cc95f91e
authorAvi Kivity <avi@redhat.com>
Sun, 10 May 2009 15:12:57 +0000 (10 18:12 +0300)
committerAvi Kivity <avi@redhat.com>
Sun, 10 May 2009 15:14:19 +0000 (10 18:14 +0300)
treeed839d7389ec4f4b5f2912a099590f3fdef9bc18
parenta751df7bdb269c8665ad3956a03dce04d8d79475
bios: dynamically track available rsdt entries

Instead of using hardcoded offsets into the rsdt table, keep a count of
used entries.

Signed-off-by: Avi Kivity <avi@redhat.com>
kvm/bios/rombios32.c