Changeset e692a27 in mainline for arch/ppc32/src/ppc32.c
- Timestamp:
- 2006-04-22T22:35:37Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- cf85e24c
- Parents:
- c118940
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ppc32/src/ppc32.c
rc118940 re692a27 33 33 #include <arch/mm/memory_init.h> 34 34 #include <arch/interrupt.h> 35 #include <userspace.h> 36 #include <proc/uarg.h> 35 37 36 38 bootinfo_t bootinfo; … … 46 48 ppc32_console_init(); 47 49 cuda_init(); 50 51 /* Setup usermode */ 52 init.cnt = 1; 53 init.tasks[0].addr = PA2KA(bootinfo.init.addr); 54 init.tasks[0].size = bootinfo.init.size; 48 55 } 49 56 … … 65 72 } 66 73 74 void userspace(uspace_arg_t *kernel_uarg) 75 { 76 userspace_asm((__address) kernel_uarg->uspace_uarg, (__address) kernel_uarg->uspace_stack, (__address) kernel_uarg->uspace_entry); 77 78 /* Unreachable */ 79 for (;;) 80 ; 81 }
Note:
See TracChangeset
for help on using the changeset viewer.