install idt and add some mem helper functions and ioport functions
put functions declaration int 'system.h'