> > Modified Files: > > src/sys/arch/hpcarm/conf: WZERO3 > > > > Log Message: > > Set options RTC_OFFSET=-540 since Windows Mobile stores localtime > > into the RTC and we can assume most W-ZERO3 users live in JST timezone. > > > > XXX: Probably it would be better to allow a kernel getting RTC_OFFSET value > > XXX: via bootinfo set by boot(8) or boot.cfg(5). > > Hmm, hpcboot does pass rtc offset in bootinfo->timezone. > See e.g. hpcsh/machdep.c
Oh, I thought hpcsh had RTC_OFFSET=-540. I'll fix hpcarm to use bootinfo->timezone (it just works [tm]). Anyway, it's still better to make NetBSD/i386 also use timezone passed from boot.cfg(5) via bootloader so that all people can use pre-built GENERIC without patching binary. --- Izumi Tsutsui