From mboxrd@z Thu Jan 1 00:00:00 1970 From: Akio Takebe Subject: Re: [Patch] Enable Option ROM write access Date: Fri, 26 Dec 2008 14:17:56 +0900 Message-ID: <49546904.60604@jp.fujitsu.com> References: <4952EAC2.1070700@jp.fujitsu.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------070107080506050205070106" Return-path: In-Reply-To: <4952EAC2.1070700@jp.fujitsu.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel , "Tian, Kevin" List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --------------070107080506050205070106 Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit Akio Takebe wrote: > Hi, > > This patch is enabling write access during rom_scan. > > Signed-off-by: Akio Takebe I think this patch is better than the previous one. Signed-off-by: Akio Takebe Best Regards, Akio Takebe --------------070107080506050205070106 Content-Type: text/x-diff; name="enable_write_access.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="enable_write_access.patch" diff -r e2f36d066b7b tools/firmware/rombios/rombios.c --- a/tools/firmware/rombios/rombios.c Mon Dec 22 13:48:40 2008 +0000 +++ b/tools/firmware/rombios/rombios.c Fri Dec 26 14:13:34 2008 +0900 @@ -11008,11 +11008,9 @@ #endif // BX_ELTORITO_BOOT #ifdef HVMASSIST - call _enable_rom_write_access call _clobber_entry_point call _copy_e820_table call smbios_init - call _disable_rom_write_access #endif call _init_boot_vectors @@ -11020,6 +11018,7 @@ mov cx, #0xc800 ;; init option roms mov ax, #0xe000 call rom_scan + call _disable_rom_write_access #if BX_ELTORITO_BOOT call _interactive_bootkey --------------070107080506050205070106 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --------------070107080506050205070106--