sh_bios.h 536 B

12345678910111213141516171819
  1. #ifndef __ASM_SH_BIOS_H
  2. #define __ASM_SH_BIOS_H
  3. /*
  4. * Copyright (C) 2000 Greg Banks, Mitch Davis
  5. * C API to interface to the standard LinuxSH BIOS
  6. * usually from within the early stages of kernel boot.
  7. */
  8. extern void sh_bios_console_write(const char *buf, unsigned int len);
  9. extern void sh_bios_char_out(char ch);
  10. extern int sh_bios_in_gdb_mode(void);
  11. extern void sh_bios_gdb_detach(void);
  12. extern void sh_bios_get_node_addr(unsigned char *node_addr);
  13. extern void sh_bios_shutdown(unsigned int how);
  14. #endif /* __ASM_SH_BIOS_H */