lkml.org 
[lkml]   [1996]   [Apr]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Starting kernel threads (or something like that)
Date
From
> First question:  When the kernel loads, what is the _FIRST_ operation it 
> does after initializing itself? (I'm looking at replacing _EVERYTHING_
> below the kernel and want an idea of where I start)

That would likely be launching 'init' (or a shell if it fails).
Look at linux/init/main.c for the code.

This of course is after any kernel threads have been started
(like 'kflushd' and 'kswapd').

A _MINIMUM_ Linux system is the kernel and a shell, though it
isn't a very useful system.

-- Andrew E. Mileski --
mailto:aem@ott.hookup.net
http://www.redhat.com/~aem/


\
 
 \ /
  Last update: 2005-03-22 13:36    [W:0.069 / U:0.548 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site