Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/mips32/src/mips32.c

    r27ed3edd rc0699467  
    3434
    3535#include <arch.h>
    36 #include <typedefs.h>
    37 #include <errno.h>
    38 #include <interrupt.h>
    39 #include <macros.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>
    4141#include <memstr.h>
    42 #include <userspace.h>
     42#include <proc/thread.h>
     43#include <abi/proc/uarg.h>
     44#include <print.h>
    4345#include <console/console.h>
    4446#include <syscall/syscall.h>
    4547#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>
    4752#include <arch/debugger.h>
    48 #include <arch/drivers/msim.h>
    4953#include <genarch/fb/fb.h>
     54#include <abi/fb/visuals.h>
    5055#include <genarch/drivers/dsrln/dsrlnin.h>
    5156#include <genarch/drivers/dsrln/dsrlnout.h>
    5257#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>
    5363
    5464/* Size of the code jumping to the exception handler code
     
    7888        size_t i;
    7989        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;
    8191                init.tasks[i].size = bootinfo->tasks[i].size;
    8292                str_cpy(init.tasks[i].name, CONFIG_TASK_NAME_BUFLEN,
     
    196206        sysinfo_set_item_val("kbd", NULL, true);
    197207        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);
    200209#endif
    201210}
     
    239248 * possible to have it separately in the future.
    240249 */
    241 sysarg_t sys_tls_set(uintptr_t addr)
    242 {
    243         return EOK;
     250sysarg_t sys_tls_set(sysarg_t addr)
     251{
     252        return 0;
    244253}
    245254
Note: See TracChangeset for help on using the changeset viewer.