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

About the ARM Webserver

2.1.4System interfaces

System interfaces are the APIs that make system resources available to the server. These interfaces can be divided into two categories:

memory access (malloc() and free())

network access (sockets).

On systems with native file systems, the file input/output calls are also found in the network access category. On many embedded systems, all the required APIs already exist, and you only need to include the system header files (for example, memory.h and sockets.h) in webport.h.

On systems where the existing memory and/or TCP/IP APIs do not match those used by the server, the porting engineer will have to write a glue layer that implements the expected functionality of each of the server’s required routines. A list of these routines and their exact semantics is given in Provide the system routines on page 3-7.

2-6

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

ARM DUI 0075D