Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
(ARM).Porting TCP-IP programmer's guide.Ver 1.4.pdf
Скачиваний:
31
Добавлен:
23.08.2013
Размер:
2.79 Mб
Скачать

ARM-specific Functions

10.12stack.s

This file contains code to manage the interrupt stack. It is important that a suitable stack is initialized for the interrupt handler.

The irqStackSetup() function expects to be passed a pointer to the top of a block of memory suitable for use as a stack. No stack checking is implicitly initialized by this function, and it is recommended that you add some form of stack limit checking, either by using the software stack checking available with the ARM Software Development Toolkit, or by way of hardware protection using an MMU.

10-16

Copyright © 1998 and 1999 ARM Limited. All rights reserved.

ARM DUI 0079B

ARM-specific Functions

10.13uart.c description

There are three sets of functions within the uart.c file:

The first, uart.c ring buffer management functions on page 10-18, handles ring buffers

The second, uart.c interface functions on page 10-22, contains the interface between the UART hardware and the modem dialer code

The third, uart.c debug TTY interface functions on page 10-31, contains some glue functions to allow the TCP/IP and PPP stacks to be debugged using a serial terminal attached to a UART as a debug output device.

.

ARM DUI 0079B

Copyright © 1998 and 1999 ARM Limited. All rights reserved.

10-17