mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +00:00
Kernel: Make BXVGA detection actually detect VBoxVGA
I decided to play around with trying to run Serenity in VirtualBox. It crashed WindowServer with a beautiful array of multi-color flashing letters :^) Skipping getting side-tracked seeing that it chose MBVGA in the serial debug and trying to debug why it caused such a display, I finally checked BXVGA. While find_framebuffer_address checks for VBoxVGA, init_stage2 didn't. Whoops!
This commit is contained in:
@@ -212,7 +212,7 @@ void init_stage2()
|
||||
} else {
|
||||
bool bxvga_found = false;
|
||||
PCI::enumerate([&](const PCI::Address&, PCI::ID id) {
|
||||
if (id.vendor_id == 0x1234 && id.device_id == 0x1111)
|
||||
if ((id.vendor_id == 0x1234 && id.device_id == 0x1111) || (id.vendor_id == 0x80ee && id.device_id == 0xbeef))
|
||||
bxvga_found = true;
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user