Search This Blog

Saturday, May 05, 2007

ENTRY in *.S files

the gdt of a cpu is described like this:

ENTRY(cpu_gdt_table)
.quad 0x0000000000000000
...

while ENTRY is a macro defined in include/linux/linkage.h ike this:

#define ENTRY(name) \
.globl name; \
ALIGN; \
name:

so it means a globally visible label leading a memory of data(gdt)?hmmm

No comments: