ia64/xen-unstable

changeset 18962:65cc537fbbf8

rombios: enabling option ROM write access during initialisation.

Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
author Keir Fraser <keir.fraser@citrix.com>
date Mon Dec 29 13:55:59 2008 +0000 (2008-12-29)
parents 4035ea96ae2f
children 20dc723958f4
files tools/firmware/rombios/rombios.c
line diff
     1.1 --- a/tools/firmware/rombios/rombios.c	Mon Dec 29 13:37:46 2008 +0000
     1.2 +++ b/tools/firmware/rombios/rombios.c	Mon Dec 29 13:55:59 2008 +0000
     1.3 @@ -11012,7 +11012,6 @@ post_default_ints:
     1.4    call _clobber_entry_point
     1.5    call _copy_e820_table
     1.6    call smbios_init
     1.7 -  call _disable_rom_write_access
     1.8  #endif
     1.9  
    1.10    call _init_boot_vectors
    1.11 @@ -11021,6 +11020,10 @@ post_default_ints:
    1.12    mov  ax, #0xe000
    1.13    call rom_scan
    1.14  
    1.15 +#ifdef HVMASSIST
    1.16 +  call _disable_rom_write_access
    1.17 +#endif
    1.18 +
    1.19  #if BX_ELTORITO_BOOT
    1.20    call _interactive_bootkey
    1.21  #endif // BX_ELTORITO_BOOT