Path: blob/master/arch/powerpc/platforms/cell/beat.h
10818 views
/*1* Guest OS Interfaces.2*3* (C) Copyright 2006 TOSHIBA CORPORATION4*5* This program is free software; you can redistribute it and/or modify6* it under the terms of the GNU General Public License as published by7* the Free Software Foundation; either version 2 of the License, or8* (at your option) any later version.9*10* This program is distributed in the hope that it will be useful,11* but WITHOUT ANY WARRANTY; without even the implied warranty of12* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the13* GNU General Public License for more details.14*15* You should have received a copy of the GNU General Public License along16* with this program; if not, write to the Free Software Foundation, Inc.,17* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.18*/1920#ifndef _CELLEB_BEAT_H21#define _CELLEB_BEAT_H2223int64_t beat_get_term_char(uint64_t, uint64_t *, uint64_t *, uint64_t *);24int64_t beat_put_term_char(uint64_t, uint64_t, uint64_t, uint64_t);25int64_t beat_repository_encode(int, const char *, uint64_t[4]);26void beat_restart(char *);27void beat_power_off(void);28void beat_halt(void);29int beat_set_rtc_time(struct rtc_time *);30void beat_get_rtc_time(struct rtc_time *);31ssize_t beat_nvram_get_size(void);32ssize_t beat_nvram_read(char *, size_t, loff_t *);33ssize_t beat_nvram_write(char *, size_t, loff_t *);34int beat_set_xdabr(unsigned long);35void beat_power_save(void);36void beat_kexec_cpu_down(int, int);3738#endif /* _CELLEB_BEAT_H */394041