diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2007-11-28 13:13:51 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2007-11-28 13:13:51 +0000 |
commit | ea99e85d5350f9a59e243de3863cf5ffdcf95183 (patch) | |
tree | 6b54f4002aa2e92d83dddb35761d755ac41ef921 /tools/security/secpol_xml2bin.c | |
parent | fc900cc7d9d53e1e5843535967f40a25221d841d (diff) | |
download | xen-ea99e85d5350f9a59e243de3863cf5ffdcf95183.tar.gz xen-ea99e85d5350f9a59e243de3863cf5ffdcf95183.tar.bz2 xen-ea99e85d5350f9a59e243de3863cf5ffdcf95183.zip |
hvm: Fix 2 type mismatches in vlapic.h and hpet.c for 32-bit build Xen
For 32-bit build of Xen:
1) the first mismatch (in hpet_read(), length is 4) makes guest think
the HPET DM is buggy (we return 0 for HPET_CFG.COUNTER_CLK_PERIOD to
guest), so guest wouldn't use HPET at all.
2) the second one: if tmict is 62500000 and timer_divisor is 16
(Fedoar7's installer uses the values at some time), 10 * 62500000 * 16
= 0x2540BE400 -- it's too big to be held in uint32_t.
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>=20
Diffstat (limited to 'tools/security/secpol_xml2bin.c')
0 files changed, 0 insertions, 0 deletions