简体   繁体   English

如何将u-boot的控制权转移到Linux内核?

[英]How control from u-boot is transferred to Linux kernel?

I was going through u-boot code for uboot to linux control transfer and came across this code. 我正在通过u-boot代码进行从uboot到linux的控制转移,并遇到了此代码。 What this assignment does? 这项任务是做什么的?

kernel_entry = (void (*)(int, int, uint))images->ep;

kernel_entry is a pointer to a function. kernel_entry是指向函数的指针。 That line does assign it as images->ep; 该行确实将其分配为images->ep; (which looks like to mean kernel image -> entry point). (这似乎意味着内核映像->入口点)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM