Hacking 4.4BSD-Lite2 start order

xiaoxiao2021-03-06  112

I don't remember that last year is still the previous year, I have bought the "The Design and Implementation of the 4.4BSD Operating System", but I haven't seen it seriously. Recently I want to look at Hacking Source Codes, look at it, study. After reading the code of 4.4BSD-LITE2, but I didn't know the specific start order. Today, I spent some time is finally studied. (Since I don't find information on HP300, I will first take a look at I386 first :) ---- | BIOS | ---- | V ------------ - | WDBOOTBLK.C | Where wdbootblk.c and bootxx.c should be written in the startup table of the hard disk !? | Or || fdbootblk.c | wdbootblk.c Call bootxx.c by call _main Main (dev, unix, off) --------- | V -------- | bootxx.c | bootxx.c final read file / boot to perform ------ | V -------- | SRT0.C | where SRT0.C and boot.c is Bootxx.c read / boot --- ----- SRT0 Call the Main (Howto, DEV, OFF) | V ------ | Boot.c | Boot.c Last Read Files by Call_Main. Vmunix (that is, the real kernel :) to perform ------ | V -------- | Locore.s | Locore.S kernel start --- ----- | V ----------- | Init_main.c || (Process 0) | ------------------- ---- | | | V V ---------- -------------- | (Process 1) | | (Process 2) || / sbin / init | | Pageout daemon | ---------- ------------

转载请注明原文地址:https://www.9cbs.com/read-103548.html

New Post(0)