add vsyscall

- getcpu() is not implemented. It will cause SIGILL.
- gettimeofday() and time() are implemented with syscall.
This commit is contained in:
NAKAMURA Gou
2014-01-20 10:33:23 +09:00
parent 26d68d391d
commit f5b4057074
6 changed files with 116 additions and 0 deletions

View File

@ -13,6 +13,7 @@
#ifndef __HEADER_SYSCALL_H
#define __HEADER_SYSCALL_H
#include <ihk/context.h>
#include <ihk/memconst.h>
#define NUM_SYSCALLS 255