diff options
author | Benji Dial <benji3.141@gmail.com> | 2020-05-16 13:32:58 -0400 |
---|---|---|
committer | Benji Dial <benji3.141@gmail.com> | 2020-05-16 13:32:58 -0400 |
commit | 806815e5f2612a45cdce6c47ace56146edfa7abf (patch) | |
tree | 93a2b35da8140798a696085afd20d5be496e8794 | |
parent | 53801b9baed096e57b40df6147d9ff0f3da0c737 (diff) | |
download | portland-os-806815e5f2612a45cdce6c47ace56146edfa7abf.tar.gz |
fixed gdt (works in virtualbox now)
-rw-r--r-- | doc/internal/gdt.txt | 2 | ||||
-rw-r--r-- | src/boot.asm | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/internal/gdt.txt b/doc/internal/gdt.txt index f260cfe..6f5e1f4 100644 --- a/doc/internal/gdt.txt +++ b/doc/internal/gdt.txt @@ -1,3 +1,3 @@ 0x08: 0x0000.0000 - 0x0007.ffff (code) -0x10: 0x0000.0000 - 0x0007.ffff (data) +0x10: 0x0000.0000 - 0x000f.ffff (data) 0x18: 0x0003.8000 - 0x0003.ffff (stack)
\ No newline at end of file diff --git a/src/boot.asm b/src/boot.asm index b476581..f9e3a30 100644 --- a/src/boot.asm +++ b/src/boot.asm @@ -47,7 +47,7 @@ gdt: .t: dq 0x0000_0000_0000_0000 dq 0x00c0_9a00_0000_007f - dq 0x00c0_9200_0000_007f + dq 0x00c0_9200_0000_00ff dq 0x0040_9203_8000_7fff .e: |