diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2017-04-29 16:21:41 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2017-04-29 16:21:41 +0200 |
commit | 8fb0c27ac52a76dd27a5879bebb643f56abe348a (patch) | |
tree | 1a9b2e1da0e975b7f4a9f628fd4ec796b50d1815 /src | |
parent | 66a349adeca79f191ac7e5d455160fdf3dd1b65b (diff) | |
download | abaos-8fb0c27ac52a76dd27a5879bebb643f56abe348a.tar.gz abaos-8fb0c27ac52a76dd27a5879bebb643f56abe348a.tar.bz2 |
some documentation
Diffstat (limited to 'src')
-rw-r--r-- | src/README | 7 | ||||
-rw-r--r-- | src/switch_mode.asm | 3 |
2 files changed, 9 insertions, 1 deletions
diff --git a/src/README b/src/README new file mode 100644 index 0000000..56ec7b2 --- /dev/null +++ b/src/README @@ -0,0 +1,7 @@ +boot.asm - the main boot sector code using: +* gdt.asm - the early GDT +* stage1_functions.asm - real mode functions of the bootloader +* stage2_functions.asm - protected mode primitive VGA routines +* switch_mode.asm - early GTD loading and switching from real to protected mode +kernel.c - Kernel C entry point 'entry' + diff --git a/src/switch_mode.asm b/src/switch_mode.asm index 32cca0b..bc38b5a 100644 --- a/src/switch_mode.asm +++ b/src/switch_mode.asm @@ -3,7 +3,8 @@ %include "gdt.asm" switch_to_protected_mode: - ; switch off interrupts for now + ; switch off interrupts for now, we don't + ; have a valid IDT installed yet cli ; load GDT (global descriptor table) |