Achilleas Anagnostopoulos
336cbb415d
Fix lint warning
2017-06-30 09:20:24 +01:00
Achilleas Anagnostopoulos
cb0975c9c4
Fix linter errors
2017-05-15 06:55:31 +01:00
Achilleas Anagnostopoulos
d7028cee00
Make TTYs implement io.ByteWriter and add support for TAB/BS chars
2017-05-12 07:54:42 +01:00
Achilleas Anagnostopoulos
50da8ab106
Remove all locking code
...
Since the Go runtime is not yet setup there is no support for
spinlocking if a lock cannot be acquired. This makes the locking code
useless for now.
2017-03-31 08:48:02 +01:00
Achilleas Anagnostopoulos
7dac10a23b
Rename Vga console driver to Ega and improve Init() signature
2017-03-30 07:44:09 +01:00
Achilleas Anagnostopoulos
616fc6a412
Implement simple terminal
...
The terminal uses console.Vga as its output device. A proper terminal
implementation would be using a console.Console interface as its output.
However, at this point we cannot use Go interfaces as the fn pointers in
the itables have not been yet initialized. The Go runtime bits that set
up the itables need access to a memory allocator, a facility which is
not yet provided by the kernel.
2017-03-27 20:12:01 +01:00
Achilleas Anagnostopoulos
95ce4c6057
Define TTY interface
2017-03-26 21:42:27 +01:00
Achilleas Anagnostopoulos
138bc244f9
Add mutex to Vga console to satisfy console.Console
2017-03-26 21:41:53 +01:00
Achilleas Anagnostopoulos
f72eacc4fb
Define VGA console
...
The VGA console frame buffer is mapped to the physical address 0xB8000.
2017-03-26 09:37:54 +01:00
Achilleas Anagnostopoulos
b513f2f332
Define console interface
2017-03-26 09:33:17 +01:00