XIZI_AIoT: Add modifications for all SDK files. Add libmalloc interfaces(not functional)

This commit is contained in:
TXuian
2024-02-02 11:10:55 +08:00
parent c7529f1702
commit 6942ad6d1d
51 changed files with 2010 additions and 1665 deletions
@@ -180,7 +180,7 @@ int task_exec(struct TaskMicroDescriptor* task, struct Session* session, int fd,
task->pgdir = pgdir;
/// @todo record mem size used b task
task->mem_size = load_size;
task->mem_size = ALIGNUP(load_size, PAGE_SIZE);
xizi_pager.free_user_pgdir(&old_pgdir);
return 0;