summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2017-04-29 16:21:41 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2017-04-29 16:21:41 +0200
commit8fb0c27ac52a76dd27a5879bebb643f56abe348a (patch)
tree1a9b2e1da0e975b7f4a9f628fd4ec796b50d1815 /src
parent66a349adeca79f191ac7e5d455160fdf3dd1b65b (diff)
downloadabaos-8fb0c27ac52a76dd27a5879bebb643f56abe348a.tar.gz
abaos-8fb0c27ac52a76dd27a5879bebb643f56abe348a.tar.bz2
some documentation
Diffstat (limited to 'src')
-rw-r--r--src/README7
-rw-r--r--src/switch_mode.asm3
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)