gt64xxx: set isa_mem_base during registration
authorAurelien Jarno <aurelien@aurel32.net>
Thu, 20 Jan 2011 20:40:53 +0000 (21:40 +0100)
committerAurelien Jarno <aurelien@aurel32.net>
Thu, 20 Jan 2011 20:40:53 +0000 (21:40 +0100)
commit2c6b9f20b1c4b639d82188a70b63b7638249b909
treedb822d49f396c1ff52c250b1eeb8f30e19c9d85b
parent8875c7ace0df7918705ecd56e2d91737d23f33c2
gt64xxx: set isa_mem_base during registration

isa_mem_base is computed from registers during reset, but due to QEMU
limitations some devices (e.g. VGA card) need to know it earlier when
they are registered.

Workaround this by setting the value during registration instead of
reset.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
hw/gt64xxx.c