After some reading, I found the asm instructions to disable/enable interrupts by setting PRIMASK for the Cortex-M3, so I'm assuming this should work for a Maple 5:
#define _cli asm("CPSID i\n\t")
#define _sei asm("CPSIE i\n\t")
Any reason why this might be problematic? Any reason why they weren't included in the libs for greater compatibility with Arduino code?
FWIW, they seem to be compiling and working as expected so far in my programs I'm porting to Maple 5 from AVR Arduino.
But thought I'd ask in case I'm missing something basic (or even not so basic) here...