sh_bios.h 704 字节
Newer Older
L
Linus Torvalds 已提交
1 2 3
#ifndef __ASM_SH_BIOS_H
#define __ASM_SH_BIOS_H

4 5
#ifdef CONFIG_SH_STANDARD_BIOS

L
Linus Torvalds 已提交
6 7 8 9 10 11 12 13 14 15 16
/*
 * Copyright (C) 2000 Greg Banks, Mitch Davis
 * C API to interface to the standard LinuxSH BIOS
 * usually from within the early stages of kernel boot.
 */
extern void sh_bios_console_write(const char *buf, unsigned int len);
extern void sh_bios_gdb_detach(void);

extern void sh_bios_get_node_addr(unsigned char *node_addr);
extern void sh_bios_shutdown(unsigned int how);

17 18 19 20 21 22 23 24 25 26
extern void sh_bios_vbr_init(void);
extern void sh_bios_vbr_reload(void);

#else

static inline void sh_bios_vbr_init(void) { }
static inline void sh_bios_vbr_reload(void) { }

#endif /* CONFIG_SH_STANDARD_BIOS */

L
Linus Torvalds 已提交
27
#endif /* __ASM_SH_BIOS_H */