diff options
| author | Miguel <m.i@gmx.at> | 2018-09-09 13:21:47 +0200 |
|---|---|---|
| committer | Miguel <m.i@gmx.at> | 2018-09-09 13:21:47 +0200 |
| commit | c2ef64149849fcae608b1c6010303eca86229d22 (patch) | |
| tree | 30d69313b6975a7c1bfc80859117124a6a5a10e7 /asm/asm_gdt.h | |
| parent | e85a68e1536a0f6505300e1cb79f06b9743b00f7 (diff) | |
cleaning logs, docs, interrupts
Diffstat (limited to 'asm/asm_gdt.h')
| -rw-r--r-- | asm/asm_gdt.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/asm/asm_gdt.h b/asm/asm_gdt.h index 128dbf3..c2c35a0 100644 --- a/asm/asm_gdt.h +++ b/asm/asm_gdt.h @@ -3,5 +3,12 @@ * http://wiki.osdev.org/GDT_Tutorial */ -/** call as asm_setup_gdt(GDT,sizeof(GDT)) */ +/** + * Set the Global Descritpor Table from data at _addr_. + * + * call as asm_setup_gdt(GDT,sizeof(GDT)) + * + * This will jump to 0x8 segment and set 0x10 data selector + * also refereshing the tss entry. + * */ void asm_setup_gdt(uint32_t addr, uint32_t size); |
