POK(kernelpart)
/home/jaouen/pok_official/pok/trunk/kernel/arch/sparc/leon3/cons.h
Go to the documentation of this file.
00001 /*
00002  *                               POK header
00003  * 
00004  * The following file is a part of the POK project. Any modification should
00005  * made according to the POK licence. You CANNOT use this file or a part of
00006  * this file is this part of a file for your own project
00007  *
00008  * For more information on the POK licence, please see our LICENCE FILE
00009  *
00010  * Please follow the coding guidelines described in doc/CODING_GUIDELINES
00011  *
00012  *                                      Copyright (c) 2007-2009 POK team 
00013  *
00014  * Created by julien on Thu Jan 15 23:34:13 2009 
00015  */
00016 
00022 #ifndef __POK_SPARC_LEON3_CONS_H__
00023 #define __POK_SPARC_LEON3_CONS_H__
00024 
00025 #define UART_STATUS_DR   0x00000001 
00026 #define UART_STATUS_TSE  0x00000002 
00027 #define UART_STATUS_THE  0x00000004 
00028 #define UART_STATUS_BR   0x00000008 
00029 #define UART_STATUS_OE   0x00000010 
00030 #define UART_STATUS_PE   0x00000020 
00031 #define UART_STATUS_FE   0x00000040 
00032 #define UART_STATUS_ERR  0x00000078 
00034 #define UART_CTRL_RE     0x00000001 
00035 #define UART_CTRL_TE     0x00000002 
00036 #define UART_CTRL_RI     0x00000004 
00037 #define UART_CTRL_TI     0x00000008 
00038 #define UART_CTRL_PS     0x00000010 
00039 #define UART_CTRL_PE     0x00000020 
00040 #define UART_CTRL_FL     0x00000040 
00041 #define UART_CTRL_LB     0x00000080 
00043 #define UART_DATA_OFFSET   0x0 
00044 #define UART_STAT_OFFSET   0x4 
00045 #define UART_CTRL_OFFSET   0x8 
00046 #define UART_SCALER_OFFSET 0xc 
00048 #define  UART1 0x80000100 
00050 int         pok_cons_init(void);
00051 
00052 #endif /* ! __POK_SPARC_LEON3_CONS_H__ */