+
+ return ptr;
+}
+
+void *malloc_simple(size_t bytes)
+{
+ void *ptr;
+
+ ptr = alloc_simple(bytes, 1);
+ if (!ptr)
+ return ptr;
+
+ log_debug("%lx\n", (ulong)ptr);
+
+ return ptr;
+}
+
+void *memalign_simple(size_t align, size_t bytes)
+{
+ void *ptr;
+
+ ptr = alloc_simple(bytes, align);
+ if (!ptr)
+ return ptr;
+ log_debug("aligned to %lx\n", (ulong)ptr);
+