syscall write and read using size to indicate the string length

when print log, using size as the contion to terminate
the tty write

Signed-off-by: Le Min <lemin9538@gmail.com>
define macro DEBUG_LMFS to control the log of LMFS

Signed-off-by: Le Min <lemin9538@gmail.com>
add _sys_access syscall and open ttyS0 when process is created

Signed-off-by: Le Min <lemin9538@gmail.com>
using fs_debug to control the log print of fnode.c

Signed-off-by: Le Min <lemin9538@gmail.com>
delete unused logs for vfs let code more clearly

Signed-off-by: Le Min <lemin9538@gmail.com>
build idle task early and check current process when panic

Signed-off-by: Le Min <lemin9538@gmail.com>
define fs_debug and add _sys_access to header file

Signed-off-by: Le Min <lemin9538@gmail.com>
fix some bugs of devfs and mount it when system start

when copy fnode the list_head can not copied directy
so pass the pointer of dnode to the fs system

Signed-off-by: Le Min <lemin9538@gmail.com>
add file_desc init call and fix the bug when fill argv and envp

Signed-off-by: Le Min <lemin9538@gmail.com>
enhanced mount syscall and enable devfs mounting

Signed-off-by: Le Min <lemin9538@gmail.com>
add syscall directory to implement syscall handler

Signed-off-by: Le Min <lemin9538@gmail.com>
add wshell which is downloaded from github.com

Signed-off-by: Le Min <lemin9538@gmail.com>
fix some issues in MM make it more stable

Signed-off-by: Le,Min <min.le@intel.com>
add some new operations for files

1: fmmap and fmsync
2: call back for close file: release_fnode

Signed-off-by: Le,Min <min.le@intel.com>
add uname syscall use fixed value TBC

Signed-off-by: Le,Min <min.le@intel.com>
add getcwd syscall using fixed value TBC

Signed-off-by: Le,Min <min.le@intel.com>
add geteuid syscall using fixed value TBC

Signed-off-by: Le,Min <min.le@intel.com>
update mmap code add msync system call

for mmsync, the offset of the fd will stored in
the last 32byte of the page struct, but now, only
give it 16byte, will implement it later since mm
will be refactor later

Signed-off-by: Le,Min <min.le@intel.com>
setup argv and envp must before load_elf_image

since load_elf_image will overwrite the memory
of the fater process

Signed-off-by: Le,Min <min.le@intel.com>
update the userspace code move init.c to test.c

Signed-off-by: Le,Min <min.le@intel.com>