Add resolutions for the VGA driver to use in a property called fb-modes.
Signed-off-by: John Arbuckle programmingkidx@gmail.com --- drivers/vga.fs | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+)
diff --git a/drivers/vga.fs b/drivers/vga.fs index 29a043a..0411462 100644 --- a/drivers/vga.fs +++ b/drivers/vga.fs @@ -197,6 +197,29 @@ headerless depth-bits encode-int " depth" property line-bytes encode-int " linebytes" property
+ \ resolutions for the VGA driver + 512 encode-int 342 encode-int encode+ + 640 encode-int encode+ 400 encode-int encode+ + 640 encode-int encode+ 480 encode-int encode+ + 800 encode-int encode+ 600 encode-int encode+ + 1024 encode-int encode+ 640 encode-int encode+ + 1024 encode-int encode+ 768 encode-int encode+ + 1152 encode-int encode+ 864 encode-int encode+ + 1200 encode-int encode+ 700 encode-int encode+ + 1280 encode-int encode+ 720 encode-int encode+ + 1280 encode-int encode+ 768 encode-int encode+ + 1280 encode-int encode+ 800 encode-int encode+ + 1440 encode-int encode+ 900 encode-int encode+ + 1920 encode-int encode+ 1200 encode-int encode+ + 2304 encode-int encode+ 1440 encode-int encode+ + 2560 encode-int encode+ 1600 encode-int encode+ + 2880 encode-int encode+ 1800 encode-int encode+ + 4096 encode-int encode+ 2304 encode-int encode+ + 5120 encode-int encode+ 2880 encode-int encode+ + 8192 encode-int encode+ 4608 encode-int encode+ + + " fb-modes" property + ['] qemu-vga-driver-install is-install ;