HelenOS sources
GDT_ITEMS 50 kernel/arch/amd64/src/pm.c descriptor_t gdt[GDT_ITEMS] = {
GDT_ITEMS 164 kernel/arch/amd64/src/smp/smp.c (descriptor_t *) malloc(GDT_ITEMS * sizeof(descriptor_t));
GDT_ITEMS 168 kernel/arch/amd64/src/smp/smp.c memcpy(gdt_new, gdt, GDT_ITEMS * sizeof(descriptor_t));
GDT_ITEMS 170 kernel/arch/amd64/src/smp/smp.c protected_ap_gdtr.limit = GDT_ITEMS * sizeof(descriptor_t);
GDT_ITEMS 63 kernel/arch/ia32/src/pm.c descriptor_t gdt[GDT_ITEMS] = {
GDT_ITEMS 164 kernel/arch/ia32/src/smp/smp.c (descriptor_t *) malloc(GDT_ITEMS * sizeof(descriptor_t));
GDT_ITEMS 168 kernel/arch/ia32/src/smp/smp.c memcpy(gdt_new, gdt, GDT_ITEMS * sizeof(descriptor_t));
GDT_ITEMS 170 kernel/arch/ia32/src/smp/smp.c protected_ap_gdtr.limit = GDT_ITEMS * sizeof(descriptor_t);
HelenOS homepage, sources at GitHub