* The boot loader now remembers the bytes per row as told by the graphics card, and

passes that information on to the kernel. This should fix wrong bytes per row with
  certain resolutions and graphics cards.
* The boot loader now recognizes 15 bit modes that are advertised as 16 bit modes.
  This should fix wrong colors in 16 bit modes on some cards.
* Reenabled setting MTRR for VESA mode - don't remember why I disabled it, but it
  works fine on my test machines.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23006 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2007-11-27 16:33:19 +00:00
parent 18007c8e32
commit 5845b6ecc5
3 changed files with 75 additions and 60 deletions
+5 -4
View File
@@ -63,11 +63,12 @@ typedef struct kernel_args {
struct driver_settings_file *driver_settings;
struct {
bool enabled;
int32 width;
int32 height;
int32 depth;
addr_range physical_buffer;
uint32 bytes_per_row;
uint16 width;
uint16 height;
uint8 depth;
bool enabled;
} frame_buffer;
void *debug_output;