Comtrol eCos User Manual

Page 14

Advertising
background image

HAL Platform CDL

..................................................................................................................

226

eCos Database

.................................................................................................................

226

CDL File Layout

.............................................................................................................

227

Startup Type

....................................................................................................................

228

Build options

...................................................................................................................

228

Common Target Options

.................................................................................................

230

Platform Memory Layout

.........................................................................................................

233

Layout Files

.....................................................................................................................

233

Reserved Regions

............................................................................................................

233

Platform Serial Device Support

................................................................................................

233

Variant HAL Porting

...........................................................................................................................

235

HAL Variant Porting Process

....................................................................................................

235

HAL Variant CDL

.....................................................................................................................

236

Cache Support

...........................................................................................................................

237

Architecture HAL Porting

..................................................................................................................

238

HAL Architecture Porting Process

...........................................................................................

238

CDL Requirements

...................................................................................................................

244

12. Future developments

..............................................................................................................................

247

IV. The ISO Standard C and Math Libraries

...................................................................................................

249

13. C and math library overview

..................................................................................................................

251

Included non-ISO functions

...............................................................................................................

251

Math library compatibility modes

......................................................................................................

252

matherr()

...................................................................................................................................

252

Thread-safety and re-entrancy

..................................................................................................

254

Some implementation details

.............................................................................................................

254

Thread safety

......................................................................................................................................

256

C library startup

..................................................................................................................................

256

V. I/O Package (Device Drivers)

.........................................................................................................................

259

14. Introduction

............................................................................................................................................

261

15. User API

.................................................................................................................................................

263

16. Serial driver details

.................................................................................................................................

265

Raw Serial Driver

...............................................................................................................................

265

Runtime Configuration

.............................................................................................................

265

API Details

................................................................................................................................

267

cyg_io_write

....................................................................................................................

267

cyg_io_read

.....................................................................................................................

267

cyg_io_get_config

...........................................................................................................

267

cyg_io_set_config

............................................................................................................

270

TTY driver

..........................................................................................................................................

271

Runtime configuration

..............................................................................................................

271

API details

.................................................................................................................................

272

17. How to Write a Driver

............................................................................................................................

275

How to Write a Serial Hardware Interface Driver

..............................................................................

276

DevTab Entry

............................................................................................................................

277

Serial Channel Structure

...........................................................................................................

277

Serial Functions Structure

.........................................................................................................

278

Callbacks

...................................................................................................................................

279

xiv

Advertising