[SeaBIOS] Re: [PATCH] stacks: always call check_irqs() in yield()

2021-05-21 Thread Volker Rümelin
On Thu, May 20, 2021 at 08:53:34PM +0200, Volker Rümelin wrote: On Fri, May 14, 2021 at 08:03:20PM +0200, Volker Rümelin wrote: The comment above the yield() function suggests that yield() allows interrupts for a short time. Currently this is only true if seabios was built without CONFIG_THREADS

[SeaBIOS] Re: [PATCH] stacks: always call check_irqs() in yield()

2021-05-20 Thread Volker Rümelin
On Thu, May 20, 2021 at 08:53:34PM +0200, Volker Rümelin wrote: On Fri, May 14, 2021 at 08:03:20PM +0200, Volker Rümelin wrote: The comment above the yield() function suggests that yield() allows interrupts for a short time. Currently this is only true if seabios was built without CONFIG_THREADS

[SeaBIOS] Re: [PATCH] stacks: always call check_irqs() in yield()

2021-05-20 Thread Kevin O'Connor
On Thu, May 20, 2021 at 08:53:34PM +0200, Volker Rümelin wrote: > > On Fri, May 14, 2021 at 08:03:20PM +0200, Volker Rümelin wrote: > > > The comment above the yield() function suggests that yield() > > > allows interrupts for a short time. Currently this is only true > > > if seabios was built wit

[SeaBIOS] Re: [PATCH] stacks: always call check_irqs() in yield()

2021-05-20 Thread Volker Rümelin
On Fri, May 14, 2021 at 08:03:20PM +0200, Volker Rümelin wrote: The comment above the yield() function suggests that yield() allows interrupts for a short time. Currently this is only true if seabios was built without CONFIG_THREADS or if yield() is called from the main thread. Change the code to

[SeaBIOS] Re: [PATCH] stacks: always call check_irqs() in yield()

2021-05-20 Thread Kevin O'Connor
On Fri, May 14, 2021 at 08:03:20PM +0200, Volker Rümelin wrote: > The comment above the yield() function suggests that yield() > allows interrupts for a short time. Currently this is only true > if seabios was built without CONFIG_THREADS or if yield() is > called from the main thread. Change the c