asm volatile ("movw %%ax, %%gs" :: "a" (USER_DS));
asm volatile ("movw %%ax, %%fs" :: "a" (USER_DS));
asm volatile ("movw %%ax, %%es" :: "a" (KERNEL_DS));
asm volatile ("movw %%ax, %%ds" :: "a" (KERNEL_DS));
asm volatile ("movw %%ax, %%ss" :: "a" (KERNEL_DS));
asm volatile ("ljmp %0, $1f\n 1:\n" :: "i" (KERNEL_CS));
USER_DS 和KERNEL_DS是常量
--
FROM 203.126.220.*