Re: syscall definition

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



   
I think you can do this by declaring that syscall stuff inside onen of arch dep files if 
they're dependent on the arch otherwise on any arrch indep file... like you can see 
that there are some _syscallX declarations inside 
<linux-source>/include/asm-i386/unistd.h 
similarly you can also declare your thing here... 
 
Thanks. 
 
Sumit Sharma, 
IBM. 
 
On Mon, 26 Jul 2004 Cristina Rivera wrote : 
>Hi everybody, 
> 
>A syscall question: I have a custom syscall called read_page_async, using it in 
my user programs I need to include this line in source code: 
_syscall1(int,read_page_async,int,address); (I don't remember if this is the correct 
syntax) 
>I've read about the possibility of creating a header file with this line in order to add 
an include directive to the user code, but, can I put this line in some other place in 
the kernel headers so that I can avoid the creation of this new header file. 
> 
>Thanks, 
> 
>Cristina. 
> 
>_________________________________________________________________ 
>Horscopo, tarot, numerolog�... Escucha lo que te dicen los astros. 
http://astrocentro.msn.es/ 
> 
> 
>-- 
>Kernelnewbies: Help each other learn about the Linux kernel. 
>Archive:       http://mail.nl.linux.org/kernelnewbies/ 
>FAQ:           http://kernelnewbies.org/faq/ 
> 

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux