From c2ef64149849fcae608b1c6010303eca86229d22 Mon Sep 17 00:00:00 2001 From: Miguel Date: Sun, 9 Sep 2018 13:21:47 +0200 Subject: cleaning logs, docs, interrupts --- asm/asm_gdt.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'asm/asm_gdt.h') 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); -- cgit v1.2.3