/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/arch/i386/kernel/ |
H A D | doublefault.c | 21 unsigned long gdt, tss; local 24 gdt = gdt_desc.address; 26 printk("double fault, gdt at %08lx [%d bytes]\n", gdt, gdt_desc.size); 28 if (ptr_ok(gdt)) { 29 gdt += GDT_ENTRY_TSS << 3; 30 tss = *(u16 *)(gdt+2); 31 tss += *(u8 *)(gdt+4) << 16; 32 tss += *(u8 *)(gdt+7) << 24;
|
H A D | smpcommon.c | 15 struct desc_struct *gdt = get_cpu_gdt_table(cpu); local 17 pack_descriptor((u32 *)&gdt[GDT_ENTRY_PERCPU].a, 18 (u32 *)&gdt[GDT_ENTRY_PERCPU].b,
|
H A D | trampoline.S | 66 lgdtl boot_gdt_descr - r_base # load gdt with whatever is appropriate 77 .word __BOOT_DS + 7 # gdt limit 78 .long boot_gdt - __PAGE_OFFSET # gdt base
|
H A D | apm.c | 384 struct desc_struct *gdt; local 389 gdt = get_cpu_gdt_table(cpu); 390 save_desc_40 = gdt[0x40 / 8]; 391 gdt[0x40 / 8] = bad_bios_desc; 398 gdt[0x40 / 8] = save_desc_40; 427 struct desc_struct *gdt; local 432 gdt = get_cpu_gdt_table(cpu); 433 save_desc_40 = gdt[0x40 / 8]; 434 gdt[0x40 / 8] = bad_bios_desc; 441 gdt[ 1943 struct desc_struct *gdt; local [all...] |
H A D | vmi.c | 179 static inline void vmi_maybe_load_tls(struct desc_struct *gdt, int nr, struct desc_struct *new) argument 181 if (gdt[nr].a != new->a || gdt[nr].b != new->b) 182 write_gdt_entry(gdt, nr, new->a, new->b); 187 struct desc_struct *gdt = get_cpu_gdt_table(cpu); local 188 vmi_maybe_load_tls(gdt, GDT_ENTRY_TLS_MIN + 0, &t->tls_array[0]); 189 vmi_maybe_load_tls(gdt, GDT_ENTRY_TLS_MIN + 1, &t->tls_array[1]); 190 vmi_maybe_load_tls(gdt, GDT_ENTRY_TLS_MIN + 2, &t->tls_array[2]);
|
H A D | traps.c | 1010 struct desc_struct *gdt = __get_cpu_var(gdt_page).gdt; local 1014 __u64 desc = *(__u64 *)&gdt[GDT_ENTRY_ESPFIX_SS]; 1021 *(__u64 *)&gdt[GDT_ENTRY_ESPFIX_SS] = desc;
|
H A D | head.S | 323 movl %eax,%ss # after changing gdt.
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/asm-i386/ |
H A D | suspend.h | 15 struct Xgt_desc_struct gdt; member in struct:saved_context
|
H A D | desc.h | 23 struct desc_struct gdt[GDT_ENTRIES]; member in struct:gdt_page 29 return per_cpu(gdt_page, cpu).gdt; 140 struct desc_struct *gdt = get_cpu_gdt_table(cpu); local 143 gdt[GDT_ENTRY_TLS_MIN + i] = t->tls_array[i]; 226 * gdt - GDT pointer 236 #define GET_DESC_BASE(idx, gdt, base, lo_w, lo_b, hi_b) \ 237 movb idx*8+4(gdt), lo_b; \ 238 movb idx*8+7(gdt), hi_b; \ 240 movw idx*8+2(gdt), lo_w;
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/arch/i386/power/ |
H A D | cpu.c | 30 store_gdt(&ctxt->gdt); 103 load_gdt(&ctxt->gdt);
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/pnp/pnpbios/ |
H A D | bioscalls.c | 63 struct desc_struct *gdt = get_cpu_gdt_table((cpu)); \ 64 set_base(gdt[(selname) >> 3], (u32)(address)); \ 65 set_limit(gdt[(selname) >> 3], size); \ 528 struct desc_struct *gdt = get_cpu_gdt_table(i); local 529 if (!gdt) 531 set_base(gdt[GDT_ENTRY_PNPBIOS_CS32], &pnp_bios_callfunc); 532 set_base(gdt[GDT_ENTRY_PNPBIOS_CS16], __va(header->fields.pm16cseg)); 533 set_base(gdt[GDT_ENTRY_PNPBIOS_DS], __va(header->fields.pm16dseg));
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/arch/x86_64/boot/compressed/ |
H A D | head.S | 98 leal gdt(%ebp), %eax 99 movl %eax, gdt+2(%ebp) 100 lgdt gdt(%ebp) 156 * the new gdt/idt that has __KERNEL_CS with CS.L = 1. 291 gdt: label 292 .word gdt_end - gdt 293 .long gdt
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/arch/x86_64/kernel/ |
H A D | trampoline.S | 67 addl %esi, tgdt + 2 - r_base # Fixup the gdt pointer 77 lgdtl tgdt - r_base # load gdt with whatever is appropriate 114 * the new gdt/idt that has __KERNEL_CS with CS.L = 1. 140 .short tgdt_end - tgdt # gdt limit
|
H A D | head.S | 345 gdt: label
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/arch/i386/boot/ |
H A D | setup.S | 775 # set up gdt and idt and 32bit start address 778 movw %ds, %ax # (Convert %ds:gdt to a linear ptr) 781 addl $gdt, %eax 783 lgdt gdt_48 # load gdt with whatever is 973 # NOTE: The intel manual says gdt should be sixteen bytes aligned for 984 gdt: label 1008 .word gdt_end - gdt - 1 # gdt limit 1009 .word 0, 0 # gdt base (filled in later)
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/asm-x86_64/ |
H A D | desc.h | 31 /* the cpu gdt accessor */ 141 u64 *gdt = (u64 *)(cpu_gdt(cpu) + GDT_ENTRY_TLS_MIN); local 144 gdt[i] = t->tls_array[i];
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/arch/i386/kernel/acpi/ |
H A D | wakeup.S | 77 # need a gdt -- use lgdtl to force 32-bit operands, in case 175 # reload the gdt, as we need the full 32 bit address 185 # and restore the stack ... but you need gdt for this to work
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/arch/x86_64/kernel/acpi/ |
H A D | wakeup.S | 72 movzx %ax, %esi # (Convert %ds:gdt to a liner ptr) 77 addl %esi, gdt_48a + 2 - wakeup_code # Fixup the gdt pointer 80 lgdtl %ds:gdt_48a - wakeup_code # load gdt with whatever is 156 * the new gdt/idt that has __KERNEL_CS with CS.L = 1. 215 /* Its good to keep gdt in sync with one in trampoline.S */ 227 .word 0x800 # gdt limit=2048, 229 .long gdta - wakeup_code # gdt base (relocated in later)
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/arch/x86_64/boot/ |
H A D | setup.S | 564 movw %ds, %ax # (Convert %ds:gdt to a linear ptr) 566 addl $gdt, %eax 568 lgdt gdt_48 # load gdt with whatever is 739 gdt: label 760 .word gdt_end-gdt-1 # gdt limit 761 .word 0, 0 # gdt base (filled in later)
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/linux/ |
H A D | kvm.h | 163 struct kvm_dtable gdt, idt; member in struct:kvm_sregs
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/kvm/ |
H A D | kvm_main.c | 154 struct descriptor_table gdt; local 163 asm ("sgdt %0" : "=m"(gdt)); 164 table_base = gdt.base; 1963 sregs->gdt.limit = dt.limit; 1964 sregs->gdt.base = dt.base; 2001 dt.limit = sregs->gdt.limit; 2002 dt.base = sregs->gdt.base;
|
H A D | svm.c | 298 struct desc_struct *gdt; local 319 gdt = (struct desc_struct *)gdt_descr.address; 320 svm_data->tss_desc = (struct kvm_ldttss_desc *)(gdt + GDT_ENTRY_TSS);
|
H A D | vmx.c | 404 struct descriptor_table gdt; local 407 get_gdt(&gdt); 408 descs = (void *)gdt.base;
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/arch/i386/kernel/cpu/ |
H A D | common.c | 24 DEFINE_PER_CPU(struct gdt_page, gdt_page) = { .gdt = { 641 /* Current gdt points %fs at the "master" per-cpu area: after this,
|