btext.h 654 B

1234567891011121314151617181920212223242526
  1. /*
  2. * Definitions for using the procedures in btext.c.
  3. *
  4. * Benjamin Herrenschmidt <benh@kernel.crashing.org>
  5. */
  6. #ifndef __PPC_BTEXT_H
  7. #define __PPC_BTEXT_H
  8. #ifdef __KERNEL__
  9. extern void btext_clearscreen(void);
  10. extern void btext_flushscreen(void);
  11. extern int boot_text_mapped;
  12. extern int btext_initialize(struct device_node *np);
  13. extern void map_boot_text(void);
  14. extern void btext_update_display(unsigned long phys, int width, int height,
  15. int depth, int pitch);
  16. extern void btext_drawchar(char c);
  17. extern void btext_drawstring(const char *str);
  18. extern void btext_drawhex(unsigned long v);
  19. #endif /* __KERNEL__ */
  20. #endif /* __PPC_BTEXT_H */