"Yoshinori K. Okuji" <[EMAIL PROTECTED]> writes: > I added a new function grub_machine_fini which is an arch-specific > function. This function is not called automatically, and used only for > grub-emu at the moment. I implemented this function for grub-emu and > PC. > > This function should be implemented for all architectures, and should be > called before GRUB exits. I think it is unnecessary to call this > function from reboot or halt, because the machine should be reset > completely in this case. So this should be called maybe only from boot.
This sounds useful. On the PPC this should be used to free memory, I think. I don't think this is required for linux, so it is not implemented yet. > BTW, I disabled SIGINT in grub-emu, because I wanted to let grub-emu > catch C-c. When you want to quit grub-emu, you can use halt or reboot > (or C-\). In that case, I assume, all memory should have been free'ed. If valgrind would work for grub-emu we could make sure that there are no memory leaks. Valgrind does not work because of this bug: http://bugs.kde.org/show_bug.cgi?id=69511 If someone can get some memory tester to work with grub-emu, I will be very happy. I did not succeed in getting something to work yet. Thanks, Marco _______________________________________________ Grub-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/grub-devel
