Port-hp700 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: preposterous TOD clock time on 5.0



Nick Hudson%gmx.co.uk@localhost wrote:

> On Thursday 07 May 2009 17:04:42 Izumi Tsutsui wrote:
> > -   pdc_call((iodcio_t)PAGE0->mem_pdc, 1, PDC_TOD, PDC_TOD_WRITE, &tod);
> > +   pdc_call((iodcio_t)PAGE0->mem_pdc, 1, PDC_TOD, PDC_TOD_WRITE,
> > +       tod.sec, tod.usec);

> Please commit.

Done.

> I'll remove the hp700_pagezero_{,un}map / PAGE0 access after you've done that.

It's also better to check return values of pdc_call() for TOD ops
as OpenBSD does.

---
Izumi Tsutsui


Home | Main Index | Thread Index | Old Index