Index: Common/src/util.c
===================================================================
--- Common/src/util.c	(revision 150)
+++ Common/src/util.c	(working copy)
@@ -140,6 +140,21 @@
   return ptr;
 }
 
+// DAK - OnQ / Legrand
+void
+UTIL_fillMem(void *pMem, Uint32 pattern, Uint32 size)
+{
+   Uint32 *pCastMem = (Uint32 *) pMem;
+
+   while(size != 0)
+   {
+      *pCastMem = pattern;
+      ++pCastMem;
+
+      size -= sizeof(Uint32);
+   }
+}
+
 // Simple wait loop - comes in handy.
 void UTIL_waitLoop(Uint32 loopcnt)
 {
@@ -273,7 +288,21 @@
   }
 }
 
+// We don't link against the EABI
+Uint32
+UTIL_udiv32(Uint32 num, Uint32 den)
+{
+   Uint32 result = 0;
 
+   while(num >= den)
+   {
+      ++result;
+      num -= den;
+   }
+
+   return result;
+}
+
 /***********************************************************
 * Local Function Definitions                               *
 ***********************************************************/
