blob: 0f73e7b52ba66939d126a55b5c2a3115a60a93d2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
/* $OpenBSD: rtc_rd.c,v 1.2 1996/04/28 10:48:47 deraadt Exp $ */
/*
* bug routines -- assumes that the necessary sections of memory
* are preserved.
*/
#include <sys/types.h>
#include <machine/prom.h>
void
mvmeprom_rtc_rd(ptime)
struct mvmeprom_time *ptime;
{
asm volatile ("movel %0,sp@-" : :"a" (ptime));
MVMEPROM_CALL(MVMEPROM_RTC_RD);
}
|