| Commit message (Collapse) | Author | Age |
|
|
|
|
|
| |
gdt_get_code_offset() returns the offset of the code segment in the GDT
relative to the address of the GDT itself. This offset is for example
required when setting the interrupt desriptor table.
|
|
|
|
|
| |
The assembler code to set the global descriptor table is
architecture-specific and therefore moved to arch.{c,h}.
|
|
|
|
|
| |
ker_dbg writes a string to the terminal. In future, it might also write
to a text file, to the serial console or other channels.
|
|
|
|
|
| |
Add regset16 and regset32 to the existing regset8 in arch.h, and
prtset{8,16,32} and prtget{8,16,32} to access ports.
|
|
|
|
|
|
| |
Add a simple Global Descriptor Table implementation based on [0].
[0] http://www.lowlevel.eu/wiki/Global_Descriptor_Table
|
|
|