NeXTSTEPDRIVERKIT:BeforeYouReadThisDocument
- Before You Read This Document
이 문서를 읽기 전에
This document covers only the parts of driver writing that are specific to the Driver Kit.
이 문서는Driver Kit 에만 적용되는 드라이버 작성 부분을 다룹니다.
To understand this document, however, you need to be familiar with several topics that aren't covered here. Some of these topics are discussed in other NeXT documentation.
하지만, 이 문서를 이해하려면 여기서 다루지 않은 몇 가지 주제에 대해 잘 알고 있어야합니다. 이 주제 중 일부는 다른 NeXT 문서에서 논의됩니다.
읽어야할 NeXT 문서
You need to know the Objective C language, since the Driver Kit is written in this language. Objective C provides a set of simple, object-oriented extensions to ANSI C.
Driver Kit 는 이 언어로 작성 되었기 때문에 Objective C 언어를 알아야합니다. Objective C 는 ANSI C 에 대한 간단한 객체 지향 확장 세트를 제공합니다.
NEXTSTEP systems use the Mach operating system. Writing most drivers requires that you understand such Mach concepts as tasks and threads, and writing many requires familiarity with Mach ports and Mach messages. The Mach Kit contains useful tools such as facilities for locks. Driver Kit drivers are a part of the Mach kernel and are known as loadable kernel servers, so you must be familiar with this concept as well. Access to most of the Mach facilities you need is included with the Driver Kit in its set of Mach functions.
The following table shows where you can learn about these topics:
- Topic
- Where to Read about It
- Objective C language
- Chapters 1, 2, and 3, NEXTSTEP Object-Oriented Programming and the Objective C Language
- Mach operating system
- Chapter 1, NEXTSTEP Operating System Software (read the introduction, "Design Philosophy," and "The Mach Kernel")
- Mach Kit
- Chapter 9, NEXTSTEP General Reference
- Loadable kernel servers
- Chapter 5, NEXTSTEP Operating System Software
You can get updates to NeXT documentation on archive servers through the NeXTanswers program. Send e-mail to nextanswers@next.com with the two-word subject: INDEX HELP. Or if you can't receive NeXT mail, add a third word, ASCII. You'll receive the current index of documents and instructions for requesting more information.
Other Reading
It's helpful if you know how to write a device driver on some system other than NEXTSTEP. If you haven't written a driver before, see "Suggested Reading" in the Appendix for a list of books that can help you learn about drivers. If you've never written a driver for a multitasking operating system, you should familiarize yourself with the issues involved. The "Suggested Reading" section also lists books that deal with these issues.
Finally, you should be very familiar with the hardware your driver will control. Besides your device's documentation, you'll also need specifications for the bus your device attaches to. Some sources of bus documentation are listed in "Suggested Reading" in the Appendix.