[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 -2
View File
@@ -1,5 +1,5 @@
#include <serial.h>
#include <common.h>
#include <string_utils.h>
extern EFI_SYSTEM_TABLE *ST;
@@ -22,7 +22,7 @@ void serial_write_char(char c) {
}
}
void serial_write(const char *str) {
void serial_write(String str) {
if (!g_serial.SerialIo) {
uefi_call_wrapper(ST->ConOut->OutputString, 2, ST->ConOut, (CHAR16*)L"serial: null io\n");
return;