grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problem in usage of grub_errno...


From: Tomáš Ebenlendr
Subject: Re: problem in usage of grub_errno...
Date: Mon, 19 Dec 2005 09:37:36 +0100 (CET)
User-agent: SquirrelMail/1.4.4

> Error stack is statically allocated and it is protected so that it
> cannot overflow. Error stack is defined as being static to file
> kern/err.c so there is no direct access possible to error stack.
>
> Error stack is emptied in grub_print_error function. (And this is called
> before prompt is printed to screen)
>
> Idea of the error stack is to record all error messages before they are
> printed.
>
> Or did I miss your idea with the "unwanted stack overflow" ?

Okay. There is only minor issue then, that some loop over same
error pushing function may fill up the stack. But it is not problem
if first error (in the stack) and last error (in grub_errno) is printed
(at prompt time).

>
> Thanks,
> Vesa Jääskeläinen

-- 
                                            Tomas 'Ebi' Ebenlendr
                                            http://get.to/ebik





reply via email to

[Prev in Thread] Current Thread [Next in Thread]