Incorporate patch 1897630

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@714 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2008-02-20 12:55:07 +00:00
parent cb4390a8a0
commit 491f5b42b5
29 changed files with 51 additions and 36 deletions

View File

@ -1349,7 +1349,7 @@ The system can be re-made subsequently by just typing <code>make</code>.
<code>CONFIG_DEBUG_LIB</code>: enable C library debug output (disabled by default)
</li>
<li>
<code>CONFIG_HAVE_LOWPUTC</code>: architecture supports low-level, boot
<code>CONFIG_ARCH_LOWPUTC</code>: architecture supports low-level, boot
time console output
</li>
<li>

View File

@ -128,6 +128,11 @@ endif
@echo " CONFIG_STACK_BASE == (CONFIG_STACK_END - $(CONFIG_PROC_STACK_SIZE))" >> asm_mem.h
@echo " CONFIG_HEAP1_END == (CONFIG_STACK_END - $(CONFIG_PROC_STACK_SIZE) - 1)" >> asm_mem.h
@echo " CONFIG_HEAP1_BASE == $(HEAP_BASE)" >> asm_mem.h
ifeq ($(CONFIG_LINKER_ROM_AT_0000),y)
@echo " CONFIG_LINKER_ROM_AT_0000 == 1" >> asm_mem.h
else
@echo " CONFIG_LINKER_ROM_AT_0000 == 0" >> asm_mem.h
endif
# Combine all objects in this directory into a library

View File

@ -63,6 +63,9 @@
.globl _os_start ; OS entry point
.globl _up_doirq ; Interrupt decoding logic
.if CONFIG_LINKER_ROM_AT_0000
.else ;CONFIG_LINKER_ROM_AT_0000
;**************************************************************************
; Reset entry point
;**************************************************************************
@ -158,6 +161,7 @@
.org 0x0066
retn
.endif ;CONFIG_LINKER_ROM_AT_0000
;**************************************************************************
; System start logic
;**************************************************************************

View File

@ -156,7 +156,7 @@ defconfig -- This is a configuration file similar to the Linux
by default)
CONFIG_DEBUG_LIB - enable C library debug output (disabled
by default)
CONFIG_HAVE_LOWPUTC - architecture supports low-level, boot
CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot
time console output
CONFIG_MM_REGIONS - If the architecture includes multiple
regions of memory to allocate from, this specifies the

View File

@ -117,7 +117,7 @@ CONFIG_HAVE_LIBM=n
# regions of memory to allocate from, this specifies the
# number of memory regions that the memory manager must
# handle and enables the API mm_addregion(start, end);
# CONFIG_HAVE_LOWPUTC - architecture supports low-level, boot
# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot
# time console output
# CONFIG_TICKS_PER_MSEC - The default system timer is 100Hz
# or TICKS_PER_MSEC=10. This setting may be defined to

View File

@ -117,7 +117,7 @@ CONFIG_HAVE_LIBM=n
# regions of memory to allocate from, this specifies the
# number of memory regions that the memory manager must
# handle and enables the API mm_addregion(start, end);
# CONFIG_HAVE_LOWPUTC - architecture supports low-level, boot
# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot
# time console output
# CONFIG_TICKS_PER_MSEC - The default system timer is 100Hz
# or TICKS_PER_MSEC=10. This setting may be defined to

View File

@ -117,7 +117,7 @@ CONFIG_UART_MODEM_2STOP=0
# regions of memory to allocate from, this specifies the
# number of memory regions that the memory manager must
# handle and enables the API mm_addregion(start, end);
# CONFIG_HAVE_LOWPUTC - architecture supports low-level, boot
# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot
# time console output
# CONFIG_TICKS_PER_MSEC - The default system timer is 100Hz
# or TICKS_PER_MSEC=10. This setting may be defined to

View File

@ -117,7 +117,7 @@ CONFIG_HAVE_LIBM=n
# regions of memory to allocate from, this specifies the
# number of memory regions that the memory manager must
# handle and enables the API mm_addregion(start, end);
# CONFIG_HAVE_LOWPUTC - architecture supports low-level, boot
# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot
# time console output
# CONFIG_TICKS_PER_MSEC - The default system timer is 100Hz
# or TICKS_PER_MSEC=10. This setting may be defined to

View File

@ -106,7 +106,7 @@ CONFIG_HAVE_LIBM=n
# regions of memory to allocate from, this specifies the
# number of memory regions that the memory manager must
# handle and enables the API mm_addregion(start, end);
# CONFIG_HAVE_LOWPUTC - architecture supports low-level, boot
# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot
# time console output
# CONFIG_TICKS_PER_MSEC - The default system timer is 100Hz
# or TICKS_PER_MSEC=10. This setting may be defined to

View File

@ -130,7 +130,7 @@ CONFIG_HAVE_LIBM=n
# regions of memory to allocate from, this specifies the
# number of memory regions that the memory manager must
# handle and enables the API mm_addregion(start, end);
# CONFIG_HAVE_LOWPUTC - architecture supports low-level, boot
# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot
# time console output
# CONFIG_TICKS_PER_MSEC - The default system timer is 100Hz
# or TICKS_PER_MSEC=10. This setting may be defined to

View File

@ -115,7 +115,7 @@ CONFIG_HAVE_LIBM=n
# regions of memory to allocate from, this specifies the
# number of memory regions that the memory manager must
# handle and enables the API mm_addregion(start, end);
# CONFIG_HAVE_LOWPUTC - architecture supports low-level, boot
# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot
# time console output
# CONFIG_TICKS_PER_MSEC - The default system timer is 100Hz
# or TICKS_PER_MSEC=10. This setting may be defined to

View File

@ -115,7 +115,7 @@ CONFIG_HAVE_LIBM=n
# regions of memory to allocate from, this specifies the
# number of memory regions that the memory manager must
# handle and enables the API mm_addregion(start, end);
# CONFIG_HAVE_LOWPUTC - architecture supports low-level, boot
# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot
# time console output
# CONFIG_TICKS_PER_MSEC - The default system timer is 100Hz
# or TICKS_PER_MSEC=10. This setting may be defined to

View File

@ -115,7 +115,7 @@ CONFIG_HAVE_LIBM=n
# regions of memory to allocate from, this specifies the
# number of memory regions that the memory manager must
# handle and enables the API mm_addregion(start, end);
# CONFIG_HAVE_LOWPUTC - architecture supports low-level, boot
# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot
# time console output
# CONFIG_TICKS_PER_MSEC - The default system timer is 100Hz
# or TICKS_PER_MSEC=10. This setting may be defined to

View File

@ -115,7 +115,7 @@ CONFIG_HAVE_LIBM=n
# regions of memory to allocate from, this specifies the
# number of memory regions that the memory manager must
# handle and enables the API mm_addregion(start, end);
# CONFIG_HAVE_LOWPUTC - architecture supports low-level, boot
# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot
# time console output
# CONFIG_TICKS_PER_MSEC - The default system timer is 100Hz
# or TICKS_PER_MSEC=10. This setting may be defined to

View File

@ -103,7 +103,7 @@ CONFIG_HAVE_LIBM=n
# regions of memory to allocate from, this specifies the
# number of memory regions that the memory manager must
# handle and enables the API mm_addregion(start, end);
# CONFIG_HAVE_LOWPUTC - architecture supports low-level, boot
# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot
# time console output
# CONFIG_TICKS_PER_MSEC - The default system timer is 100Hz
# or TICKS_PER_MSEC=10. This setting may be defined to

View File

@ -71,7 +71,7 @@ CONFIG_HAVE_LIBM=y
# regions of memory to allocate from, this specifies the
# number of memory regions that the memory manager must
# handle and enables the API mm_addregion(start, end);
# CONFIG_HAVE_LOWPUTC - architecture supports low-level, boot
# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot
# time console output
# CONFIG_TICKS_PER_MSEC - The default system timer is 100Hz
# or TICKS_PER_MSEC=10. This setting may be defined to

View File

@ -60,7 +60,7 @@ CONFIG_ARCH_BOARD_SIM=y
# regions of memory to allocate from, this specifies the
# number of memory regions that the memory manager must
# handle and enables the API mm_addregion(start, end);
# CONFIG_HAVE_LOWPUTC - architecture supports low-level, boot
# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot
# time console output
# CONFIG_TICKS_PER_MSEC - The default system timer is 100Hz
# or TICKS_PER_MSEC=10. This setting may be defined to

View File

@ -60,7 +60,7 @@ CONFIG_ARCH_BOARD_SIM=y
# regions of memory to allocate from, this specifies the
# number of memory regions that the memory manager must
# handle and enables the API mm_addregion(start, end);
# CONFIG_HAVE_LOWPUTC - architecture supports low-level, boot
# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot
# time console output
# CONFIG_TICKS_PER_MSEC - The default system timer is 100Hz
# or TICKS_PER_MSEC=10. This setting may be defined to

View File

@ -73,13 +73,15 @@ CONFIG_UART_TXBUFSIZE=256
#
# CONFIG_LINKER_START_AREA - Start of START area
# CONFIG_LINKER_CODE_AREA - Start of _CODE area
#
# CONFIG_LINKER_ROM_AT_0000 - Disable the initialization code
# starting at 0000
CONFIG_RRLOAD_BINARY=n
CONFIG_HAVE_LIBM=n
CONFIG_LINKER_START_AREA=0x5200
CONFIG_LINKER_CODE_AREA=0x5300
CONFIG_LINKER_ROM_AT_0000=y
#
# General OS setup
@ -92,7 +94,7 @@ CONFIG_LINKER_CODE_AREA=0x5300
# regions of memory to allocate from, this specifies the
# number of memory regions that the memory manager must
# handle and enables the API mm_addregion(start, end);
# CONFIG_HAVE_LOWPUTC - architecture supports low-level, boot
# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot
# time console output
# CONFIG_TICKS_PER_MSEC - The default system timer is 100Hz
# or TICKS_PER_MSEC=10. This setting may be defined to

View File

@ -73,13 +73,15 @@ CONFIG_UART_TXBUFSIZE=256
#
# CONFIG_LINKER_START_AREA - Start of START area
# CONFIG_LINKER_CODE_AREA - Start of _CODE area
#
# CONFIG_LINKER_ROM_AT_0000 - Disable the initialization code
# starting at 0000
CONFIG_RRLOAD_BINARY=n
CONFIG_HAVE_LIBM=n
CONFIG_LINKER_START_AREA=0x5200
CONFIG_LINKER_CODE_AREA=0x5300
CONFIG_LINKER_ROM_AT_0000=y
#
# General OS setup
@ -92,7 +94,7 @@ CONFIG_LINKER_CODE_AREA=0x5300
# regions of memory to allocate from, this specifies the
# number of memory regions that the memory manager must
# handle and enables the API mm_addregion(start, end);
# CONFIG_HAVE_LOWPUTC - architecture supports low-level, boot
# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot
# time console output
# CONFIG_TICKS_PER_MSEC - The default system timer is 100Hz
# or TICKS_PER_MSEC=10. This setting may be defined to

View File

@ -73,13 +73,15 @@ CONFIG_UART_TXBUFSIZE=256
#
# CONFIG_LINKER_START_AREA - Start of START area
# CONFIG_LINKER_CODE_AREA - Start of _CODE area
#
# CONFIG_LINKER_ROM_AT_0000 - Disable the initialization code
# starting at 0000
CONFIG_RRLOAD_BINARY=n
CONFIG_HAVE_LIBM=n
CONFIG_LINKER_START_AREA=0x5200
CONFIG_LINKER_CODE_AREA=0x5300
CONFIG_LINKER_ROM_AT_0000=y
#
# General OS setup
@ -92,7 +94,7 @@ CONFIG_LINKER_CODE_AREA=0x5300
# regions of memory to allocate from, this specifies the
# number of memory regions that the memory manager must
# handle and enables the API mm_addregion(start, end);
# CONFIG_HAVE_LOWPUTC - architecture supports low-level, boot
# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot
# time console output
# CONFIG_TICKS_PER_MSEC - The default system timer is 100Hz
# or TICKS_PER_MSEC=10. This setting may be defined to

View File

@ -211,10 +211,10 @@ static void up_shutdown(struct uart_dev_s *dev)
* Description:
* Configure the UART to operation in interrupt driven mode. This method is
* called when the serial port is opened. Normally, this is just after the
* the setup() method is called, however, the serial console may operate in
* a non-interrupt driven mode during the boot phase.
* setup() method is called, however, the serial console may operate in a
* non-interrupt driven mode during the boot phase.
*
* RX and TX interrupts are not enabled when by the attach method (unless the
* RX and TX interrupts are not enabled by the attach method (unless the
* hardware supports multiple levels of interrupt enabling). The RX and TX
* interrupts are not enabled until the txint() and rxint() methods are called.
*
@ -271,7 +271,7 @@ static int up_ioctl(struct file *filep, int cmd, unsigned long arg)
* Description:
* Called (usually) from the interrupt level to receive one
* character from the UART. Error bits associated with the
* receipt are provided in the the return 'status'.
* receipt are provided in the return 'status'.
*
****************************************************************************/

View File

@ -117,7 +117,7 @@ CONFIG_HAVE_LIBM=n
# regions of memory to allocate from, this specifies the
# number of memory regions that the memory manager must
# handle and enables the API mm_addregion(start, end);
# CONFIG_HAVE_LOWPUTC - architecture supports low-level, boot
# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot
# time console output
# CONFIG_HAVE_GETPUTC - architecture supports low-level, boot
# time console input

View File

@ -117,7 +117,7 @@ CONFIG_HAVE_LIBM=n
# regions of memory to allocate from, this specifies the
# number of memory regions that the memory manager must
# handle and enables the API mm_addregion(start, end);
# CONFIG_HAVE_LOWPUTC - architecture supports low-level, boot
# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot
# time console output
# CONFIG_HAVE_GETPUTC - architecture supports low-level, boot
# time console input

View File

@ -85,7 +85,7 @@ CONFIG_HAVE_LIBM=n
# regions of memory to allocate from, this specifies the
# number of memory regions that the memory manager must
# handle and enables the API mm_addregion(start, end);
# CONFIG_HAVE_LOWPUTC - architecture supports low-level, boot
# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot
# time console output
# CONFIG_TICKS_PER_MSEC - The default system timer is 100Hz
# or TICKS_PER_MSEC=10. This setting may be defined to

View File

@ -85,7 +85,7 @@ CONFIG_HAVE_LIBM=n
# regions of memory to allocate from, this specifies the
# number of memory regions that the memory manager must
# handle and enables the API mm_addregion(start, end);
# CONFIG_HAVE_LOWPUTC - architecture supports low-level, boot
# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot
# time console output
# CONFIG_TICKS_PER_MSEC - The default system timer is 100Hz
# or TICKS_PER_MSEC=10. This setting may be defined to

View File

@ -85,7 +85,7 @@ CONFIG_HAVE_LIBM=n
# regions of memory to allocate from, this specifies the
# number of memory regions that the memory manager must
# handle and enables the API mm_addregion(start, end);
# CONFIG_HAVE_LOWPUTC - architecture supports low-level, boot
# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot
# time console output
# CONFIG_TICKS_PER_MSEC - The default system timer is 100Hz
# or TICKS_PER_MSEC=10. This setting may be defined to

View File

@ -173,10 +173,10 @@ static void up_shutdown(struct uart_dev_s *dev)
* Description:
* Configure the UART to operation in interrupt driven mode. This method is
* called when the serial port is opened. Normally, this is just after the
* the setup() method is called, however, the serial console may operate in
* a non-interrupt driven mode during the boot phase.
* setup() method is called, however, the serial console may operate in a
* non-interrupt driven mode during the boot phase.
*
* RX and TX interrupts are not enabled when by the attach method (unless the
* RX and TX interrupts are not enabled by the attach method (unless the
* hardware supports multiple levels of interrupt enabling). The RX and TX
* interrupts are not enabled until the txint() and rxint() methods are called.
*
@ -221,7 +221,7 @@ static int up_ioctl(struct file *filep, int cmd, unsigned long arg)
* Description:
* Called (usually) from the interrupt level to receive one
* character from the UART. Error bits associated with the
* receipt are provided in the the return 'status'.
* receipt are provided in the return 'status'.
*
****************************************************************************/

View File

@ -117,7 +117,7 @@ CONFIG_HAVE_LIBM=n
# regions of memory to allocate from, this specifies the
# number of memory regions that the memory manager must
# handle and enables the API mm_addregion(start, end);
# CONFIG_HAVE_LOWPUTC - architecture supports low-level, boot
# CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot
# time console output
# CONFIG_HAVE_GETPUTC - architecture supports low-level, boot
# time console input