I'm converting over from using the IAR compiler for the HCS12.
I have found that CodeWarrior does not support a nifty function generation attribute called "__monitor".
This attribute causes the function to generate code to, on entry, save the current interrupt enable status & disable interrupts; then, on exit, restore the saved interrupt enable status.
This is a really useful tool.
Does anyone know of an implementation work around for CodeWarrior or whether Freescale intends to support this functionality?