Subversion Repositories HelenOS

Rev

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

Rev 371 Rev 406
Line 31... Line 31...
31
#include <arch/boot/boot.h>
31
#include <arch/boot/boot.h>
32
#include <arch/boot/memmapasm.h>
32
#include <arch/boot/memmapasm.h>
33
#include <arch/mm/page.h>
33
#include <arch/mm/page.h>
34
#include <arch/pm.h>
34
#include <arch/pm.h>
35
 
35
 
36
.section K_TEXT_START
36
.section K_TEXT_START, "ax"
37
.global kernel_image_start
37
.global kernel_image_start
38
 
38
 
39
KTEXT=8
39
KTEXT=8
40
KDATA=16
40
KDATA=16
41
 
41
 
Line 241... Line 241...
241
	orl $(1<<31), %ebx
241
	orl $(1<<31), %ebx
242
	movl %ebx, %cr0
242
	movl %ebx, %cr0
243
	ret
243
	ret
244
 
244
 
245
 
245
 
246
.section K_DATA_START
246
.section K_DATA_START, "aw", @progbits
247
 
247
 
248
.align 4096
248
.align 4096
249
page_directory:
249
page_directory:
250
	.space 4096, 0
250
	.space 4096, 0
251
 
251