Mostly copied GDT from kernel-old.