implemented syscall handler & GS info