diff options
| author | Jake Mannens <jake72360@gmail.com> | 2018-10-09 23:11:46 +1100 |
|---|---|---|
| committer | Jake Mannens <jake72360@gmail.com> | 2018-10-09 23:11:46 +1100 |
| commit | a8a4f0710210ed91097a30fc26308c50be73d4de (patch) | |
| tree | b75f3f30429e2c9c69177aa00832ea6b7fe836e5 /include/kernel/con.h | |
| parent | 4dc73ef6bbefb1f5d108ab19a72349563c586e28 (diff) | |
Added the f_inode element to struct file as a pointer to the file's
inode in memory.
Added a jump instruction in front of the multiboot header so that the
kernel may be run as a binary image. The jump instruction will skip over
the multiboot header to the beginning of the kernel's startup procedure
in kboot.
Moved the call to initialize the timer to earlier in the boot sequence.
This is to allow for some drivers that may require it's functionality
during the startup to function properly.
Added functionality for the 'fast-gate' to the enable_a20 subroutine.
Now, if the keyboard controller method fails when enabling the gate, an
attempt is made to enable the A20 gate using the PS/2's fast-gate
interface. If this also fails, the kernel will panic.
Implemented TTY output for the console. The console is now TTY device 0
(the default for new userspace programs).
Diffstat (limited to 'include/kernel/con.h')
| -rw-r--r-- | include/kernel/con.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/kernel/con.h b/include/kernel/con.h index 9dd9dbe..6bc24da 100644 --- a/include/kernel/con.h +++ b/include/kernel/con.h @@ -7,6 +7,10 @@ #ifndef _CON_H #define _CON_H +#include <kernel/tty.h> + +extern struct tty_struct tty_con; + void con_init(void); void con_clear(void); |
