mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-18 02:40:08 +00:00
parent
54a7301225
commit
0db81f66ae
@ -266,7 +266,7 @@ static bool cpuid_invariant_tsc()
|
||||
struct Resolution : Register<64>
|
||||
{
|
||||
struct Bpp : Bitfield<0, 8> { };
|
||||
struct Type : Bitfield<8, 8> { };
|
||||
struct Type : Bitfield<8, 8> { enum { VGA_TEXT = 2 }; };
|
||||
struct Height : Bitfield<16, 24> { };
|
||||
struct Width : Bitfield<40, 24> { };
|
||||
};
|
||||
@ -681,7 +681,7 @@ Platform::Platform() :
|
||||
if (!boot_fb)
|
||||
return;
|
||||
|
||||
if (!efi_boot)
|
||||
if (!efi_boot && (Resolution::Type::get(boot_fb->size) != Resolution::Type::VGA_TEXT))
|
||||
return;
|
||||
|
||||
xml.node("framebuffer", [&] () {
|
||||
|
Loading…
Reference in New Issue
Block a user