* [Patch] Enable Option ROM write access
@ 2008-12-25 2:06 Akio Takebe
2008-12-26 5:17 ` Akio Takebe
0 siblings, 1 reply; 2+ messages in thread
From: Akio Takebe @ 2008-12-25 2:06 UTC (permalink / raw)
To: xen-devel, Tian, Kevin
[-- Attachment #1: Type: text/plain, Size: 143 bytes --]
Hi,
This patch is enabling write access during rom_scan.
Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
Best Regards,
Akio Takebe
[-- Attachment #2: enable_option_rom_write_access.patch --]
[-- Type: text/x-diff, Size: 418 bytes --]
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 Thu Dec 25 11:03:12 2008 +0900
@@ -11019,7 +11019,9 @@
mov cx, #0xc800 ;; init option roms
mov ax, #0xe000
+ call _enable_rom_write_access
call rom_scan
+ call _disable_rom_write_access
#if BX_ELTORITO_BOOT
call _interactive_bootkey
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Patch] Enable Option ROM write access
2008-12-25 2:06 [Patch] Enable Option ROM write access Akio Takebe
@ 2008-12-26 5:17 ` Akio Takebe
0 siblings, 0 replies; 2+ messages in thread
From: Akio Takebe @ 2008-12-26 5:17 UTC (permalink / raw)
To: xen-devel, Tian, Kevin
[-- Attachment #1: Type: text/plain, Size: 281 bytes --]
Akio Takebe wrote:
> Hi,
>
> This patch is enabling write access during rom_scan.
>
> Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
I think this patch is better than the previous one.
Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
Best Regards,
Akio Takebe
[-- Attachment #2: enable_write_access.patch --]
[-- Type: text/x-diff, Size: 634 bytes --]
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
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-12-26 5:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-25 2:06 [Patch] Enable Option ROM write access Akio Takebe
2008-12-26 5:17 ` Akio Takebe
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.