Changeset 01cb210 in mainline for arch/ppc32/loader/ofw.c


Ignore:
Timestamp:
2006-03-16T18:55:50Z (19 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1f330de
Parents:
d89c554
Message:

relocate kernel in real mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/ppc32/loader/ofw.c

    rd89c554 r01cb210  
    2828 
    2929#include "ofw.h"
     30#include "asm.h"
    3031#include "printf.h"
    3132
     
    114115
    115116
    116 void halt(void)
    117 {
    118         ofw_call("exit", 0, 0);
    119 }
    120 
    121 
    122117void ofw_write(const char *str, const int len)
    123118{
     
    132127{
    133128        return (void *) ofw_call("call-method", 7, 1, "translate", ofw_mmu, virt, 0, 0, 0, 0);
    134 }
    135 
    136 
    137 int ofw_map(const void *phys, const void *virt, const int size, const int mode)
    138 {
    139         return ofw_call("call-method", 6, 1, "map", ofw_mmu, mode, size, virt, phys);
    140129}
    141130
Note: See TracChangeset for help on using the changeset viewer.