/**
* \}
*/
+// --- Interface Flags & Macros
+#define CLONE_VM 0x10
+
+// === Types ===
+typedef void (*tThreadFunction)(void*);
// === Kernel Export Macros ===
/**
# define LOG(_fmt...) Debug_Log((char*)__func__, _fmt)
# define LEAVE(_t...) Debug_Leave((char*)__func__, _t)
# define LEAVE_RET(_t,_v...) do{LEAVE(_t,_v);return _v;}while(0)
-//# define LEAVE_RET(_t) do{LEAVE(_t);return;}
+# define LEAVE_RET0() do{LEAVE('-');return;}while(0)
#else
# define ENTER(...)
# define LOG(...)
# define LEAVE(...)
# define LEAVE_RET(_t,_v...) return (_v)
+# define LEAVE_RET0() return
#endif
/**
* \}
/**
* \brief Get the physical address of \a VAddr
* \param VAddr Address of the page to get the physical address of
- * \return Physical page mapped at \A VAddr
+ * \return Physical page mapped at \a VAddr
*/
extern tPAddr MM_GetPhysAddr(tVAddr VAddr);
/**