程序的文本和数据段现在需要写入到mem文件中,这可以使用write系统调用,或者通过将该文件映射到该进程的地址空间中实现。
The program text and data segments now need to get written into the mem file, either using the write system call, or by mapping the file into the process address space.
第一阶段的引导加载程序对表进行扫描,查找活动分区;当加载程序找到分区时,就将第二阶段的引导加载程序加载到RAM中并调用它。
The first-stage boot loader scans the table, looking for the active partition; when the loader locates the partition, it loads the second-stage boot loader into RAM and invokes it.
这样的情景您也许并不陌生:您在编写一个测试程序,程序需要暂停一段时间,于是调用Thread . sleep 。
This story is probably familiar: you're writing a test program and you need to pause for some amount of time, so you call Thread.sleep .
应用推荐