console: Implement pre-console buffer
Allow redirection of console output prior to console initialisation to a temporary buffer. To enable this functionality, the board (or arch) must define: - CONFIG_PRE_CONSOLE_BUFFER - Enable pre-console buffer - CONFIG_PRE_CON_BUF_ADDR - Base address of pre-console buffer - CONFIG_PRE_CON_BUF_SZ - Size of pre-console buffer (in bytes) The pre-console buffer will buffer the last CONFIG_PRE_CON_BUF_SZ bytes Any earlier characters are silently dropped.
Showing
- README 14 additions, 0 deletionsREADME
- arch/arm/include/asm/global_data.h 3 additions, 0 deletionsarch/arm/include/asm/global_data.h
- arch/avr32/include/asm/global_data.h 3 additions, 0 deletionsarch/avr32/include/asm/global_data.h
- arch/blackfin/include/asm/global_data.h 3 additions, 0 deletionsarch/blackfin/include/asm/global_data.h
- arch/m68k/include/asm/global_data.h 3 additions, 0 deletionsarch/m68k/include/asm/global_data.h
- arch/microblaze/include/asm/global_data.h 3 additions, 0 deletionsarch/microblaze/include/asm/global_data.h
- arch/mips/include/asm/global_data.h 3 additions, 0 deletionsarch/mips/include/asm/global_data.h
- arch/nios2/include/asm/global_data.h 3 additions, 0 deletionsarch/nios2/include/asm/global_data.h
- arch/powerpc/include/asm/global_data.h 3 additions, 0 deletionsarch/powerpc/include/asm/global_data.h
- arch/sh/include/asm/global_data.h 3 additions, 0 deletionsarch/sh/include/asm/global_data.h
- arch/sparc/include/asm/global_data.h 3 additions, 0 deletionsarch/sparc/include/asm/global_data.h
- arch/x86/include/asm/global_data.h 3 additions, 0 deletionsarch/x86/include/asm/global_data.h
- common/console.c 41 additions, 2 deletionscommon/console.c
Loading
Please register or sign in to comment