[SeaBIOS] [PATCH] Don't enable thread preemption during S3 resume vga option rom execution.
Paul Menzel
paulepanter at users.sourceforge.net
Sat May 31 11:32:39 CEST 2014
Dear Kevin,
thank you for the patch.
Am Freitag, den 30.05.2014, 21:47 -0400 schrieb Kevin O'Connor:
> Signed-off-by: Kevin O'Connor <kevin at koconnor.net>
> ---
> src/stacks.c |
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/stacks.c b/src/stacks.c
> index 6bcb319..beccc0f 100644
> --- a/src/stacks.c
> +++ b/src/stacks.c
> @@ -287,7 +287,7 @@ thread_init(void)
> int
> threads_during_optionroms(void)
> {
> - return CONFIG_THREADS && ThreadControl == 2;
> + return CONFIG_THREADS && ThreadControl == 2 && in_post();
> }
>
> // Switch to next thread stack.
What problem did it cause and on what systems?
Thanks,
Paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://www.seabios.org/pipermail/seabios/attachments/20140531/b7d39268/attachment.asc>
More information about the SeaBIOS
mailing list