[refactor] Organize STRING

This commit is contained in:
2026-06-05 18:38:45 +08:00
Unverified
parent da03b301fb
commit 9ee88ef7b9
19 changed files with 124 additions and 51 deletions
+2 -1
View File
@@ -3,6 +3,7 @@
#include <efi.h>
#include <memory/pmm.h>
#include <common.h>
#include <string_utils.h>
#define TASK_STACK_SIZE (PAGE_SIZE * 4) // 16 KB kernel stack per task
#define TASK_MAX 32
@@ -26,7 +27,7 @@ typedef struct task {
} task_t;
// Create a new task. Returns task pointer or NULL on failure.
task_t* task_create(const char* name, void (*entry)(void));
task_t* task_create(String name, void (*entry)(void));
// Yield CPU to next ready task (cooperative)
void yield(void);