Subversion Repositories HelenOS-historic

Rev

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

Rev 1 Rev 95
Line 37... Line 37...
37
# Protected mode tables are statically initialised during compile
37
# Protected mode tables are statically initialised during compile
38
# time. So we can just load the respective table registers and
38
# time. So we can just load the respective table registers and
39
# switch to protected mode.
39
# switch to protected mode.
40
#
40
#
41
kernel_image_start:
41
kernel_image_start:
-
 
42
	call memmap_arch_init
42
	cli
43
	cli
43
	xorw %ax,%ax
44
	xorw %ax,%ax
44
	movw %ax,%ds
45
	movw %ax,%ds
45
	lgdt gdtr
46
	lgdt gdtr
46
	movl %cr0,%eax
47
	movl %cr0,%eax