[PATCH 1/1] platform: generic: allwinner: avoid buffer overrun

Andreas Schwab schwab at linux-m68k.org
Tue Dec 27 11:31:38 PST 2022


On Dez 27 2022, Samuel Holland wrote:

> "This sort of change" to avoid using space for IRQ 0, thus saving one
> *bit* in the array

??? *byte*

> used by plic_context_save(),

??? plic_priority_save/restore

> 	enable[i] = plic_get_ie(plic, context_id, i) >> 1 |
> 	            plic_get_ie(plic, context_id, i + 1) << 31;

??? Nothing at all changes here.

-- 
Andreas Schwab, schwab at linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."



More information about the opensbi mailing list