sh_bios.h 704 B

123456789101112131415161718192021222324252627
  1. #ifndef __ASM_SH_BIOS_H
  2. #define __ASM_SH_BIOS_H
  3. #ifdef CONFIG_SH_STANDARD_BIOS
  4. /*
  5. * Copyright (C) 2000 Greg Banks, Mitch Davis
  6. * C API to interface to the standard LinuxSH BIOS
  7. * usually from within the early stages of kernel boot.
  8. */
  9. extern void sh_bios_console_write(const char *buf, unsigned int len);
  10. extern void sh_bios_gdb_detach(void);
  11. extern void sh_bios_get_node_addr(unsigned char *node_addr);
  12. extern void sh_bios_shutdown(unsigned int how);
  13. extern void sh_bios_vbr_init(void);
  14. extern void sh_bios_vbr_reload(void);
  15. #else
  16. static inline void sh_bios_vbr_init(void) { }
  17. static inline void sh_bios_vbr_reload(void) { }
  18. #endif /* CONFIG_SH_STANDARD_BIOS */
  19. #endif /* __ASM_SH_BIOS_H */