add licensing note, fix alignment
@@ -20,6 +20,7 @@ typedef struct gdt_descriptor gdt_descriptor_t;
//defined in gdt.s
extern void gdt_activate(uint32_t* gdt_pointer);
+//This implementation was modified from an excerpt on http://wiki.osdev.org/GDT_Tutorial
// Each define here is for a specific flag in the descriptor.
// Refer to the intel documentation for a description of what each one does.
#define SEG_DESCTYPE(x) ((x) << 0x04) // Descriptor type (0 for system, 1 for code/data)
