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
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
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 =