Subversion Repositories HelenOS

Rev

Rev 177 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 177 Rev 232
Line 49... Line 49...
49
	cli
49
	cli
50
	xorw %ax,%ax
50
	xorw %ax,%ax
51
	movw %ax,%ds
51
	movw %ax,%ds
52
 
52
 
53
	lgdt gdtr			# initialize Global Descriptor Table register
53
	lgdt gdtr			# initialize Global Descriptor Table register
54
	lidt idtr			# initialize Interrupt Descriptor Table register
-
 
55
	
54
	
56
	movl %cr0,%eax
55
	movl %cr0,%eax
57
	orl $1,%eax
56
	orl $1,%eax
58
	movl %eax,%cr0			# switch to protected mode
57
	movl %eax,%cr0			# switch to protected mode
59
	jmpl $KTEXT,$jump_to_kernel
58
	jmpl $KTEXT,$jump_to_kernel