Table of Contents NMS Glossary Previous Page Next Page (Page 8 of 19 in this chapter) Version


TxVpdDefine

Description:

This function allows developers to define or redefine physical resource definitions on the communications processor. If a resource currently exists that describes the same physical resource, the new resource definition takes over.

Prototype:

short TxVpdDefine (TX_HANDLE handle,
TXVPD_RES *res );

handle TX_HANDLE returned from TxVpdOpen.

res Structure defining the resource to be added to current resource set (or to replace existing default resource definition).

Details

Resources act as descriptors for hardware services available on the communications processor. As part of the communications processor boot phase, the communications processor operating system (KERNEL) defines a set of resources based on the hardware present (daughter cards). These resources are defined starting from $100 so that the low 255 resource numbers are left for assignment by developers.

The KERNEL assigns resources using the following categories:
Category

Resource Numbers

Dual port RAM channels

$101.

Serial ports

$201..$204 (count dependent on daughter card configuration - may be none).

Ethernet port

$301 (if Ethernet daughter card exists).

TDM streams

Begin at $401. The number is dependent on base communications processor type and daughter cards present.

EEPROM access

(Not available from host).

Internal dual port RAM channels

$602 (not for use by host).

Non-standard daughter card types

All non-standard daughter cards are assigned resource numbers beginning from $700, $800, etc. Most communications processor configurations will have no references to resources of these types.

See Also

TxVpdResDef, TxVpdResDflt, TxVpdResTdm



Table of Contents NMS Glossary Previous Page Next Page (Page 8 of 19 in this chapter) Version


Want to send us feedback on our documentation? Email: Tech_Pubs@nmss.com
Copyright © 2000, Natural MicroSystems, Inc. All rights reserved.