Re: What's the value of %cs before jump in pm32 on booting?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Aug 11, 2011 at 18:18, jiangtao.jit <jiangtao.jit@xxxxxxxxx> wrote:
> Hi all:
>
> on booting of x86
> top of file arch/x86/boot/pmjump.S
> there is code
> -------------------
> GLOBAL(protected_mode_jump)
>        movl    %edx, %esi
>        xorl    %ebx, %ebx

i think it's zeroing bx (l--> low I suppose)

>        movw    %cs, %bx

then, it should zero the content of cs. Quite likely, it means to jump
to cpu ring level 0 and do something there..


-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux