Ishizaki Kou | c347b79 | 2007-02-02 16:47:17 +0900 | [diff] [blame] | 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 | #define DABRX_KERNEL (1UL<<1) |
| 25 | #define DABRX_USER (1UL<<0) |
| 26 | |
| 27 | int64_t beat_get_term_char(uint64_t,uint64_t*,uint64_t*,uint64_t*); |
| 28 | int64_t beat_put_term_char(uint64_t,uint64_t,uint64_t,uint64_t); |
| 29 | int64_t beat_repository_encode(int, const char *, uint64_t[4]); |
| 30 | void beat_restart(char *); |
| 31 | void beat_power_off(void); |
| 32 | void beat_halt(void); |
| 33 | int beat_set_rtc_time(struct rtc_time *); |
| 34 | void beat_get_rtc_time(struct rtc_time *); |
| 35 | ssize_t beat_nvram_get_size(void); |
| 36 | ssize_t beat_nvram_read(char *, size_t, loff_t *); |
| 37 | ssize_t beat_nvram_write(char *, size_t, loff_t *); |
| 38 | int beat_set_xdabr(unsigned long); |
Ishizaki Kou | 80755b4 | 2007-10-02 18:18:46 +1000 | [diff] [blame^] | 39 | void beat_power_save(void); |
| 40 | void beat_kexec_cpu_down(int, int); |
Ishizaki Kou | c347b79 | 2007-02-02 16:47:17 +0900 | [diff] [blame] | 41 | |
| 42 | #endif /* _CELLEB_BEAT_H */ |