QEMU
[Board Support Package]


Functions

int rt_application_init ()
void rt_hw_board_init (void)
void rt_cga_init (void)
void rt_console_init (void)
void rt_console_puts (const char *str)
int rt_console_getc (void)
char rt_keyboard_getc (void)
void rt_serial_init (void)
char rt_serial_getc (void)
void rt_serial_putc (const char c)
void rtthread_startup ()

Detailed Description

QEMU is a generic and open source processor emulator which achieves a good emulation speed by using dynamic translation. More infos at http://fabrice.bellard.free.fr/qemu/

Function Documentation

int rt_application_init (  ) 

This function will be invoked to initalize user application when system startup.

void rt_cga_init ( void   ) 

This function initializes cga

int rt_console_getc ( void   ) 

return the next input character from the console,either from serial, or keyboard

void rt_console_init ( void   ) 

This function initializes console

void rt_console_puts ( const char *  str  ) 

This function is used to display a string on console, normally, it's invoked by rt_kprintf

Parameters:
str the displayed string

void rt_hw_board_init ( void   ) 

This function will init QEMU

char rt_keyboard_getc ( void   ) 

This function get a char from the keyboard

char rt_serial_getc ( void   ) 

This function read a character from serial without interrupt enable mode

Returns:
the read char

void rt_serial_init ( void   ) 

This function initializes serial

void rt_serial_putc ( const char  c  ) 

This function will write a character to serial without interrupt enable mode

Parameters:
c the char to write

void rtthread_startup ( void   ) 

This function will startup RT-Thread RTOS


Generated on Thu Oct 9 07:19:09 2008 for RT-Thread Kernel by  doxygen 1.5.7