sh: APM/PM support.

This adds some simple PM stubs and the basic APM interfaces,
primarily for use by hp6xx, where the existing userland
expects it.

Signed-off-by: Andriy Skulysh <askulysh@gmail.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
Andriy Skulysh
2006-09-27 16:20:22 +09:00
committed by Paul Mundt
parent ef48e8e349
commit 3aa770e797
21 changed files with 1124 additions and 22 deletions

View File

@@ -6,6 +6,8 @@
struct sys_timer_ops {
int (*init)(void);
int (*start)(void);
int (*stop)(void);
unsigned long (*get_offset)(void);
unsigned long (*get_frequency)(void);
};