packages: qemu/qemu-piix-ram-size.patch - updated to 0.11.0
adamg
adamg at pld-linux.org
Sat Oct 24 22:11:03 CEST 2009
Author: adamg Date: Sat Oct 24 20:11:03 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- updated to 0.11.0
---- Files affected:
packages/qemu:
qemu-piix-ram-size.patch (1.2 -> 1.3)
---- Diffs:
================================================================
Index: packages/qemu/qemu-piix-ram-size.patch
diff -u packages/qemu/qemu-piix-ram-size.patch:1.2 packages/qemu/qemu-piix-ram-size.patch:1.3
--- packages/qemu/qemu-piix-ram-size.patch:1.2 Mon Feb 11 15:11:14 2008
+++ packages/qemu/qemu-piix-ram-size.patch Sat Oct 24 22:10:58 2009
@@ -12,9 +12,9 @@
PCIBus *b;
PCIDevice *d;
@@ -186,6 +186,10 @@ PCIBus *i440fx_init(PCIDevice **pi440fx_
- d->config[0x0a] = 0x00; // class_sub = host2pci
- d->config[0x0b] = 0x06; // class_base = PCI_bridge
- d->config[0x0e] = 0x00; // header_type
+ d->config[0x08] = 0x02; // revision
+ pci_config_set_class(d->config, PCI_CLASS_BRIDGE_HOST);
+ d->config[PCI_HEADER_TYPE] = PCI_HEADER_TYPE_NORMAL; // header_type
+ ram_size = ram_size / 8 / 1024 / 1024;
+ if (ram_size > 255)
+ ram_size = 255;
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/qemu/qemu-piix-ram-size.patch?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list