The interrupt initialization stuff lurks in a routine called trap_init() from arch/i386/kernel/traps.c, which uses macros from include/asm-i386/system.h to do the dirty work. In particular, int 0x80 gets vectored to the generic system_call wrapper found in
arch/i386/kernel/entry.S by the line:
set_system_gate(0x80,&system_call); This trap_init() stuff gets called with the other fundamental initialization type stuff in start_kernel() [init/main.c] Hack on, --Wormo
|