add function net_read and net_write; Add makemips/Makefile for cross compile