Subversion Repositories HelenOS-historic

Rev

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

Rev 1157 Rev 1166
Line 112... Line 112...
112
	
112
	
113
	mtspr srr0, r8
113
	mtspr srr0, r8
114
	
114
	
115
	# jumps to real_mode
115
	# jumps to real_mode
116
	
116
	
117
	mfmsrd r31
117
	mfmsr r31
118
	lis r30, ~0@h
118
	lis r30, ~0@h
119
	ori r30, r30, ~(msr_ir | msr_dr)@l
119
	ori r30, r30, ~(msr_ir | msr_dr)@l
120
	and r31, r31, r30
120
	and r31, r31, r30
121
	mtspr srr1, r31
121
	mtspr srr1, r31
122
	
122
	
Line 244... Line 244...
244
	lis r31, KERNEL_START_ADDR@ha
244
	lis r31, KERNEL_START_ADDR@ha
245
	addi r31, r31, KERNEL_START_ADDR@l
245
	addi r31, r31, KERNEL_START_ADDR@l
246
	
246
	
247
	mtspr srr0, r31
247
	mtspr srr0, r31
248
	
248
	
249
	mfmsrd r31
249
	mfmsr r31
250
	ori r31, r31, (msr_ir | msr_dr)@l
250
	ori r31, r31, (msr_ir | msr_dr)@l
251
	mtspr srr1, r31
251
	mtspr srr1, r31
252
	
252
	
253
	sync
253
	sync
254
	isync
254
	isync