3 ms·
Any tips for understanding the lowest level code like the bootloader? It seems to be pretty opaque to me.
by qntty 8y ago
Any tips for understanding the lowest level code like the bootloader? It seems to be pretty opaque to me.
- teraflop 8y agoAt a glance, the code seems reasonably well commented, but it definitely assumes some prior familiarity with x86 hardware. Do you have any specific questions? If not, the OSDev.org wiki is a pretty good starting point: https://wiki.osdev.org/Expanded_Main_Page https://wiki.osdev.org/Expanded_Main_Page
- jey 8y agoThere's some documentation in appendix B of their book: https://pdos.csail.mit.edu/6.828/2017/xv6/book-rev10.pdf https://pdos.csail.mit.edu/6.828/2017/xv6/book-rev10.pdf