Re: preposterous TOD clock time on 5.0
Izumi Tsutsui <[email protected]> Fri, 8 May 2009 02:33:17 +0900
| Newsgroups | gmane.os.netbsd.ports.hp700 |
|---|---|
| Message-ID | <[email protected]> |
Nick [email protected] 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