Tài liệu Linux Device Drivers-Chapter 2 : Building and Running Modules pptx
... under version 2. 0 of the kernel. This should not be a problem because multiprocessor support was not very robust in Linux 2. 0, and everyone running SMP systems should be using 2. 2 or 2. 4. Because ... an integer; l, a long; and s, a string. In the case of string values, a pointer variable should be declared; insmod will allocate the Chapter 2 : Building and Runn...
Ngày tải lên: 24/12/2013, 01:17
... kernel functions udelay and mdelay serve this purpose. [27 ] Their prototypes are [27 ] The u in udelay represents the Greek letter mu and stands for micro. #include < ;linux/ delay.h> void ... architecture-dependent value defined in < ;linux/ param.h>. Current Linux versions define HZ to be 100 for most platforms, but some platforms use 1 024 , and the IA-64 simulato...
Ngày tải lên: 24/12/2013, 01:17
... subsystem. Version Control in Modules One of the main problems with modules is their version dependency, which was introduced in Chapter 2, " ;Building and Running Modules& quot;. The need to ... of demand loading of modules has changed significantly over time. This chapter discusses the 2. 4 implementation, as usual. The sample code works, as far as possible, on the 2...
Ngày tải lên: 21/01/2014, 07:20
Tài liệu Linux Device Drivers-Chapter 13 :mmap and DMA pptx
... 0000000000000000 0 0:0 0 0 # stack 0000000 120 000000-0000000 120 014000 r-xp 0000000000000000 0 8:0 3 28 44 # text 0000000140000000-00000001400 020 00 rwxp 0000000000014000 0 8:0 3 28 44 # data 00000001400 020 00-0000000140008000 ... 08050000-08054000 rwxp 00000000 0 0:0 0 0 # zero-mapped bss 40000000-40013000 r-xp 00000000 0 8:0 1 39003 /lib/ld -2. 1.3.so # text 40013000-...
Ngày tải lên: 21/01/2014, 07:20
Tài liệu Security Essentials Day 2 Threat and the Need for Defense in Depth docx
... hour because their logons will not be recorded. 1 - 22 Defense in Depth - SANS 20 01 22 Determine Running Services Knowing what services are running on a system helps the attacker focus their ... the confidentiality of the system. 1 - 19 Defense in Depth - SANS 20 01 19 Null Session net use \\1 72. 20 .24 4.164\IPC$ “” /USER:”” The null session exploit is an attack against confid...
Ngày tải lên: 09/12/2013, 17:15
Tài liệu Linux Device Drivers-Chapter 1 :An Introduction to Device Drivers ppt
... kernel programming. Chapter 2, " ;Building and Running Modules& quot; introduces modularization, explaining the secrets of the art and showing the code for running modules. Chapter 3, "Char ... show is designed to compile and run on a wide range of kernel versions; in particular, it has all been tested with version 2. 4.4, and, where applicable, with 2. 2.18 an...
Ngày tải lên: 24/12/2013, 01:17
Tài liệu Linux Device Drivers-Chapter 3: Char Drivers docx
... /dev/$ {device} [0-3] major=`awk "\\ $2= =\"$module\" {print \\$1}" /proc/devices` mknod /dev/$ {device} 0 c $major 0 mknod /dev/$ {device} 1 c $major 1 mknod /dev/$ {device} 2 ... sequential or random-access device, one device or many, and so on. To make scull be useful as a template for writing real drivers for real devices, we'll show you how to...
Ngày tải lên: 24/12/2013, 01:17
Tài liệu Linux Device Drivers-Chapter 4 : Debugging Techniques pptx
... eip: c48370c3 *pde = 00000000 Oops: 00 02 CPU: 0 EIP: 001 0:[ <c48370c3>] EFLAGS: 0001 028 6 eax: ffffffea ebx: c 228 1a20 ecx: c48370c0 edx: c 228 1a40 esi: 4000c000 edi: 4000c000 ebp: ... 001 0:[ faulty:faulty_write+3/576] EFLAGS: 0001 028 6 eax: ffffffea ebx: c2c55ae0 ecx: c48370c0 edx: c2c55b00 esi: 0804d038 edi: 0804d038 ebp: c2337f8c esp: c2337f8c ds: 0018 es:...
Ngày tải lên: 24/12/2013, 01:17
Tài liệu Linux Device Drivers-Chapter 5 : Enhanced Char Driver Operations pptx
... Seeking in Linux 2. 0 Prior to Linux 2. 1, the llseek device method was called lseek instead, and it received different parameters from the current implementation. For that reason, under Linux 2. 0 ... write drivers compatible with 2. 0 and 2. 2 usually end up defining separate implementations of the seek method for the two interfaces. 2. 0 and SMP Because Linux 2...
Ngày tải lên: 24/12/2013, 01:17
Tài liệu Linux Device Drivers-Chapter 7 : Getting Hold of Memory doc
... 0:c262b000 1:c2193000 rudo% cat /tmp/bigfile > /dev/scullv0; head -5 /proc/scullvmem Device 0: qset 500, order 4, sz 1048576 item at c4184b80, qset at c71c4000 0:c881a000 1:c882b000 ... will fail. The maximum value of order was 5 in Linux 2. 0 (corresponding to 32 pages) and 9 with later versions (corresponding to 5 12 pages: 2 MB on most platforms). Anyway, t...
Ngày tải lên: 24/12/2013, 01:17