Subversion Repositories HelenOS-historic

Rev

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

Rev 696 Rev 809
Line 66... Line 66...
66
.code32
66
.code32
67
	movw $gdtselector(KDATA_DES), %ax
67
	movw $gdtselector(KDATA_DES), %ax
68
	movw %ax, %ds
68
	movw %ax, %ds
69
	movw %ax, %es
69
	movw %ax, %es
70
	movw %ax, %ss
70
	movw %ax, %ss
-
 
71
	movw $gdtselector(UDATA_DES), %ax
-
 
72
	movw %ax, %gs
71
	
73
	
72
	# Enable 64-bit page transaltion entries - CR4.PAE = 1.
74
	# Enable 64-bit page transaltion entries - CR4.PAE = 1.
73
	# Paging is not enabled until after long mode is enabled
75
	# Paging is not enabled until after long mode is enabled
74
	
76
	
75
	movl %cr4, %eax
77
	movl %cr4, %eax