5db50db7a96b257ec50c5fd2a212aa6b5008b62f
The pcid capability parsing code has an assertion that checks for dword alignment. Unfortunately, the check was previously checking for alignment to qwords. This fixes that. I found this issue by using qemu to emulate adding different pci devices. I managed to come across a device that had a capability aligned on dword, but not qword. That exposed the bug. Signed-off-by: Wren Turkal <wt@penguintechs.org>
Description
RedBear Operating System, based on RedoxOS. Licenced under MIT license.
https://redbearos.org
Languages
C
37.5%
C++
37.2%
JavaScript
6.7%
QML
3.4%
HTML
3.2%
Other
11.4%