First post! Regarding transition from int 0x80 to syscall?

2010-08-13 Thread javad karabi
I am using a Xen installation, paravirtualized 64 bit kernel. From what I have seen, to make the system call in x86, you essentially put the syscall number in eax, then, int 0x80. For amd64, I am reading that syscall is used. Using gdb, I discovered that the function syscall(syscall_number) puts

Re: How to Begin

2010-08-13 Thread Tapas Mishra
Victor thanks for the link. I really found it helpful. On Wed, Aug 11, 2010 at 7:35 PM, Victor Rodriguez vm.ro...@gmail.com wrote: On Wed, Aug 11, 2010 at 8:56 AM, jerome zh jerome...@gmail.com wrote: 2010/8/11 Fazal Azim azimfa...@gmail.com: How to Begin undersatnding Linux kernal source

How create a miscellaneous crw-rw-rw- device ?

2010-08-13 Thread StephanT
Hello, This question is related to a simple driver implementing a miscellaneous device under 2-6-32 Using the following code: /* snippet --- static struct miscdevice lab1_dev = { .minor = MISC_DYNAMIC_MINOR, .name = lab1, .fops =