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

ARM-specific Functions

8.2ARM Firmware Suite

The \uHAL directory contains µHAL and PCI libraries and header files taken directly from the ARM Firmware Suite (AFS) Version 1.1 CD-ROM. Using µHAL allows you to port the stack with ease to other development platforms that support µHAL with.

The libraries shipped with ARM TCP/IP are the IntegratorT variants, that work with the following core modules:

Integrator/CM7TDMI

Integrator/CM720T

Integrator/CM740T

Integrator/CM920T

Integrator/CM940T.

This supports ARM/Thumb interworking.

Note

The IntegratorT variant does not support the memory management and protection units available on the CM720T/740T/920T/940T core modules. If you want to use this, or any other functionality provided by µHAL for these core modules, you have to copy the appropriate files from the AFS CD-ROM.

8.2.1Example

As an example, the libraries for the Integrator/CM740T are in the following locations on the CD-ROM:

\common\images\Integrator740T\uHAL\Build\Integrator740T.b\

semihosted\uHALlibrary.a

\common\images\Integrator740T\PCI\Build\Integrator740T.b\

semihosted\PCIlib.a

The header files in the µHAL directory are copied from the following locations on the CD-ROM:

\{windows|unix}\source\all\uHAL\h

\{windows|unix}\source\all\uHAL\Processors

\{windows|unix}\source\all\PCI\Sources

\{windows|unix}\source\all\uHAL\Boards\INTEGRATOR

8-8

Copyright © 1998-2001 ARM Limited. All rights reserved.

ARM DUI 0144B

Chapter 9

Miscellaneous Library Functions

This chapter describes the assortment of functions that are found in the \misclib directory. These functions perform a variety of tasks that are used by the example programs, and by the TCP/IP stack. You might not require all, or any, of these functions in your final system. These functions enable you to perform a sample port, but they do not comprise part of the supported product. It contains the following sections:

Description of misclib files on page 9-2

in_utils.c on page 9-6

nextcarg.c on page 9-17

parseip.c on page 9-18

reshost.c on page 9-19

userpass.c on page 9-24.

ARM DUI 0144B

Copyright © 1998-2001 ARM Limited. All rights reserved.

9-1