Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
btext.c File Reference
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/init.h>
#include <linux/export.h>
#include <linux/memblock.h>
#include <asm/sections.h>
#include <asm/prom.h>
#include <asm/btext.h>
#include <asm/page.h>
#include <asm/mmu.h>
#include <asm/pgtable.h>
#include <asm/io.h>
#include <asm/processor.h>
#include <asm/udbg.h>

Go to the source code of this file.

Macros

#define NO_SCROLL
 
#define __force_data   __attribute__((__section__(".data")))
 
#define cmapsz   (16*256)
 

Functions

void __init btext_setup_display (int width, int height, int depth, int pitch, unsigned long address)
 
void __init btext_unmap (void)
 
int btext_initialize (struct device_node *np)
 
int __init btext_find_display (int allow_nonstdout)
 
void btext_update_display (unsigned long phys, int width, int height, int depth, int pitch)
 
 EXPORT_SYMBOL (btext_update_display)
 
void btext_clearscreen (void)
 
void btext_flushscreen (void)
 
void btext_flushline (void)
 
void btext_drawchar (char c)
 
void btext_drawstring (const char *c)
 
void btext_drawtext (const char *c, unsigned int len)
 
void btext_drawhex (unsigned long v)
 
void __init udbg_init_btext (void)
 

Variables

unsigned long disp_BAT[2] __initdata = {0, 0}
 
int force_printk_to_btext = 0
 

Macro Definition Documentation

static unsigned char *dispDeviceBase __force_data   __attribute__((__section__(".data")))

Definition at line 33 of file btext.c.

#define cmapsz   (16*256)

Definition at line 48 of file btext.c.

#define NO_SCROLL

Definition at line 22 of file btext.c.

Function Documentation

void btext_clearscreen ( void  )

Definition at line 294 of file btext.c.

void btext_drawchar ( char  c)

Definition at line 377 of file btext.c.

void btext_drawhex ( unsigned long  v)

Definition at line 443 of file btext.c.

void btext_drawstring ( const char c)

Definition at line 427 of file btext.c.

void btext_drawtext ( const char c,
unsigned int  len 
)

Definition at line 435 of file btext.c.

int __init btext_find_display ( int  allow_nonstdout)

Definition at line 217 of file btext.c.

void btext_flushline ( void  )

Definition at line 329 of file btext.c.

void btext_flushscreen ( void  )

Definition at line 310 of file btext.c.

int btext_initialize ( struct device_node np)

Definition at line 157 of file btext.c.

void __init btext_setup_display ( int  width,
int  height,
int  depth,
int  pitch,
unsigned long  address 
)

Definition at line 104 of file btext.c.

void __init btext_unmap ( void  )

Definition at line 121 of file btext.c.

void btext_update_display ( unsigned long  phys,
int  width,
int  height,
int  depth,
int  pitch 
)

Definition at line 265 of file btext.c.

EXPORT_SYMBOL ( btext_update_display  )
void __init udbg_init_btext ( void  )

Definition at line 916 of file btext.c.

Variable Documentation

unsigned long disp_BAT [2] __initdata = {0, 0}

Definition at line 46 of file btext.c.

int force_printk_to_btext = 0

Definition at line 53 of file btext.c.