Add the start of the platform code. This is mostly copied from PowerPC. The
machine independent parts will be merged later when these parts have been
found.
Remove unused code.