rombios: enabling option ROM write access during initialisation.
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 29 Dec 2008 13:55:59 +0000 (13:55 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 29 Dec 2008 13:55:59 +0000 (13:55 +0000)
Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
tools/firmware/rombios/rombios.c

index 1f65202074e0481a64e7c4ab70c5a1a4aee27ec1..f7c2a6bd9fc84ace449bdd90f66bae92a5d09950 100644 (file)
@@ -11012,7 +11012,6 @@ post_default_ints:
   call _clobber_entry_point
   call _copy_e820_table
   call smbios_init
-  call _disable_rom_write_access
 #endif
 
   call _init_boot_vectors
@@ -11021,6 +11020,10 @@ post_default_ints:
   mov  ax, #0xe000
   call rom_scan
 
+#ifdef HVMASSIST
+  call _disable_rom_write_access
+#endif
+
 #if BX_ELTORITO_BOOT
   call _interactive_bootkey
 #endif // BX_ELTORITO_BOOT