#include <linux/types.h>
#include <linux/errno.h>
#include <linux/miscdevice.h>
#include <linux/kernel.h>
#include <linux/delay.h>
#include <linux/sched.h>
#include <linux/time.h>
#include <linux/rtc.h>
#include <linux/mm.h>
#include <linux/adb.h>
#include <linux/cuda.h>
#include <linux/pmu.h>
#include <asm/uaccess.h>
#include <asm/io.h>
#include <asm/rtc.h>
#include <asm/segment.h>
#include <asm/setup.h>
#include <asm/macintosh.h>
#include <asm/mac_via.h>
#include <asm/mac_oss.h>
#include <asm/bootinfo.h>
#include <asm/machdep.h>
Go to the source code of this file.
#define __isleap |
( |
|
year | ) |
((year) % 4 == 0 && ((year) % 100 != 0 || (year) % 400 == 0)) |
#define BOOTINFO_COMPAT_1_0 |
#define cuda_read_pram NULL |
#define cuda_read_time |
( |
| ) |
0 |
#define cuda_write_pram NULL |
#define cuda_write_time |
( |
|
n | ) |
|
#define DIV |
( |
|
a, |
|
|
|
b |
|
) |
| ((a) / (b) - ((a) % (b) < 0)) |
#define LEAPS_THRU_END_OF |
( |
|
y | ) |
(DIV (y, 4) - DIV (y, 100) + DIV (y, 400)) |
#define maciisi_read_pram NULL |
#define maciisi_read_time |
( |
| ) |
0 |
#define maciisi_write_pram NULL |
#define maciisi_write_time |
( |
|
n | ) |
|
#define pmu_read_pram NULL |
#define pmu_read_time |
( |
| ) |
0 |
#define pmu_write_pram NULL |
#define pmu_write_time |
( |
|
n | ) |
|
#define RTC_OFFSET 2082844800 |
#define SECS_PER_MINUTE (60) |
int mac_set_clock_mmss |
( |
unsigned long |
nowtime | ) |
|