Subversion Repositories HelenOS-historic

Rev

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

Rev 1146 Rev 1157
Line 27... Line 27...
27
#
27
#
28
 
28
 
29
#include "asm.h"
29
#include "asm.h"
30
#include "regname.h"
30
#include "regname.h"
31
 
31
 
32
.data
-
 
33
 
-
 
34
flush_buffer:
-
 
35
	.space (L1_CACHE_LINES * L1_CACHE_BYTES)
-
 
36
 
-
 
37
.text
32
.text
38
 
33
 
39
.global halt
34
.global halt
40
.global memcpy
35
.global memcpy
41
.global jump_to_kernel
36
.global jump_to_kernel
Line 122... Line 117...
122
	mfmsr r31
117
	mfmsr r31
123
	lis r30, ~0@h
118
	lis r30, ~0@h
124
	ori r30, r30, ~(msr_ir | msr_dr)@l
119
	ori r30, r30, ~(msr_ir | msr_dr)@l
125
	and r31, r31, r30
120
	and r31, r31, r30
126
	mtspr srr1, r31
121
	mtspr srr1, r31
-
 
122
	
-
 
123
	sync
-
 
124
	isync
127
	rfi
125
	rfi
128
 
126
 
129
.section REALMODE
127
.section REALMODE
130
.align PAGE_WIDTH
128
.align PAGE_WIDTH
131
.global real_mode
129
.global real_mode