Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 1478 → Rev 1477

/boot/trunk/arch/ppc32/loader/asm.S
28,7 → 28,6
 
#include "asm.h"
#include "regname.h"
#include "debug.inc"
 
.text
 
109,8 → 108,6
# r5 = trans (pa)
# r6 = bytes to copy
# r7 = real_mode (pa)
# r8 = framebuffer (pa)
# r9 = scanline
# disable interrupts
126,7 → 123,7
mfmsr r31
lis r30, ~0@h
ori r30, r30, ~(msr_ir | msr_dr | msr_ee)@l
ori r30, r30, ~(msr_ir | msr_dr)@l
and r31, r31, r30
mtspr srr1, r31
139,15 → 136,11
.global real_mode
 
real_mode:
 
DEBUG_real_mode
# copy kernel to proper location
#
# r5 = trans (pa)
# r6 = bytes to copy
# r8 = framebuffer (pa)
# r9 = scanline
li r31, PAGE_SIZE >> 2
li r30, 0
258,8 → 251,6
sync
isync
DEBUG_rfi
rfi
 
.align PAGE_WIDTH