summaryrefslogtreecommitdiff
path: root/vgabios
diff options
context:
space:
mode:
authorIzik Eidus <ieidus@redhat.com>2009-01-11 01:25:50 +0200
committerEduardo Habkost <ehabkost@redhat.com>2009-02-06 10:47:37 -0200
commit406b88a0d537c28b65a9ff015b4e0e91c5425a27 (patch)
tree79a5afb5ab43d442516c62f99de4d28fe8ea12c9 /vgabios
parent956ed005e9ccf47ae032e29bc6a192cea2b0fba7 (diff)
kvm-userspace: set pci mem to start at 0xc100000 and vesa to 0xc000000
This patch make the pci mem region larger (1 giga now). this is needed for pci devices that require large amount of memory such as video cards. for pea guests this patch is not an issue beacuse the guest OS will map the rest of the ram after 0x100000000..., for 32bits that arent pea, it mean the maximum memory that would be avaible now is 3giga. Signed-off-by: Izik Eidus <ieidus@redhat.com> RH-Upstream-status: submitted(qemu-devel), waiting_review RH-Pointer: http://article.gmane.org/gmane.comp.emulators.kvm.devel/27258
Diffstat (limited to 'vgabios')
-rw-r--r--vgabios/vbe.h2
-rw-r--r--vgabios/vbe_display_api.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/vgabios/vbe.h b/vgabios/vbe.h
index 60434ac7..a199c7d4 100644
--- a/vgabios/vbe.h
+++ b/vgabios/vbe.h
@@ -308,6 +308,6 @@ typedef struct ModeInfoListItem
#define VBE_DISPI_LFB_ENABLED 0x40
#define VBE_DISPI_NOCLEARMEM 0x80
- #define VBE_DISPI_LFB_PHYSICAL_ADDRESS 0xE0000000
+ #define VBE_DISPI_LFB_PHYSICAL_ADDRESS 0xC0000000
#endif
diff --git a/vgabios/vbe_display_api.txt b/vgabios/vbe_display_api.txt
index fddb78b4..c6be0396 100644
--- a/vgabios/vbe_display_api.txt
+++ b/vgabios/vbe_display_api.txt
@@ -119,7 +119,7 @@ vbe.h
#define VBE_DISPI_VBE_ENABLED 0x40
#define VBE_DISPI_NOCLEARMEM 0x80
- #define VBE_DISPI_LFB_PHYSICAL_ADDRESS 0xE0000000
+ #define VBE_DISPI_LFB_PHYSICAL_ADDRESS 0xC0000000
API
---