mov $0,%ax /* fs must be zeroed; */
mov %ax,%fs /* some bootstrappers don`t do this */
mov %ax,%gs
mov $0,%ax /* fs must be zeroed; */
mov %ax,%fs /* some bootstrappers don`t do this */
mov %ax,%gs
movl %edx,2(%esp) /* point to local IDT (linear address) */
lidt 0(%esp) /* load new IDT */
movl %edx,2(%esp) /* point to local IDT (linear address) */
lidt 0(%esp) /* load new IDT */