Added sparc64 support
plus minor syscall related code cleanup
9 files changed