Re: what is the function of entry.S?

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

 



hello....

> > 3. If ENTRY() is indeed declaring a function, how someone call it? 
> > by using "extern" on another C source code? And how the C code
> > refer to the .S file? by pointing directly to the .S file or the
> > header file (.h)?
>
> A number of the entry points are defined in
> arch/i386/kernel/traps.c

Ok, I see many calls to define trap gate there, including system_call 
hook on vector 128. Now it gets clearer to me on what entry.S does

thanks

Mulyadi


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