feat: implemented liballoc for proper malloc

This commit is contained in:
2021-02-27 13:19:14 +01:00
parent 9f72d4bb1a
commit 9fdc89a3a6
6 changed files with 825 additions and 80 deletions

View File

@@ -58,6 +58,7 @@ uint32_t vasprintf(char *buf, const char *fmt, va_list args) {
case 'x':
print_int((uint32_t) va_arg(args, uint32_t), arg_width, buf, &ptr, 16);
break;
case 'i':
case 'd':
print_int((uint32_t) va_arg(args, uint32_t), arg_width, buf, &ptr, 10);
break;