TAILIEUCHUNG - Linux Device Drivers-Chapter 1 :An Introduction to Device Drivers

Một ebook miễn phí từ nhà xuất bản sách Oreilly. Đây là, trên bề mặt, một cuốn sách về văn bản trình điều khiển thiết bị cho hệ thống Linux. Đó là một mục tiêu xứng đáng, tất nhiên, dòng chảy của sản phẩm phần cứng mới không có khả năng làm chậm bất cứ lúc nào sớm, và ai đó sẽ phải làm tất cả những tiện ích mới làm việc với Linux. Nhưng cuốn sách này cũng là về hạt nhân Linux như thế nào các công trình và làm thế nào để thích ứng với hoạt của. | Chapter 1 An Introduction to Device Drivers As the popularity of the Linux system continues to grow the interest in writing Linux device drivers steadily increases. Most of Linux is independent of the hardware it runs on and most users can be happily unaware of hardware issues. But for each piece of hardware supported by Linux somebody somewhere has written a driver to make it work with the system. Without device drivers there is no functioning system. Device drivers take on a special role in the Linux kernel. They are distinct black boxes that make a particular piece of hardware respond to a well-defined internal programming interface they hide completely the details of how the device works. User activities are performed by means of a set of standardized calls that are independent of the specific driver mapping those calls to device-specific operations that act on real hardware is then the role of the device driver. This programming interface is such that drivers can be built separately from the rest of the kernel and plugged in at runtime when needed. This modularity makes Linux drivers easy to write to the point that there are now hundreds of them available. There are a number of reasons to be interested in the writing of Linux device drivers. The rate at which new hardware becomes available and obsolete alone guarantees that driver writers will be busy for the foreseeable future. Individuals may need to know about drivers in order to gain access to a particular device that is of interest to them. Hardware vendors by making a Linux driver available for their products can add the large and growing Linux user base to their potential markets. And the open source nature of the Linux system means that if the driver writer wishes the source to a driver can be quickly disseminated to millions of users. This book will teach you how to write your own drivers and how to hack around in related parts of the kernel. We have taken a device-independent approach the programming

TỪ KHÓA LIÊN QUAN
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.