Blame view

include/asm-powerpc/btext.h 858 Bytes
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1
2
3
4
5
6
7
8
  /*
   * Definitions for using the procedures in btext.c.
   *
   * Benjamin Herrenschmidt <benh@kernel.crashing.org>
   */
  #ifndef __PPC_BTEXT_H
  #define __PPC_BTEXT_H
  #ifdef __KERNEL__
51d3082fe   Benjamin Herrenschmidt   [PATCH] powerpc: ...
9
  extern int btext_find_display(int allow_nonstdout);
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
10
11
  extern void btext_update_display(unsigned long phys, int width, int height,
  				 int depth, int pitch);
51d3082fe   Benjamin Herrenschmidt   [PATCH] powerpc: ...
12
13
14
15
  extern void btext_setup_display(int width, int height, int depth, int pitch,
  				unsigned long address);
  extern void btext_prepare_BAT(void);
  extern void btext_unmap(void);
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
16
17
18
19
  
  extern void btext_drawchar(char c);
  extern void btext_drawstring(const char *str);
  extern void btext_drawhex(unsigned long v);
51d3082fe   Benjamin Herrenschmidt   [PATCH] powerpc: ...
20
21
22
23
24
  extern void btext_drawtext(const char *c, unsigned int len);
  
  extern void btext_clearscreen(void);
  extern void btext_flushscreen(void);
  extern void btext_flushline(void);
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
25
26
27
  
  #endif /* __KERNEL__ */
  #endif /* __PPC_BTEXT_H */