Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 1058 → Rev 1057

/boot/trunk/arch/ppc32/loader/ofw.c
27,7 → 27,6
*/
#include "ofw.h"
#include "asm.h"
#include "printf.h"
 
#define MAX_OFW_ARGS 10
114,6 → 113,12
}
 
 
void halt(void)
{
ofw_call("exit", 0, 0);
}
 
 
void ofw_write(const char *str, const int len)
{
if (ofw_stdout == 0)
129,6 → 134,12
}
 
 
int ofw_map(const void *phys, const void *virt, const int size, const int mode)
{
return ofw_call("call-method", 6, 1, "map", ofw_mmu, mode, size, virt, phys);
}
 
 
int ofw_memmap(memmap_t *map)
{
int i;