Move string functions/utils from HAL to std/string

This commit is contained in:
2025-11-11 19:54:09 +01:00
parent f5dae4984d
commit 344952fb5f
27 changed files with 200 additions and 228 deletions

View File

@ -9,6 +9,7 @@
#include "dlmalloc/malloc.h"
#include "FastLZ/fastlz.h"
#include "FastLZ/6unpack_mem.h"
#include "std/string.h"
#define BASEIMG_DECOMPRESSED (1024*1024*4)
@ -29,7 +30,7 @@ void baseimg_init(void) {
LOG("baseimg", "looking for base image...\n");
for (size_t i = 0; i < BOOT_INFO.modules->module_count; i++) {
struct limine_file *module = BOOT_INFO.modules->modules[i];
if (hal_strcmp(util_get_filename(module->path), "base.img.6pk") == 0) {
if (strcmp(util_get_filename(module->path), "base.img.6pk") == 0) {
baseimg = module;
break;
}