All of lore.kernel.org
 help / color / mirror / Atom feed
From: Akio Takebe <takebe_akio@jp.fujitsu.com>
To: xen-devel <xen-devel@lists.xensource.com>
Subject: [Patch] [2/2] expand shadow mem from 0xc0000-0xdffff to 0xc0000-0xe8fff
Date: Mon, 05 Jan 2009 23:30:43 +0900	[thread overview]
Message-ID: <49621993.5080002@jp.fujitsu.com> (raw)
In-Reply-To: <4962180C.8050606@jp.fujitsu.com>

[-- Attachment #1: Type: text/plain, Size: 160 bytes --]

Hi,

This patch expands shadow mem from 0xc0000-0xdffff to 0xc0000-0xe8fff

Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>

Best Regards,

Akio Takebe

[-- Attachment #2: exp_shadow_memory.v2.patch --]
[-- Type: text/x-diff, Size: 1294 bytes --]

diff -r 3173b5e4fefd tools/firmware/hvmloader/hvmloader.c
--- a/tools/firmware/hvmloader/hvmloader.c	Mon Jan 05 22:57:02 2009 +0900
+++ b/tools/firmware/hvmloader/hvmloader.c	Mon Jan 05 23:24:35 2009 +0900
@@ -401,7 +401,7 @@
         printf(" - Product name: %s\n",
                (char *)rom + pnph->product_name_offset);
 
-    if ( (dest + rom->rom_size * 512 + 1) > 0xe0000u )
+    if ( (dest + rom->rom_size * 512 + 1) > 0xe9000u )
     {
         printf("Option ROM size %x exceeds available space\n",
                rom->rom_size * 512);
diff -r 3173b5e4fefd tools/firmware/rombios/rombios.c
--- a/tools/firmware/rombios/rombios.c	Mon Jan 05 22:57:02 2009 +0900
+++ b/tools/firmware/rombios/rombios.c	Mon Jan 05 23:24:35 2009 +0900
@@ -10444,8 +10444,8 @@
 rom_scan:
   ;; Scan for existence of valid expansion ROMS.
   ;;   Video ROM:   from 0xC0000..0xC7FFF in 2k increments
-  ;;   General ROM: from 0xC8000..0xDFFFF in 2k increments
-  ;;   System  ROM: only 0xE0000
+  ;;   General ROM: from 0xC8000..0xE8FFF in 2k increments
+  ;;   System  ROM: only 0xE9000
   ;;
   ;; Header:
   ;;   Offset    Value
@@ -11021,7 +11021,7 @@
   call _init_boot_vectors
 
   mov  cx, #0xc800  ;; init option roms
-  mov  ax, #0xe000
+  mov  ax, #0xe900
   call rom_scan
 
 #if BX_ELTORITO_BOOT

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

      parent reply	other threads:[~2009-01-05 14:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-05 14:24 [Patch] [0/2] Expand shadow memory area for using option ROM v.2 Akio Takebe
2009-01-05 14:29 ` [Patch] [1/2] replace e820 from 0xe0000 to oxeb000 Akio Takebe
2009-01-05 14:30 ` Akio Takebe [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49621993.5080002@jp.fujitsu.com \
    --to=takebe_akio@jp.fujitsu.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.