Writing device drivers for SCO UNIX : a practical approach

書誌事項

Writing device drivers for SCO UNIX : a practical approach

Peter Kettle, Stephen Statler

Addison-Wesley Pub., c1993

大学図書館所蔵 件 / 5

この図書・雑誌をさがす

注記

Includes index

内容説明・目次

内容説明

New requirements for UNIX device drivers arise every week. These requirements range from drivers for mice to graphical display cards, from point of sales terminals to intelligent telephone exchanges. Writing Device Drivers for SCO UNIX is based on a training course run by The Santa Cruz Operation Ltd. It is a practical guide that will equip you with the skills you need to meet the challenge of writing a variety of device drivers. You will explore: *The structure and mechanisms of an operating system, the concept of device independence and computer peripheral architecture *Numerous hands-on exercises. By working through these exercises you will ...Write a device driver for a mouse Write a Stream driver Write a simple line discipline Experiment with interrupts *Examples based on the best selling, most up to date version 3.2 V4 of SCO UNIX *Principles that will enable you to extend your skills to writing device drivers for other operating systems. If you are a student or a professional systems programmer with some experience of using C and developing UNIX programs you will find this book an invaluable guide.

目次

Chapter 1 Fundamentals 1.1 Overview 1.2 The definition of a UNIX device Driver 1.3 Computer hardware architecture 1.4 The role of an operating system 1.5 The structure of the UNIX operating system 1.6 The purpose of a device driver 1.7 Demarcation between drivers and the rest of the kernel 1.8 Communicating with devices 1.9 Controllers 1.10 An overview of block and character devices 1.11 Summary Quiz Exercises Chapter 2 Getting Started 2.1 Overview 2.2 A Methodology for writing device drivers 2.3 How device drivers are involved 2.4 The device driver/kernel interface 2.5 Routines within a device driver 2.6 Guidelines for writing device drivers 2.7 Summary Quiz Exercises Chapter 3 Simple Character device drivers 3.1 Overview 3.2 The character device driver kernel interface 3.3 The U-area and simple character devices 3.4 Transferring data between use and device driver 3.5 Transferring data between device driver and device 3.6 Mechanisms to schedule execution of device drivers 3.7 An example parallel printer driver 3.8 Summary Quiz Exercise Chapter 4 Interrupts 4.1 Overview 4.2 What is an interrupt? 4.3 Process contexts 4.4 The system stack 4.5 How interrupts arrive in a device driver 4.6 Writing an XXintr routine 4.7 Sleep (K) and wakeup(K) 4.8 Context switching 4.9 Buffering data 4.10 Summary Quiz Chapter 5 Line disciplines and serial device drivers 5.1 Overview 5.2 An introduction to line discipline 0 5.3 Accessing a line discipline 5.4 Serial device drivers 5.5 A description of line discipline 0 5.6 Additional kernel support for serial device drivers 5.7 An example serial device driver 5.8 Summary Quiz Exercises Chapter 6 STREAMS 6.1 Overview 6.2 What is a Stream? 6.3 Messagew 6.4 QUEUEs and the kernel interface 6.5 Flow control and STREAMS scheduling 6.6 STREAMS system calls 6.7 Advanced topics 6.8 Error logging 6.9 Configuring Stream modules and drivers 6.10 Summary Quiz Exercise Chapter 7 Block Device Drivers 7.1 Overview 7.2 Block device characteristics 7.3 The buffer cache 7.4 The kernel interface 7.5 A RAM disk driver 7.6 The geometry of a hard disk 7.7 Partitions and division 7.8 Bad blocks 7.9 Kernel support for disk drivers 7.10 An extended RAM disk driver 7.11 Direct memory access (DMA) 7.12 Summary Quiz Exercise Chapter 8 Raw device drivers 8.1 Overview 8.2 Raw I/O on paged architectures 8.3 Conventions for raw device drivers 8.4 Disks and raw I/O 8.5 Tapes and raw I/O 8.6 Summary Quiz Exercises Chapter 9 Where to now? 9.1 Overview 9.2 More device drivers 9.3 Further reading 9.4 Summary > Answers to quizzes Answers to exercise Appendix A Adding a new device driver to the kernel Appendix B Debugging device drivers INDEX

「Nielsen BookData」 より

詳細情報

ページトップへ