#include <linux/errno.h>
#include <linux/sched.h>
#include <linux/kernel.h>
#include <linux/param.h>
#include <linux/string.h>
#include <linux/mm.h>
#include <linux/init.h>
#include <linux/time.h>
#include <linux/adb.h>
#include <linux/cuda.h>
#include <linux/pmu.h>
#include <linux/interrupt.h>
#include <linux/hardirq.h>
#include <linux/rtc.h>
#include <asm/sections.h>
#include <asm/prom.h>
#include <asm/io.h>
#include <asm/pgtable.h>
#include <asm/machdep.h>
#include <asm/time.h>
#include <asm/nvram.h>
#include <asm/smu.h>
Go to the source code of this file.
#define ACR (11*RS) /* Auxiliary control register */ |
#define cuda_get_rtc_time |
( |
|
tm | ) |
|
#define cuda_get_time |
( |
| ) |
0 |
#define cuda_set_rtc_time |
( |
|
tm | ) |
0 |
#define IFR (13*RS) /* Interrupt flag register */ |
#define pmu_get_rtc_time |
( |
|
tm | ) |
|
#define pmu_get_time |
( |
| ) |
0 |
#define pmu_set_rtc_time |
( |
|
tm | ) |
0 |
#define RS 0x200 /* skip between registers */ |
#define RTC_OFFSET 2082844800 |
#define smu_get_rtc_time |
( |
|
tm, |
|
|
|
spin |
|
) |
| |
#define smu_get_time |
( |
| ) |
0 |
#define smu_set_rtc_time |
( |
|
tm, |
|
|
|
spin |
|
) |
| 0 |
#define T1_INT 0x40 /* Timer 1 interrupt */ |
#define T1MODE 0xc0 /* Timer 1 mode */ |
#define T1MODE_CONT 0x40 /* continuous interrupts */ |
unsigned long pmac_get_boot_time |
( |
void |
| ) |
|