mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:07:35 +00:00
Kernel: Much improved BochsVGA (BXVGA) support.
Instead of cowboy-calling the VESA BIOS in the bootloader, find the emulator VGA adapter by scanning the PCI bus. Then set up the desired video mode by sending device commands.
This commit is contained in:
parent
e9f6508ada
commit
731fc5a7c8
16 changed files with 298 additions and 114 deletions
|
@ -18,7 +18,7 @@ inline word in16(word port)
|
|||
return value;
|
||||
}
|
||||
|
||||
inline dword in32(dword port)
|
||||
inline dword in32(word port)
|
||||
{
|
||||
dword value;
|
||||
asm volatile("inl %1, %0":"=a"(value):"Nd"(port));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue