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

Introduction

1.3.3Operating system requirements

The stack requires the following basic services from the target system:

clock tick A clock tick counter must be incremented at regular intervals. See cticks in the section on Timers and multitasking on page 2-8.

memory access

The standard malloc() and free() library calls are ideal. If you do not need a TCP or Dynamic Host Configuration Protocol (DHCP) server, these functions are called at startup time only and can be replaced with a static or partition-based scheme.

multitasking

The stack must obtain CPU cycles to process received packets (and handle timeouts) on a timely basis. Two methods are discussed in Task control on page 2-10.

ARM DUI 0079B

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

1-11