Changeset a3b034b in mainline


Ignore:
Timestamp:
2013-11-14T21:33:43Z (11 years ago)
Author:
Jakub Klama <jakub.klama@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a7372ccf
Parents:
9426f7c4
Message:
  • Implement early memcpy_from/to_uspace()
  • Make MMU flush really working
  • Add handlers for more syscalls
Location:
kernel/arch/sparc32/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc32/src/mm/as.c

    r9426f7c4 ra3b034b  
    5555        asi_u32_write(ASI_MMUREGS, 0x200, as->asid);
    5656        asi_u32_write(ASI_MMUCACHE, 0, 1);
    57         asi_u32_write(ASI_MMUFLUSH, 0, 1);
     57        asi_u32_write(ASI_MMUFLUSH, 0x400, 1);
    5858}
    5959
  • kernel/arch/sparc32/src/sparc32.c

    r9426f7c4 ra3b034b  
    164164int memcpy_from_uspace(void *dst, const void *uspace_src, size_t size)
    165165{
    166         return EOK;
     166        memcpy(dst, uspace_src, size);
     167        return size;
    167168}
    168169
    169170int memcpy_to_uspace(void *uspace_dst, const void *src, size_t size)
    170171{
    171         return EOK;
     172        memcpy(uspace_dst, src, size);
     173        return size;
    172174}
    173175
  • kernel/arch/sparc32/src/trap_table.S

    r9426f7c4 ra3b034b  
    923923        SYSCALL(0xa8)
    924924        SYSCALL(0xa9)
     925        SYSCALL(0xaa)
     926        SYSCALL(0xab)
     927        SYSCALL(0xac)
     928        SYSCALL(0xad)
     929        SYSCALL(0xae)
     930        SYSCALL(0xaf)
Note: See TracChangeset for help on using the changeset viewer.