Contents
eCos Reference Manual 1
Copying terms
Trademarks
Part I: Preliminaries
eCos kernel overview
The scheduler
Thread synchronization
Exceptions
Interrupts
Counters, clocks, alarms and timers
A tour of the kernel sources
Kernel headers
Kernel source files
Part II: Kernel APIs
Requirements for programs
cyg_user_start()
Necessary headers
Necessary link instructions
Interrupt and exception handlers
Memory allocation
Assertions and bad parameter handling
System start-up
System start-up -- the HAL
System start-up -- cyg_start()
System startup -- cyg_prestart()
System startup -- cyg_package_start()
System startup -- cyg_user_start()
Native kernel C language API
Types used in programming eCos
Thread operations
Priority manipulation
Exception handling
Interrupt handling
Counters, clocks and alarms
Synchronization
Memory pools
Message boxes
Flags
µ
ITRON API
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
The eCos Hardware Abstraction Layer (HAL)
Architecture, implementation and platform
General principles
Architectural HAL files
Future developments
Kernel porting notes
eCos Interrupt Model
Part III: eCos PCI Library
The eCos PCI Library
PCI Library
PCI Library reference
Part IV: I/O Package (Device Drivers)
Introduction
User API
Serial driver details
"simple serial" driver
"tty" driver
How to write a driver
How to write a serial hardware interface module
Device Driver Interface to the Kernel
Interrupt Model
Synchronization
Device Driver Models
Synchronization Levels
The API
Part V: The ISO Standard C and Math Libraries
C and math library overview
Omitted functionality
Included non-ISO functions
Math library compatibility modes
Some implementation details
Thread safety
C library startup
Index 161