diff options
author | Luc Verhaegen <libv@skynet.be> | 2009-05-29 03:04:16 +0000 |
---|---|---|
committer | Luc Verhaegen <libv@skynet.be> | 2009-05-29 03:04:16 +0000 |
commit | 5c5beb765dce9e5ded2ea1332d86d288ba347dce (patch) | |
tree | 2ac82209a29b6af718caf0813b83443f1363034a /src/pc80/Config.lb | |
parent | 195f5cd66674433cf06dbfe57e0b9bd98bb3549c (diff) | |
download | coreboot-5c5beb765dce9e5ded2ea1332d86d288ba347dce.tar.xz |
Implement native VGA Support.
This code brings a rather complete set of VGA IO routines for whoever wants it.
These consist of the by now familiar read/write/mask sets. Due to the crazy
nature of VGA, an ancient standard with bits all over the place, it makes no
sense to define individual registers. You need a vga register spec at hand if
you want to do anything anyway. These IO routines are always exposed.
It also provides code to natively set up a 640x400 VGA textmode with an 8x16
font. The native VGA mode code is behind the OPTION_VGA option, as the font
really adds to the size of the compiled/compressed rom. The font is the one
also present in the linux kernel, but this file is unlicensed. Another copy of
this is also present in coreboot in the deprecated console/btext code.
The vga console code has been cleaned up, but it still has some TODO's left
open, but that's for when i finally have found the remaining issue with the
epia-m. Right now, it is important to get parts of my work out already and to
make the remainder managable again.
Signed-off-by: Luc Verhaegen <libv@skynet.be>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4321 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/pc80/Config.lb')
-rw-r--r-- | src/pc80/Config.lb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pc80/Config.lb b/src/pc80/Config.lb index 7eb32b239f..80d9cf46f2 100644 --- a/src/pc80/Config.lb +++ b/src/pc80/Config.lb @@ -1,5 +1,4 @@ uses CONFIG_IDE -uses CONFIG_CONSOLE_VGA uses CONFIG_UDELAY_IO object mc146818rtc.o @@ -15,4 +14,6 @@ if CONFIG_IDE dir ide end +dir vga + object keyboard.o |