Adding my own system call...
From: Min,Lee (abraxsus_at_yonsei.ac.kr.NOSPAM)
Date: 03/30/04
- Previous message: Kasper Dupont: "Re: disabling interrupts/scheduling in ioctl() handler"
- Next in thread: Min,Lee: "Re: Adding my own system call..."
- Reply: Min,Lee: "Re: Adding my own system call..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 30 Mar 2004 19:58:48 +0900
Hi, folks.
I added my own system call (utterly simple one) to my Linux 2.6 source code.
I worked well when I implemented it in the new file.
I put the sys_mysyscall() function in the new file kernel/mysyscall.c
and I modified the Makefile to compile this file, too.
Of course I added one line in the entry.S and unistd.h
I worked well...but,
After I moved the function into the file kernel/sched.c , and removed my
file
kernel/mysyscall.c, It failed!
The code was compiled well, but failed to link because it couldn't find the
symbol "sys_mysyscall" in the entry.S !!
How can I fix this problem??
TIA
- Previous message: Kasper Dupont: "Re: disabling interrupts/scheduling in ioctl() handler"
- Next in thread: Min,Lee: "Re: Adding my own system call..."
- Reply: Min,Lee: "Re: Adding my own system call..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|