Andreas Kling
9a086b2d35
Add a kmalloc_eternal() for things that will never be destroyed.
2018-10-31 23:19:15 +01:00
Andreas Kling
c7d5ce6b5a
Add a /bin/tty command that prints the current tty.
...
Also fix ttyname() syscall to include "/dev/" in the name.
2018-10-31 21:46:05 +01:00
Andreas Kling
dec5683e9c
Snazz up the kprintf() output a bit by giving it its own color.
2018-10-31 20:14:23 +01:00
Andreas Kling
1b81813a66
Fix crashy bug where we'd try to deactivate VC -1 on boot.
2018-10-30 16:16:20 +01:00
Andreas Kling
7a7956a595
Virtual consoles kinda work!
...
We now make three VirtualConsoles at boot: tty0, tty1, and tty2.
We launch an instance of /bin/sh in each one.
You switch between them with Alt+1/2/3
How very very cool :^)
2018-10-30 15:33:37 +01:00
Andreas Kling
68739dc43e
Start working on virtual consoles/TTYs.
...
This is a mess right now, but I'd rather commit as I go.
2018-10-30 13:59:29 +01:00