Changes in kernel/arch/mips32/src/mips32.c [27ed3edd:c0699467] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/mips32/src/mips32.c
r27ed3edd rc0699467 34 34 35 35 #include <arch.h> 36 #include < typedefs.h>37 #include < errno.h>38 #include < interrupt.h>39 #include <m acros.h>40 #include < str.h>36 #include <arch/cp0.h> 37 #include <arch/exception.h> 38 #include <arch/debug.h> 39 #include <mm/as.h> 40 #include <userspace.h> 41 41 #include <memstr.h> 42 #include <userspace.h> 42 #include <proc/thread.h> 43 #include <abi/proc/uarg.h> 44 #include <print.h> 43 45 #include <console/console.h> 44 46 #include <syscall/syscall.h> 45 47 #include <sysinfo/sysinfo.h> 46 #include <arch/debug.h> 48 #include <arch/interrupt.h> 49 #include <interrupt.h> 50 #include <console/chardev.h> 51 #include <arch/barrier.h> 47 52 #include <arch/debugger.h> 48 #include <arch/drivers/msim.h>49 53 #include <genarch/fb/fb.h> 54 #include <abi/fb/visuals.h> 50 55 #include <genarch/drivers/dsrln/dsrlnin.h> 51 56 #include <genarch/drivers/dsrln/dsrlnout.h> 52 57 #include <genarch/srln/srln.h> 58 #include <macros.h> 59 #include <config.h> 60 #include <str.h> 61 #include <arch/drivers/msim.h> 62 #include <arch/asm/regname.h> 53 63 54 64 /* Size of the code jumping to the exception handler code … … 78 88 size_t i; 79 89 for (i = 0; i < init.cnt; i++) { 80 init.tasks[i]. paddr = KA2PA(bootinfo->tasks[i].addr);90 init.tasks[i].addr = (uintptr_t) bootinfo->tasks[i].addr; 81 91 init.tasks[i].size = bootinfo->tasks[i].size; 82 92 str_cpy(init.tasks[i].name, CONFIG_TASK_NAME_BUFLEN, … … 196 206 sysinfo_set_item_val("kbd", NULL, true); 197 207 sysinfo_set_item_val("kbd.inr", NULL, MSIM_KBD_IRQ); 198 sysinfo_set_item_val("kbd.address.physical", NULL, 199 PA2KA(MSIM_KBD_ADDRESS)); 208 sysinfo_set_item_val("kbd.address.virtual", NULL, MSIM_KBD_ADDRESS); 200 209 #endif 201 210 } … … 239 248 * possible to have it separately in the future. 240 249 */ 241 sysarg_t sys_tls_set( uintptr_t addr)242 { 243 return EOK;250 sysarg_t sys_tls_set(sysarg_t addr) 251 { 252 return 0; 244 253 } 245 254
Note:
See TracChangeset
for help on using the changeset viewer.