blob: 95714c28422b14eca127557896c2179fa36dbe23 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#ifndef __ASM_SH_BIOS_H
2#define __ASM_SH_BIOS_H
3
Paul Mundt191d0d22010-01-12 14:50:43 +09004#ifdef CONFIG_SH_STANDARD_BIOS
5
Linus Torvalds1da177e2005-04-16 15:20:36 -07006/*
7 * Copyright (C) 2000 Greg Banks, Mitch Davis
8 * C API to interface to the standard LinuxSH BIOS
9 * usually from within the early stages of kernel boot.
10 */
Linus Torvalds1da177e2005-04-16 15:20:36 -070011extern void sh_bios_console_write(const char *buf, unsigned int len);
Linus Torvalds1da177e2005-04-16 15:20:36 -070012extern void sh_bios_gdb_detach(void);
13
14extern void sh_bios_get_node_addr(unsigned char *node_addr);
15extern void sh_bios_shutdown(unsigned int how);
16
Paul Mundt191d0d22010-01-12 14:50:43 +090017extern void sh_bios_vbr_init(void);
18extern void sh_bios_vbr_reload(void);
19
20#else
21
22static inline void sh_bios_vbr_init(void) { }
23static inline void sh_bios_vbr_reload(void) { }
24
25#endif /* CONFIG_SH_STANDARD_BIOS */
26
Linus Torvalds1da177e2005-04-16 15:20:36 -070027#endif /* __ASM_SH_BIOS_H */