Thread (3 messages) flat view 3 messages, 3 authors, 2011-08-11

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

From: jiangtao.jit <hidden>
Date: 2011-08-11 11:18:54

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
	movw	%cs, %bx
	shll	$4, %ebx
	addl	%ebx, 2f
...
-------------------

what's the value of %cs here? how was it loaded?
i would really appreciate if someone provide me some references
thank you very much


2011-08-11 
jiangtao.jit 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help