Ecor Rtos

Páginas: 509 (127198 palabras) Publicado: 10 de octubre de 2011
EMBEDDED SOFTWARE DEVELOPMENT WITH ECOS™
Anthony J. Massa

EMBEDDED SOFTWARE DEVELOPMENT WITH ECOS

Anthony J. Massa

PRENTICE HALL PROFESSIONAL TECHNICAL REFERENCE UPPER SADDLE RIVER, NJ 07458 WWW.PHPTR.COM WWW.PHPTR.COM/MASSA/

Library of Congress Cataloging-in-Publication Data Massa, Anthony J. Embedded software development with eCos / Anthony J. Massa p. cm.--(Bruce Perens' Opensource series) ISBN 0-13-035473-2 1. Embedded computer systems--Programming. 2. Application software--Development. 3. Real-time data processing. I. Title. II. Series. QA76.6 .M364317 2002 005.26--dc21 2002035507 Editorial/production supervision: Techne Group Cover design director: Jerry Votta Cover design: Anthony Gemmellaro Art director: Gail Cocker-Bogusz Interior design: Meg Van ArsdaleManufacturing buyer: Maura Zaldivar Editor-in-Chief: Mark L. Taub Editorial assistant: Kate Wolf Marketing manager: Bryan Gambrel Full-service production manager: Anne R. Garcia

© 2003 Pearson Education, Inc. Publishing as Prentice Hall Professional Technical Reference Upper Saddle River, New Jersey 07458 This material may be distributed only subject to the terms and conditions set forth in the OpenPublication License, v1.0 or later (the latest version is presently available at ). Prentice Hall books are widely used by corporations and government agencies for training, marketing, and resale. For information regarding corporate and government bulk discounts please contact: Corporate and Government Sales (800) 382-3419 or corpsales@pearsontechgroup.com Other company and product names mentionedherein are the trademarks or registered trademarks of their respective owners. All rights reserved. No part of this book may be reproduced, in any form or by any means, without permission in writing from the publisher. Printed in the United States of America 10 9 8 7 6 5 4 3 2 1

ISBN 0-13-035473-2
Pearson Education LTD. Pearson Education Australia PTY, Limited Pearson Education Singapore, Pte.Ltd. Pearson Education North Asia Ltd. Pearson Education Canada, Ltd. Pearson Educación de Mexico, S.A. de C.V. Pearson Education—Japan Pearson Education Malaysia, Pte. Ltd.

This book is dedicated to my girls, Katie and Deanna. You mean the world to me. I love you.

C O N T E N T S

Foreword Preface
Chapter 1

xv xvii 1 1 2 3 4 5 6 6 8 8 8 10 13 14 14 15 16

An Introduction to theeCos World

1.1 1.2

Where It All Started—Cygnus Solutions The Origins of eCos 1.2.1 In a Word: Configurability 1.2.2 The eCos Configuration Method 1.2.3 eCos Core Components 1.2.4 Processor and Evaluation Platform Support 1.2.5 eCos Support 1.3 Architecture Overview 1.3.1 eCos Terminology 1.3.1.1 Component Framework 1.3.1.2 Component Repository 1.3.1.3 Configuration Options 1.3.1.4 Componentsand Packages 1.3.1.5 Targets 1.3.1.6 Templates 1.4 Summary
vii

viii

Contents

The Hardware Abstraction Layer 2.1 Overview 2.1.1 HAL Directory Structure 2.1.1.1 Example HAL Function Call Trace 2.1.2 HAL Macro Definitions 2.1.3 HAL Configuration 2.1.3.1 Common Configuration Components 2.1.3.2 Architecture-Specific Configuration Components 2.1.4 HAL Startup 2.2 Summary Chapter 3 Exceptionsand Interrupts 3.1 Exceptions 3.1.1 HAL and Kernel Exception Handling 3.1.2 Application Exception Handling 3.2 Interrupts 3.2.1 eCos Interrupt Model 3.2.1.1 Interrupt and Scheduler Synchronization 3.2.2 Interrupt Configuration 3.2.3 Interrupt Handling 3.2.4 Interrupt Control 3.2.4.1 Interrupt Service Routine Management 3.2.4.2 Interrupt State Management 3.2.4.3 Interrupt Controller Management 3.3Summary Chapter 4 Virtual Vectors 4.1 Virtual Vectors 4.1.1 Virtual Vector Configuration 4.1.2 Virtual Vector Table Initialization 4.1.2.1 Communication Channels 4.2 Summary Chapter 5 The Kernel 5.1 The Kernel 5.1.1 Kernel Directory Structure 5.1.2 Kernel Startup 5.1.3 The Scheduler 5.1.3.1 Multilevel Queue Scheduler
Chapter 2

17 17 19 22 23 24 25 25 26 29 31 31 32 38 40 40 41 42 44 50 51 53...
Leer documento completo

Regístrate para leer el documento completo.

Estos documentos también te pueden resultar útiles

  • Lros rtos
  • Ecores

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS