Move string functions/utils from HAL to std/string
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user