Skip to contentSkip to conversation

about the boot command.

DISCUSSION 袁源 2 participants 2 messages Jan 4, 2007

lore
Share & tools
lore

袁源

author
#0 lore raw

hi,all

I have a question about the boot command after reading its implementation. Before the really boot function executes, the function grub_machine_fini() will be executed if grub_loader_noreturn is true. I don't know why. Why can't we just boot without grub_machine_fini() being executed ?

Thank you.

#1 lore raw

袁源 <[email protected]> writes:

Hi,

Quoted 5 lines

I have a question about the boot command after reading its implementation. Before the really boot function executes, the function grub_machine_fini() will be executed if grub_loader_noreturn is true. I don't know why. Why can't we just boot without grub_machine_fini() being executed ?

It's used to free claimed memory, restore the video mode, etc. This depends on the specific port. Why do you want to remove this?

--
Marco