From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KgOKm-0003ui-2B for qemu-devel@nongnu.org; Thu, 18 Sep 2008 14:34:32 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KgOKk-0003tp-6x for qemu-devel@nongnu.org; Thu, 18 Sep 2008 14:34:31 -0400 Received: from [199.232.76.173] (port=45688 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KgOKj-0003ti-W3 for qemu-devel@nongnu.org; Thu, 18 Sep 2008 14:34:30 -0400 Received: from savannah.gnu.org ([199.232.41.3]:60389 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KgOKj-0005C2-LF for qemu-devel@nongnu.org; Thu, 18 Sep 2008 14:34:29 -0400 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1KgOKj-0001nv-4C for qemu-devel@nongnu.org; Thu, 18 Sep 2008 18:34:29 +0000 Received: from blueswir1 by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1KgOKi-0001nr-Qt for qemu-devel@nongnu.org; Thu, 18 Sep 2008 18:34:29 +0000 MIME-Version: 1.0 Errors-To: blueswir1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Blue Swirl Message-Id: Date: Thu, 18 Sep 2008 18:34:28 +0000 Subject: [Qemu-devel] [5261] Add Sparc32 display depth to firmware configuration Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Revision: 5261 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5261 Author: blueswir1 Date: 2008-09-18 18:34:28 +0000 (Thu, 18 Sep 2008) Log Message: ----------- Add Sparc32 display depth to firmware configuration Modified Paths: -------------- trunk/hw/sun4m.c Modified: trunk/hw/sun4m.c =================================================================== --- trunk/hw/sun4m.c 2008-09-18 18:33:18 UTC (rev 5260) +++ trunk/hw/sun4m.c 2008-09-18 18:34:28 UTC (rev 5261) @@ -80,6 +80,7 @@ #define PROM_VADDR 0xffd00000 #define PROM_FILENAME "openbios-sparc32" #define CFG_ADDR 0xd00000510ULL +#define FW_CFG_SUN4M_DEPTH (FW_CFG_ARCH_LOCAL + 0x00) // Control plane, 8-bit and 24-bit planes #define TCX_SIZE (9 * 1024 * 1024) @@ -582,6 +583,7 @@ fw_cfg_add_i32(fw_cfg, FW_CFG_ID, 1); fw_cfg_add_i64(fw_cfg, FW_CFG_RAM_SIZE, (uint64_t)ram_size); fw_cfg_add_i16(fw_cfg, FW_CFG_MACHINE_ID, hwdef->machine_id); + fw_cfg_add_i16(fw_cfg, FW_CFG_SUN4M_DEPTH, graphic_depth); } static void sun4c_hw_init(const struct hwdef *hwdef, ram_addr_t RAM_size,