Free memory for Due

Hey,
What's the equivalent for the AVR free memory check for the Due?

int freeRam () 
{
  extern int __heap_start, *__brkval; 
  int v; 
  return (int) &v - (__brkval == 0 ? (int) &__heap_start : (int) __brkval); 
}

Thanks.

Found it
http://forum.arduino.cc/index.php?topic=182759.0