diff options
author | Ishizaki Kou <kou.ishizaki@toshiba.co.jp> | 2008-04-24 05:31:40 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-04-24 07:08:14 -0400 |
commit | ad2c6987978d17b58204926e9be776955935f8b1 (patch) | |
tree | 1d2991d1f77f99428efa192051022bd3830b26bb /arch/powerpc/platforms/cell/beat.h | |
parent | c11dde85b62f9811eb2db656d9b0b4ad23d94871 (diff) |
[POWERPC] celleb: Move miscellaneous files for Beat
This moves miscellaneous files for Beat into platforms/cell/.
All files in this patch are used by celleb-beat only.
Signed-off-by: Kou Ishizaki <kou.ishizaki@toshiba.co.jp>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/cell/beat.h')
-rw-r--r-- | arch/powerpc/platforms/cell/beat.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/cell/beat.h b/arch/powerpc/platforms/cell/beat.h new file mode 100644 index 000000000000..32c8efcedc80 --- /dev/null +++ b/arch/powerpc/platforms/cell/beat.h | |||
@@ -0,0 +1,39 @@ | |||
1 | /* | ||
2 | * Guest OS Interfaces. | ||
3 | * | ||
4 | * (C) Copyright 2006 TOSHIBA CORPORATION | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License as published by | ||
8 | * the Free Software Foundation; either version 2 of the License, or | ||
9 | * (at your option) any later version. | ||
10 | * | ||
11 | * This program is distributed in the hope that it will be useful, | ||
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | * GNU General Public License for more details. | ||
15 | * | ||
16 | * You should have received a copy of the GNU General Public License along | ||
17 | * with this program; if not, write to the Free Software Foundation, Inc., | ||
18 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
19 | */ | ||
20 | |||
21 | #ifndef _CELLEB_BEAT_H | ||
22 | #define _CELLEB_BEAT_H | ||
23 | |||
24 | int64_t beat_get_term_char(uint64_t, uint64_t *, uint64_t *, uint64_t *); | ||
25 | int64_t beat_put_term_char(uint64_t, uint64_t, uint64_t, uint64_t); | ||
26 | int64_t beat_repository_encode(int, const char *, uint64_t[4]); | ||
27 | void beat_restart(char *); | ||
28 | void beat_power_off(void); | ||
29 | void beat_halt(void); | ||
30 | int beat_set_rtc_time(struct rtc_time *); | ||
31 | void beat_get_rtc_time(struct rtc_time *); | ||
32 | ssize_t beat_nvram_get_size(void); | ||
33 | ssize_t beat_nvram_read(char *, size_t, loff_t *); | ||
34 | ssize_t beat_nvram_write(char *, size_t, loff_t *); | ||
35 | int beat_set_xdabr(unsigned long); | ||
36 | void beat_power_save(void); | ||
37 | void beat_kexec_cpu_down(int, int); | ||
38 | |||
39 | #endif /* _CELLEB_BEAT_H */ | ||