All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
To: qemu-devel@nongnu.org
Cc: Blue Swirl <blauwirbel@gmail.com>
Subject: Re: [Qemu-devel] [PATCH] sun4m: add display width and height to the firmware configuration
Date: Tue, 23 Jul 2013 22:23:07 +0100	[thread overview]
Message-ID: <51EEF43B.80104@ilande.co.uk> (raw)
In-Reply-To: <1371304531-4194-1-git-send-email-mark.cave-ayland@ilande.co.uk>

On 15/06/13 14:55, Mark Cave-Ayland wrote:

> Currently the graphics resolution for TCX is fixed at 1024x768, however
> other framebuffers are capable of supporting additional resolutions.
>
> Signed-off-by: Mark Cave-Ayland<mark.cave-ayland@ilande.co.uk>
> ---
>   hw/sparc/sun4m.c |    4 ++++
>   1 file changed, 4 insertions(+)
>
> diff --git a/hw/sparc/sun4m.c b/hw/sparc/sun4m.c
> index 0e86ca7..5b7868e 100644
> --- a/hw/sparc/sun4m.c
> +++ b/hw/sparc/sun4m.c
> @@ -66,6 +66,8 @@
>   #define PROM_FILENAME        "openbios-sparc32"
>   #define CFG_ADDR             0xd00000510ULL
>   #define FW_CFG_SUN4M_DEPTH   (FW_CFG_ARCH_LOCAL + 0x00)
> +#define FW_CFG_SUN4M_WIDTH   (FW_CFG_ARCH_LOCAL + 0x01)
> +#define FW_CFG_SUN4M_HEIGHT  (FW_CFG_ARCH_LOCAL + 0x02)
>
>   #define MAX_CPUS 16
>   #define MAX_PILS 16
> @@ -991,6 +993,8 @@ static void sun4m_hw_init(const struct sun4m_hwdef *hwdef, ram_addr_t RAM_size,
>       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);
> +    fw_cfg_add_i16(fw_cfg, FW_CFG_SUN4M_WIDTH, graphic_width);
> +    fw_cfg_add_i16(fw_cfg, FW_CFG_SUN4M_HEIGHT, graphic_height);
>       fw_cfg_add_i32(fw_cfg, FW_CFG_KERNEL_ADDR, KERNEL_LOAD_ADDR);
>       fw_cfg_add_i32(fw_cfg, FW_CFG_KERNEL_SIZE, kernel_size);
>       if (kernel_cmdline) {

Ping?


ATB,

Mark.

  parent reply	other threads:[~2013-07-23 21:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-15 13:55 [Qemu-devel] [PATCH] sun4m: add display width and height to the firmware configuration Mark Cave-Ayland
2013-06-15 14:54 ` Andreas Färber
2013-06-16 10:08   ` Mark Cave-Ayland
2013-07-23 21:23 ` Mark Cave-Ayland [this message]
2013-07-29 20:24 ` Anthony Liguori

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=51EEF43B.80104@ilande.co.uk \
    --to=mark.cave-ayland@ilande.co.uk \
    --cc=blauwirbel@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /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.