Chore: trim spaces

This commit is contained in:
2025-04-15 19:51:00 +08:00
parent 75edf55dd3
commit 8ea82f927b
3 changed files with 3 additions and 3 deletions

View File

@@ -35,6 +35,6 @@ void synchronous_handler()
uint64_t esr_el1 = 0x0;
R_SYSREG(esr_el1, esr_el1);
LOG(x0); LOG(spsr_el1); LOG(elr_el1); DEBUG_EXCEP(esr_el1);
}

View File

@@ -154,7 +154,7 @@ uint64_t _allocate_page(size_t req, int idx, uint64_t l, uint64_t r)
ret = _allocate_page(req, LIDX, l, m);
if (ret == MMAN_NO_PAGE && RCH->size >= req)
ret = _allocate_page(req, RIDX, m, r);
_pull(idx, sz);
return ret;
}

View File

@@ -233,7 +233,7 @@ int shell(file_node_t *initrd_root)
char *p1 = VEC_AT(char, args, 1);
_memalloc((size_t)atoi32(p1));
} else if (!strcmp(cmd, "free") && args->size >= 2) {
char *p1 = VEC_AT(char, args, 1);
char *p1 = VEC_AT(char, args, 1);
_free((uint64_t)atoh32(p1));
} else if (!strcmp(cmd, "ls")) {
_ls(initrd_root);