Adding my own system call...

From: Min,Lee (abraxsus_at_yonsei.ac.kr.NOSPAM)
Date: 03/30/04

  • Next message: Min,Lee: "Re: Adding my own system call..."
    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


  • Next message: Min,Lee: "Re: Adding my own system call..."

    Relevant Pages

    • Re: Mandrake 2.6.3-4mdk v. 2.6.3-7mdk - trying to get a wireless card to work
      ... >> Get the source code and compile it yourself. ... I suspect most freeware was being developed on SunOS. ... > RedHat Linux 7.1' so maybe modversions.h is a RH thing? ...
      (comp.os.linux.setup)
    • Re: Mandrake 2.6.3-4mdk v. 2.6.3-7mdk - trying to get a wireless card to work
      ... >> Get the source code and compile it yourself. ... I suspect most freeware was being developed on SunOS. ... > RedHat Linux 7.1' so maybe modversions.h is a RH thing? ...
      (comp.os.linux.misc)
    • Re: C++/TCL Need Solution to Compile Error c2784
      ... There's always the "Platform SDK" from MSDN if you need the window.h stuff, ... Since I'm using the Command Prompt rather than the GUI to compile the ... I then tried to compile your source code and I kept getting the same ...
      (comp.lang.tcl)
    • Re: Debugging Newbie Question
      ... The CLR does not understand this source code and so before it ... ASP.NET, however, ASP.NET will compile your page's source code and cache ... the debugger will have IL and x86 created from ... in release mode assemblies. ...
      (microsoft.public.dotnet.faqs)
    • Re: Debugging Newbie Question
      ... The CLR does not understand this source code and so before it ... ASP.NET will compile your page's source code and cache the result ... > does this so that a debugger can attach to the code and allow you to step ... > release mode assemblies. ...
      (microsoft.public.dotnet.faqs)