TPMC866-SW-42 - VxWorks Device Driver
Page 6 of 37
Be sure that the function is called prior to MMU initialization otherwise the TPMC866 PCI spaces
remains unmapped and an access fault occurs during driver initialization.
Please insert the following call at a suitable place in
sysLib.c
:
tp866PciInit();
Modifying the sysLib.c file will change the sysLib.c in the BSP path. Remember this for future
projects and recompilations.
2.3 System resource requirement
The table gives an overview over the system resources that will be needed by the driver.
Resource
Driver requirement
Devices requirement
Memory
< 1 KB
< 1KB
Stack
< 2 KB
---
Semaphores
1
---
Memory and stack usage may differ from system to system, depending on the used compiler
and its setup.
The following formula shows the way to calculate the common requirements of the driver and devices.
<total requirement> = <driver requirement> + (<number of devices> * <device requirement>)
The maximum usage of some resources is limited by adjustable parameters. If the application
and driver exceed these limits, increase the according values in your project.