Changeset 01cb210 in mainline for arch/ppc32/loader/ofw.c
- Timestamp:
- 2006-03-16T18:55:50Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1f330de
- Parents:
- d89c554
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ppc32/loader/ofw.c
rd89c554 r01cb210 28 28 29 29 #include "ofw.h" 30 #include "asm.h" 30 31 #include "printf.h" 31 32 … … 114 115 115 116 116 void halt(void)117 {118 ofw_call("exit", 0, 0);119 }120 121 122 117 void ofw_write(const char *str, const int len) 123 118 { … … 132 127 { 133 128 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);140 129 } 141 130
Note:
See TracChangeset
for help on using the changeset viewer.