Add dmmu implementation

A first rough draft, a lot of cleaning is still needed,
but it pass the DMMU part of the or1200-dmmu test.