Changeset d3e7ff4 in mainline for generic/src/syscall/syscall.c


Ignore:
Timestamp:
2006-03-14T14:10:25Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5581c45e
Parents:
5be1923
Message:

Add sys_mremap() syscall.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • generic/src/syscall/syscall.c

    r5be1923 rd3e7ff4  
    2929#include <syscall/syscall.h>
    3030#include <proc/thread.h>
     31#include <mm/as.h>
    3132#include <print.h>
    3233#include <putchar.h>
     
    182183}
    183184
     185static __native sys_mremap(void *address, size_t size, unsigned long flags)
     186{
     187        return as_remap(AS, (__address) address, size, 0);
     188}
    184189
    185190syshandler_t syscall_table[SYSCALL_END] = {
    186191        sys_ctl,
    187192        sys_io,
     193        sys_mremap,
    188194        sys_ipc_call_sync,
    189195        sys_ipc_call_sync_medium,
Note: See TracChangeset for help on using the changeset viewer.