From 47e4d194dc36adfcfd2577fa4630c9fcded005d3 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Sun, 27 Oct 2013 19:15:06 +0100 Subject: IRC. --- microkernel/mach/gnumach/boot_trace.mdwn | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'microkernel/mach/gnumach/boot_trace.mdwn') diff --git a/microkernel/mach/gnumach/boot_trace.mdwn b/microkernel/mach/gnumach/boot_trace.mdwn index 7b729c23..ea999a9b 100644 --- a/microkernel/mach/gnumach/boot_trace.mdwn +++ b/microkernel/mach/gnumach/boot_trace.mdwn @@ -227,3 +227,25 @@ License|/fdl]]."]]"""]] >> vm\_pageout >> Does not return. + + +# IRC, freenode, #hurd, 2013-10-07 + + look, where should i dig or where from should i start from, if i + have desire to know how the kernel was written from baremetal? Can it be + ever done nowadays? + cureOS: the boot entry of the kernel is i386/i386at/boothdr.S , + boot_entry + that's what grub jumps to + then that jumps to c_boot_entry + and everything else is C + grub loads it somehow. how does it prepare cpu and memoty, cpu + cache control if any... segments for stack.. + see the grub documentation + basically it's all flat linear space + does kernel transform it after that? + see the ldt/gdt initialization + from i386at_init and children + nothing much fancy, a kernel cs/ds, and user cs/ds + and paging, naturally + sure -- cgit v1.2.3