-
Table of Contents
I.
The eCos Kernel
-
-
Kernel Overview -- Overview of the eCos Kernel
SMP Support -- Support Symmetric Multiprocessing Systems
Thread creation -- Create a new thread
Thread information -- Get basic thread information
Thread control -- Control whether or not a thread is running
Thread termination -- Allow threads to terminate
Thread priorities -- Examine and manipulate thread priorities
Per-thread data -- Manipulate per-thread data
Thread destructors -- Call functions on thread termination
Exception handling -- Handle processor exceptions
Counters -- Count event occurrences
Clocks -- Provide system clocks
Alarms -- Run an alarm function when a number of events have occurred
Mutexes -- Synchronization primitive
Condition Variables -- Synchronization primitive
Semaphores -- Synchronization primitive
Mail boxes -- Synchronization primitive
Event Flags -- Synchronization primitive
Spinlocks -- Low-level Synchronization Primitive
Scheduler Control -- Control the state of the scheduler
Interrupt Handling -- Manage interrupt handlers
Kernel Real-time Characterization -- Measure the performance of the eCos kernel
II.
The eCos Hardware Abstraction Layer (HAL)
- III. The ISO Standard C and Math Libraries
- IV. I/O Package (Device Drivers)
- V. File System Support Infrastructure
-
-
14.
Introduction
15.
File System Table
16.
Mount Table
17.
File Table
18.
Directories
19.
Synchronization
20.
Initialization and Mounting
21.
Sockets
22.
Select
23.
Devices
24.
Writing a New Filesystem
VI.
PCI Library
- VII. FLASH Library
- VIII. SPI Support
-
-
Overview -- eCos Support for SPI, the Serial Peripheral Interface
SPI Interface -- allow applications and other packages to access SPI devices
Porting to New Hardware -- Adding SPI support to new hardware
IX.
I2C Support
-
-
Overview -- eCos Support for I2C, the Inter IC Bus
I2C Interface -- allow applications and other packages to access I2C devices
Porting to New Hardware -- Adding I2C support to new hardware
X.
eCos POSIX compatibility layer
-
-
27.
POSIX Standard Support
-
-
Process Primitives [POSIX Section 3]
Process Environment [POSIX Section 4]
Files and Directories [POSIX Section 5]
Input and Output [POSIX Section 6]
Device and Class Specific Functions [POSIX Section 7]
C Language Services [POSIX Section 8]
System Databases [POSIX Section 9]
Data Interchange Format [POSIX Section 10]
Synchronization [POSIX Section 11]
Memory Management [POSIX Section 12]
Execution Scheduling [POSIX Section 13]
Clocks and Timers [POSIX Section 14]
Message Passing [POSIX Section 15]
Thread Management [POSIX Section 16]
Thread-Specific Data [POSIX Section 17]
Thread Cancellation [POSIX Section 18]
Non-POSIX Functions
References and Bibliography
XI.
µITRON
-
-
-
28.
µITRON API
-
-
Introduction to µITRON
µITRON and eCos
Task Management Functions
Task-Dependent Synchronization Functions
Synchronization and Communication Functions
Extended Synchronization and Communication Functions
Interrupt management functions
Memory pool Management Functions
Time Management Functions
System Management Functions
Network Support Functions
µITRON Configuration FAQ
XII.
TCP/IP Stack Support for eCos
-
-
-
29.
Ethernet Driver Design
30.
Sample Code
31.
Configuring IP Addresses
32.
Tests and Demonstrations
- 33. Support Features
- 34. TCP/IP Library Reference
-
-
getdomainname
gethostname
byteorder
ethers
getaddrinfo
gethostbyname
getifaddrs
getnameinfo
getnetent
getprotoent
getrrsetbyname
getservent
if_nametoindex
inet
inet6_option_space
inet6_rthdr_space
inet_net
ipx
iso_addr
link_addr
net_addrcmp
ns
resolver
accept
bind
connect
getpeername
getsockname
getsockopt
ioctl
poll
select
send
shutdown
socket
XIII.
FreeBSD TCP/IP Stack port for eCos
- XIV. OpenBSD TCP/IP Stack port for eCos
- XV. DNS for eCos and RedBoot
- XVI. IPSEC for eCos
- XVII. eCos PPP User Guide
-
-
44.
Features
45.
Using PPP
46.
PPP Interface
-
-
cyg_ppp_options_init() -- Initialize PPP link options
cyg_ppp_up() -- Bring PPP connection up
cyg_ppp_down() -- Bring PPP connection down
cyg_ppp_wait_up() -- Wait for PPP connection to come up
cyg_ppp_wait_down() -- Wait for PPP connection to terminate
cyg_ppp_chat() -- Execute chat script
47.
Installing and Configuring PPP
- 48. CHAT Scripts
- 49. PPP Enabled Device Drivers 50. Testing
XVIII.
Ethernet Device Drivers
-
- XIX. Ethernet PHY Device Support
- XX. SNMP
- XXI. Embedded HTTP Server
- XXII. FTP Client for eCos TCP/IP Stack
- XXIII. Simple Network Time Protocol Client
- XXIV. Another Tiny HTTP Server for eCos
- XXV. Memory Allocation
- XXVI. CRC Algorithms
-
-
59.
CRC Functions
XXVII.
CPU load measurements
- XXVIII. gprof Profiling Support
-
-
Profiling -- eCos Support for the gprof profiling tool
XXIX.
eCos Power Management Support
-
-
Introduction -- eCos support for Power Management
Power Management Information -- finding out about the various power controllers in the system
Changing Power Modes -- reducing or increasing power consumption as needed
Support for Policy Modules -- closer integration with higher-level code
Attached and Detached Controllers -- control which power controllers are affected by global changes
Implementing a Power Controller -- adding power management support to device drivers and other packages
XXX.
eCos USB Slave Support
-
-
Introduction -- eCos support for USB slave devices
USB Enumeration Data -- The USB enumeration data structures
Starting up a USB Device -- Starting up a USB Device
Devtab Entries -- Data endpoint data structure
Receiving Data from the Host -- Receiving Data from the Host
Sending Data to the Host -- Sending Data to the Host
Halted Endpoints -- Support for Halting and Halted Endpoints
Control Endpoints -- Control endpoint data structure
Data Endpoints -- Data endpoint data structures
Writing a USB Device Driver -- USB Device Driver Porting Guide
Testing -- Testing of USB Device Drivers
XXXI.
eCos Support for Developing USB-ethernet Peripherals
-
-
Introduction -- eCos support for developing USB ethernet peripherals
Initializing the USB-ethernet Package -- Initializing the USB-ethernet Package
USB-ethernet Data Transfers -- Exchanging ethernet packets with the USB host
USB-ethernet State Handling -- Maintaining the USB-ethernet connection with the host
Network Device for the eCos TCP/IP Stack -- USB-ethernet support for the eCos TCP/IP Stack
Example Host-side Device Driver -- Provide host-side support for the eCos USB-ethernet package
Communication Protocol -- Protocol used between the host-side device driver and the eCos USB-ethernet package
XXXII.
eCos Synthetic Target
-
-
Overview -- Overview
Installation -- Preparing to use the synthetic target
Running a Synthetic Target Application -- Arguments and configuration files
The I/O Auxiliary's User Interface -- Controlling the I/O Auxiliary
The Console Device -- Show output from the eCos application
System Calls -- Access Linux system facilities
Writing New Devices - target -- extending the synthetic target, target-side
Writing New Devices - host -- extending the synthetic target, host-side
Porting -- Adding support for other hosts
XXXIII.
SA11X0 USB Device Driver
-
-
SA11X0 USB Device Driver -- Device driver for the on-chip SA11X0 USB device
XXXIV.
NEC uPD985xx USB Device Driver
-
-
NEC uPD985xx USB Device Driver -- Device driver for the on-chip NEC uPD985xx USB device
XXXV.
Synthetic Target Ethernet Driver
-
-
Synthetic Target Ethernet Driver -- Allow synthetic target applications to perform ethernet I/O
XXXVI.
Synthetic Target Watchdog Device
-
-
Synthetic Target Watchdog Device -- Emulate watchdog hardware in the synthetic target
XXXVII.
Dallas DS1307 Wallclock Device Driver
-
-
Dallas DS1307 Wallclock Device Driver -- eCos Support for the Dallas DS1307 Serial Real-Time Clock
XXXVIII.
MMC MultiMedia Card Disk Driver
-
-
Device Driver for MMC MultiMedia Cards -- eCos Support for MMC MultiMedia Cards
-
List of Tables
8-1.
Behavior of math exception handling