Achilleas Anagnostopoulos
cbf0c82702
Change Dimensions() signature to support querying for characters or pixels
2017-07-13 22:06:50 +01:00
Achilleas Anagnostopoulos
13ef4cd08d
Map physical address of the vga text console framebuffer in DriverInit
...
Currently, the kernel can write to 0xb80000 because this is part of the
initial identify mapping set up by the rt0 code. When we establish new
mappings for the kernel using its real VMA address then writes to the
framebuffer will cause a page fault unless we explicitly map it.
2017-07-08 22:18:24 +01:00
Achilleas Anagnostopoulos
3485523cdc
Update the Driver.DriverInit method signature to accept an io.Writer
...
Drivers can use the writer as an argument to kfmt.Fprintf to log
additional output during their initialization.
2017-07-08 22:09:19 +01:00
Achilleas Anagnostopoulos
b1084c1362
Fix broken unit tests
2017-07-08 13:02:15 +01:00
Achilleas Anagnostopoulos
fd3ca91138
Use uint32 for console coordinates and fix dimension bug
2017-07-08 12:26:40 +01:00
Achilleas Anagnostopoulos
562fae2028
Detect hw and wire active console and TTY
2017-07-07 21:37:00 +01:00
Achilleas Anagnostopoulos
286b8d9c71
Rename Ega console to VgaTextConsole and implement the updated interface
2017-07-07 21:36:50 +01:00