Age | Commit message (Collapse) | Author |
|
Add functions that let the OS read the internal state registers of the
8259 PIC.
Signed-off-by: Danny Holman <dholman@gymli.xyz>
|
|
Fix the i386's general exception handler to actually work. Fix provided
by Jon Sanderson (jjs295356@gmail.com).
Signed-off-by: Danny Holman <dholman@gymli.xyz>
|
|
Fix a bug in which the size of the main GDT array and the actual number
of descriptors are different values.
Signed-off-by: Danny Holman <dholman@gymli.xyz>
|
|
Add support for the 8259 programmable interrupt controller.
Signed-off-by: Danny Holman <dholman@gymli.xyz>
|
|
Create files that add IDT support for i386.
Signed-off-by: Danny Holman <dholman@gymli.xyz>
|
|
Add two ring-3 segment discriptors to the GDT during gdt_install.
Signed-off-by: Danny Holman <dholman@gymli.xyz>
|
|
Add parenthesis around the GDT setup macros. This is done to prevent
having to do it when using them.
Signed-off-by: Danny Holman <dholman@gymli.xyz>
|
|
Add a set of routines that setup the x86's global descriptor table.
Signed-off-by: Danny Holman <dholman@gymli.xyz>
|
|
Move the start of the kernel image to the "higher half" of memory. This
also enables paging.
|
|
Fix a bug in which the architecture specific include directories are not
properly included in the main Makefile.
Signed-off-by: Danny Holman <dholman@gymli.xyz>
|
|
Add support for scrolling the terminal at the end of the VGA buffer.
Signed-off-by: Danny Holman <dholman@gymli.xyz>
|
|
Add support for the newline character in the TTY layer.
Signed-off-by: Danny Holman <dholman@gymli.xyz>
|
|
Add structure to the internals of the x86 directory.
Signed-off-by: Danny Holman <dholman@gymli.xyz>
|
|
Add a function in the serial interface that writes an entire string to
the serial line.
Signed-off-by: Danny Holman <dholman@gymli.xyz>
|
|
The function serial_init should not be declared as static. This function
could change under a different architecture and should be defined with
the target architecture.
Signed-off-by: Danny Holman <dholman@gymli.xyz>
|
|
Add support for serial communication in the i386 architecture.
Signed-off-by: Danny Holman <dholman@gymli.xyz>
|
|
Add support for 32-bit x86 processors, i.e. the 80386 and above.
Signed-off-by: Danny Holman <dholman@gymli.xyz>
|
|
Signed-off-by: Danny Holman <dholman@gymli.xyz>
|