Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Sức khỏe - Y tế
Văn bản luật
Nông Lâm Ngư
Kỹ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
Giới thiệu
Đăng ký
Đăng nhập
Tìm
Danh mục
Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Y tế sức khỏe
Văn bản luật
Nông lâm ngư
Kĩ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
Thông tin
Điều khoản sử dụng
Quy định bảo mật
Quy chế hoạt động
Chính sách bản quyền
Giới thiệu
Đăng ký
Đăng nhập
0
Trang chủ
Công Nghệ Thông Tin
Kỹ thuật lập trình
Writing device drivers in Linux: A brief tutorial
Đang chuẩn bị liên kết để tải về tài liệu:
Writing device drivers in Linux: A brief tutorial
Minh Quý
46
21
pdf
Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
In order to develop Linux device drivers, it is necessary to have an understanding of the following: • C programming. Some in-depth knowledge of C programming is needed, like pointer usage, bit manipulating functions, etc. • Microprocessor programming. It is necessary to know how microcomputers work internally: memory addressing, interrupts, etc. All of these concepts should be familiar to an assembler programmer. There are several different devices in Linux. For simplicity, this brief tutorial will only cover type char devices loaded as modules. . | Writing device drivers in Linux A brief tutorial I Free Software Published on Free Software Magazine http www.freesoftwaremagazine.com Writing device drivers in Linux A brief tutorial A quick and easy intro to writing device drivers for Linux like a true kernel developer By Xavier Calbet Do you pine for the nice days of Minix-1.1 when men were men and wrote their own device drivers Linus Torvalds Pre-requisites In order to develop Linux device drivers it is necessary to have an understanding of the following C programming. Some in-depth knowledge of C programming is needed like pointer usage bit manipulating functions etc. Microprocessor programming. It is necessary to know how microcomputers work internally memory addressing interrupts etc. All of these concepts should be familiar to an assembler programmer. There are several different devices in Linux. For simplicity this brief tutorial will only cover type char devices loaded as modules. Kernel 2.6.x will be used in particular kernel 2.6.8 under Debian Sarge which is now Debian Stable . User space and kernel space When you write device drivers it s important to make the distinction between user space and kernel space . Kernel space. Linux which is a kernel manages the machine s hardware in a simple and efficient manner offering the user a simple and uniform programming interface. In the same way the kernel and in particular its device drivers form a bridge or interface between the end-user programmer and the hardware. Any subroutines or functions forming part of the kernel modules and device drivers for example are considered to be part of kernel space. User space. End-user programs like the UNIX shell or other GUI based applications kpresenter for example are part of the user space. Obviously these applications need to interact with the system s hardware . However they don t do so directly but through the kernel supported functions. All of this is shown in figure 1. User space and kernel space 1 Writing device
TÀI LIỆU LIÊN QUAN
Writing device drivers in Linux: A brief tutorial
crossorigin="anonymous">
Đã 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.