/* $OpenBSD: rtc_rd.c,v 1.2 2001/07/04 08:31:37 niklas Exp $ */ /* * bug routines -- assumes that the necessary sections of memory * are preserved. */ #include #include void mvmeprom_rtc_rd(ptime) struct mvmeprom_time *ptime; { asm volatile ("mr 3, %0": : "r" (ptime)); MVMEPROM_CALL(MVMEPROM_RTC_RD); }