Re: booting the kernel

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

 



On Tue, Apr 22, 2008 at 12:46 PM, Shyamal Shukla
<shyamalshukla@xxxxxxxxx> wrote:
> Hi,
>
>        Some further questions on the same issue. At the time of kernel
> initialization, we have several set_trap_gate() and set_system_gate()
> function calls. As i understand, in case of x86, each of these shall install
> an entry in the Interrupt Descriptor Table at a particular index.
>
> When the same interrupt occurs, the entry in IDT shall provide the Segment
> Selector and the offset in the segment, at which the interrupt handler code
> can be found.
>
> If the above understanding is correct, what role do the multiple ENTRY()
> linker script directives have to play in entry.S?

yeah, pls see:
http://lxr.linux.no/linux/include/linux/linkage.h#L31

#define ENTRY(name) \
  32  .globl name; \
  33  ALIGN; \
  34  name:
  35#endif

I am sure you have the clue now...

regards,

Mulyadi.

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at 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