parent
54a7301225
commit
0db81f66ae
|
@ -266,7 +266,7 @@ static bool cpuid_invariant_tsc()
|
||||||
struct Resolution : Register<64>
|
struct Resolution : Register<64>
|
||||||
{
|
{
|
||||||
struct Bpp : Bitfield<0, 8> { };
|
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 Height : Bitfield<16, 24> { };
|
||||||
struct Width : Bitfield<40, 24> { };
|
struct Width : Bitfield<40, 24> { };
|
||||||
};
|
};
|
||||||
|
@ -681,7 +681,7 @@ Platform::Platform() :
|
||||||
if (!boot_fb)
|
if (!boot_fb)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (!efi_boot)
|
if (!efi_boot && (Resolution::Type::get(boot_fb->size) != Resolution::Type::VGA_TEXT))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
xml.node("framebuffer", [&] () {
|
xml.node("framebuffer", [&] () {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user