These are the changes to the files for allowing mp2x to compile on the open2x toolchain. The changes are based on mp2x v3 but should be easily adjusted to mp2x v4.