I am trying to understand a deeper understanding. Therefore, linux boot must deal with the build file. I know about mov, push, pop,, but here I completely lost this:
.globl __start
.ent __start
__start:
br $29,2f
2: ldgp $29,0($29)
jsr $26,start_kernel
call_pal PAL_halt
.end __start
switch_to_osf_pal:
subq $30,128,$30
...
Is it right if I say what __startis a label? So will it be called as soon as it is called in another world of code? I tried to understand google to understand the characters ldgpor call_pal, but I did not find anything. Finally, I found in c files what switch_to_osf_palis being called this way switch_to_osf_pal(2, pcb_va, pcb_pa, VPTB);- are these functions that take these parameters to invoke the build function?
Sorry if there are many questions, but I did not find a clear document
source
share