It's asmlinkage because it is a system call. It is run from the user
mode code in main.c (before it execs init.)
>=20
> 2.) What is the boot-up sequence of the assembler files -- up to the
> point where start_kernel() (main.c) is called? These files are very
> difficult to read.
>=20
For Linux/i386:
arch/i386/boot/bootsect.S i386 real mode code, only on raw floppy boots
arch/i386/boot/setup.S i386 real mode code (starts protected mode)
arch/i386/kernel/head.S i386 protected mode (enables paging)
arch/i386/kernel/setup.c i386-specific setup
init/main.c non-architecture specific setup
When booting with LILO, LOADLIN or SYSLINUX, bootsect.S is never
executed; the bootloader does the corresponding work and jumps
directly into setup.S.
-hpa
--=20
PGP public key available - finger hpa@zytor.com
"The earth is but one country, and mankind its citizens." -- Bah=E1'u=
'll=E1h
I don't work for Yggdrasil, but they sponsor the linux.* hierarchy.