All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
To: "Hervé Poussineau" <hpoussin@reactos.org>,
	qemu-devel@nongnu.org, atar4qemu@gmail.com
Subject: Re: [Qemu-devel] [PATCHv2 1/2] m48t59: introduce new year_offset qdev property
Date: Sat, 14 Feb 2015 08:48:48 +0000	[thread overview]
Message-ID: <54DF0BF0.8010704@ilande.co.uk> (raw)
In-Reply-To: <54CE839C.5030600@reactos.org>

On 01/02/15 19:50, Hervé Poussineau wrote:

> Le 01/02/2015 19:39, Mark Cave-Ayland a écrit :
>> Currently the m48t59 device uses the hardware model in order to determine
>> whether the year value is offset from the hardware value. As this will
>> soon be required by the x59 model, change the year offset to a qdev
>> property and update the callers appropriately.
>>
>> Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
> 
> Hi,
> 
> Is it possible to use a 'base_year' property, like in the mc146818rtc
> device?
> Usual values will be 0 (for year 2000) and 1968 (for sun4m).
> 
> Regards,
> 
> Hervé

Hi Hervé,

I've just rebased and updated the patchset to use a "base_year" property
similar to mc146818rtc. AFAICT the hack for 0 representing year 2000
isn't relevant here since QEMU doesn't currently implement the century
bit and so the year is limited to 0-99. I'll send the new version out
shortly.


ATB,

Mark.

  parent reply	other threads:[~2015-02-14  8:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-01 18:39 [Qemu-devel] [PATCHv2 0/2] m48t59: add year offset and sysbus device Mark Cave-Ayland
2015-02-01 18:39 ` [Qemu-devel] [PATCHv2 1/2] m48t59: introduce new year_offset qdev property Mark Cave-Ayland
2015-02-01 19:50   ` Hervé Poussineau
2015-02-03 21:24     ` Mark Cave-Ayland
2015-02-14  8:48     ` Mark Cave-Ayland [this message]
2015-02-01 18:39 ` [Qemu-devel] [PATCHv2 2/2] m48t59: add m48t59 sysbus device Mark Cave-Ayland

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=54DF0BF0.8010704@ilande.co.uk \
    --to=mark.cave-ayland@ilande.co.uk \
    --cc=atar4qemu@gmail.com \
    --cc=hpoussin@reactos.org \
    --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.