Up to [local] / prex-old / boot / arm / cats
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: HEAD
Revision 1.3 / (download) - annotate - [select for diffs], Sun Jul 20 22:37:35 2008 UTC (15 years, 10 months ago) by nbrk
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +18 -0 lines
Diff to previous 1.2 (colored)
in start_kernel, bootldr gives us an entry point to the kernel (start of loaded .text): copy first 15 words (vectors and their displacement constants) of kern text segment to the beginning of physical memory. this beautiful trick allows us to load kernel at anywhere we want and to let bootldr be at 0x00000000 (yes, we are rewriting ourselfes, part of bootldr :).