*
* Kernel Main
*/
-#include <acess.h>
+#include <arch.h>
#include <stdio.h>
#include <stdlib.h>
+#include <stdarg.h>
#include <sys/time.h>
void LogF(const char *Fmt, ...)
// Ignored, kernel debug goes to stdout
}
-void *Heap_Allocate(int Count, const char *File, int Line)
+void *Heap_Allocate(const char *File, int Line, int ByteCount)
{
- return malloc(Count);
+ return malloc(ByteCount);
}
tPAddr MM_GetPhysAddr(tVAddr VAddr)