Index
A
alarms 6, 36
API
µ
ITRON 50
serial driver details 115
tty driver details 117
user 111
architectural porting 88
assertions 20
C
C library
ISO standard 141
omitted functionality 142
startup 148
clocks 6, 35
real-time (RTC) 6
counters 6, 34
cyg_addrword_t 25
cyg_alarm 26
cyg_alarm_t 27
cyg_bool_t 25
cyg_clock 26
cyg_code_t 25
cyg_cond_t 26
cyg_counter 26
cyg_drv_cond_broadcast 133
cyg_drv_cond_destroy 132
cyg_drv_cond_init 131
cyg_drv_cond_signal 133
cyg_drv_cond_wait 132
cyg_drv_dsr_unlock 129
cyg_drv_interrupt_acknowledge 136
cyg_drv_interrupt_attach 135
cyg_drv_interrupt_configure 137
cyg_drv_interrupt_create 134
cyg_drv_interrupt_delete 134
cyg_drv_interrupt_detach 135
cyg_drv_interrupt_level 137
cyg_drv_interrupt_mask 136
cyg_drv_interrupt_unmask 136
cyg_drv_isr_lock 127
cyg_drv_isr_unlock 128
cyg_drv_mutex_destroy 129
cyg_drv_mutex_init 129
cyg_drv_mutex_lock 130
cyg_drv_mutex_release 131
cyg_drv_mutex_trylock 130
cyg_drv_mutex_unlock 131
cyg_DSR_t 27, 139
cyg_exception_handler_t 26
cyg_handle_t 25
cyg_interrupt 26
cyg_io_get_config 112
cyg_io_lookup 111
cyg_io_read 112
cyg_io_set_config 112
cyg_io_write 111
cyg_ISR_t 27, 138
cyg_mbox 26
cyg_mempool_fix 26
cyg_mempool_info 26
cyg_mempool_var 26
cyg_mutex_lock() 19
cyg_mutex_t 26
cyg_package_start() 22
cyg_prestart() 22
cyg_priority_t 25
cyg_resolution_t 27
cyg_sem_t 26
cyg_semaphore_post() 19
cyg_start() 21
cyg_thread 26
cyg_thread_entry_t 26
cyg_tick_count_t 25
cyg_user_start() 17, 23
cyg_vector_t 25
cyg_VSR_t 27
D
Deferred Service Routines (DSRs) 3, 93, 124
device drivers
building 125
handlers field 120
interrupt model 124
writing 119
Driver Kernel Interface 127
drivers
simple serial 113
tty 116
E
exception handling 4, 31
default 80
exceptions 18, 79
F
functions
interrupt management 58
memory pool management 59
network support 64
non-ISO POSIX 142
synchronization and communication 55
extended 58
system management 63
task management 52
task-dependent synchronization 54
time management 62
G
GDB stubs
building 91
writing 88
H
HAL
architectural files 66
architecture 65
future developments 82
implementation 65
platform 65
source files 13
architecture 14
platform 15
system startup 21, 78
handles, I/O 111
Hardware Abstraction Layer (HAL) 65
I
interrupt
handling 5, 32
default 80
management functions 58
model 93
Interrupt Service Routines (ISRs) 3, 93, 124
interrupts 18
K
kapi.h 17
kernel
C API 24
headers 7
overview 2
porting 83
adding configuration information 85
architectural support 84
memory layout information 87
package-specific configuration 87
platform support 84
scheduler 2
source files 10
common subdirectory 11
emory management subdirectory 12
instrumentation subdirectory 12
interrupt subdirectory 11
sched subdirectory 10
sload subdirectory 13
synchronization subdirectory 11
trace subdirectory 13
L
libraries
ISO standard C 141
math 141
M
math library 141
compatibility modes
ANSI/POSIX 143
IEEE 143
SVID 144
X/Open 144
implementation details 146
matherr() 144
memory allocation 19
memory pools 41
management functions 59
message boxes 44
µ
ITRON 46, 50
mutexes 39
N
network support functions 64
network time protocol (NTP) 6
P
pkgconf 86
platform porting 87
porting
architectures 88
kernel 83
platforms 87
priority manipulation 30
R
requirements when writing eCos programs 17
S
Scheduler::lock() 3
Scheduler::sched_lock 3
Scheduler::unlock() 3
serial drivers
configuration fields
baud 114
flags 115
parity 114
stop 114
word_length 114
interface module, writing 121
source files
HAL 13
architecture files 14
platform files 15
synchronization 125
and communication functions 55
extended 58
condition variables 39
flags 46
mutexes 39
semaphores 37
task-dependent functions 54
thread 3
system management functions 63
system startup
cyg_package_start() 22
cyg_prestart() 22
cyg_start() 21
cyg_user_start() 23
HAL 21
T
task management functions 52
task-dependent synchronization functions 54
thread operations 27
threads
mutex priority inheritance 4
priority ceiling protocol 3
priority inheritance protocol 4
priority inversion 3
safety 148
synchronizing 3
time management functions 62
timers 6
tty driver 116
configuration fields
tty_in_flags 117
tty_out_flags 117
types
cyg_addrword_t 25
cyg_alarm 26
cyg_alarm_t 27
cyg_bool_t 25
cyg_clock 26
cyg_code_t 25
cyg_cond_t 26
cyg_counter 26
cyg_DSR_t 27
cyg_exception_handler_t 26
cyg_handle_t 25
cyg_interrupt 26
cyg_ISR_t 27
cyg_mbox 26
cyg_mempool_fix 26
cyg_mempool_info 26
cyg_mempool_var 26
cyg_mutex_t 26
cyg_priority_t 25
cyg_resolution_t 27
cyg_sem_t 26
cyg_thread 26
cyg_thread_entry_t 26
cyg_tick_count_t 25
cyg_vector_t 25
cyg_VSR_t 27
U
user API 111
V
Vector Service Routines (VSRs) 19
vectors 18, 79