Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 1779 → Rev 1783

/boot/trunk/arch/ppc64/loader/boot.S
33,8 → 33,8
.global start
 
start:
lis r4, ofw@ha
addi r4, r4, ofw@l
lis r4, ofw_cif@ha
addi r4, r4, ofw_cif@l
stw r5, 0(r4)
bl init
/boot/trunk/arch/ppc64/loader/ofw.c
29,6 → 29,13
#include <ofw.h>
#include <printf.h>
 
typedef int (* ofw_entry_t)(ofw_args_t *args);
 
int ofw(ofw_args_t *args)
{
return ((ofw_entry_t) ofw_cif)(args);
}
 
void write(const char *str, const int len)
{
ofw_write(str, len);
53,3 → 60,8
 
return true;
}
 
int ofw_translate_failed(ofw_arg_t flag)
{
return 0;
}