Changeset 2e672fd in mainline for arch/ppc32/loader
- Timestamp:
- 2006-07-10T20:48:40Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- daab5145
- Parents:
- 822b64e
- Location:
- arch/ppc32/loader
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ppc32/loader/boot.S
r822b64e r2e672fd 34 34 35 35 start: 36 lis r4, ofw @ha37 addi r4, r4, ofw @l36 lis r4, ofw_cif@ha 37 addi r4, r4, ofw_cif@l 38 38 stw r5, 0(r4) 39 39 -
arch/ppc32/loader/main.c
r822b64e r2e672fd 157 157 158 158 printf("\nBooting the kernel...\n"); 159 jump_to_kernel(bootinfo_pa, sizeof(bootinfo), trans_pa, pages << PAGE_WIDTH, real_mode_pa, bootinfo.screen.addr, bootinfo.screen.scanline);159 jump_to_kernel(bootinfo_pa, sizeof(bootinfo), trans_pa, pages << PAGE_WIDTH, real_mode_pa, (void *) bootinfo.screen.addr, bootinfo.screen.scanline); 160 160 } -
arch/ppc32/loader/ofw.c
r822b64e r2e672fd 30 30 #include <printf.h> 31 31 32 typedef int (* ofw_entry_t)(ofw_args_t *args); 33 34 int ofw(ofw_args_t *args) 35 { 36 return ((ofw_entry_t) ofw_cif)(args); 37 } 38 32 39 void write(const char *str, const int len) 33 40 { … … 49 56 if (ofw_get_property(device, "assigned-addresses", &macio, sizeof(macio)) <= 0) 50 57 return false; 51 keyboard->addr = (void *)macio.addr.addr_lo;58 keyboard->addr = macio.addr.addr_lo; 52 59 keyboard->size = macio.size_lo; 53 60 54 61 return true; 55 62 } 63 64 int ofw_translate_failed(ofw_arg_t flag) 65 { 66 return 0; 67 }
Note:
See TracChangeset
for help on using the changeset viewer.
