Subversion Repositories HelenOS-historic

Rev

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

Rev 298 Rev 300
Line 48... Line 48...
48
.code16
48
.code16
49
	cli
49
	cli
50
	xorw %ax, %ax
50
	xorw %ax, %ax
51
	movw %ax, %ds
51
	movw %ax, %ds
52
 
52
 
53
	lgdt real_bootstrap_gdtr	# initialize Global Descriptor Table register
53
	lgdt real_bootstrap_gdtr_boot	# initialize Global Descriptor Table register
54
	
54
	
55
	movl %cr0, %eax
55
	movl %cr0, %eax
56
	orl $1, %eax
56
	orl $1, %eax
57
	movl %eax, %cr0				# switch to protected mode
57
	movl %eax, %cr0				# switch to protected mode
58
	jmpl $KTEXT, $jump_to_kernel
58
	jmpl $KTEXT, $jump_to_kernel