[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Tue, 15 Feb 2005 20:41:12 +0000
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)
"Yoshinori K. Okuji" <address@hidden> 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
> 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
> 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
Valgrind does not work because of this bug:
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.
- grub_machine_fini, Yoshinori K. Okuji, 2005/02/14
- Re: grub_machine_fini,
Marco Gerards <=