Skip to content

Commit c93202c

Browse files
committed
FIX
1 parent d82c5d8 commit c93202c

4 files changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/cmake.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,4 @@ jobs:
6262
uses: actions/upload-artifact@v4
6363
with:
6464
name: basicallylinux-alpha
65-
path: build/kernel.bin
65+
path: build/kernel.bin

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ list(REMOVE_ITEM ASM_SOURCES "${BOOT_ASM}")
6262
set(ASM_SOURCES "${BOOT_ASM}" ${ASM_SOURCES})
6363

6464
# Exclude specific files if needed
65-
list(FILTER C_SOURCES EXCLUDE REGEX "src/drivers/vga.c")
65+
# list(FILTER C_SOURCES EXCLUDE REGEX "src/drivers/vga.c")
6666

6767
# Build Kernel Binary
6868
set(LINKER_SCRIPT "${CMAKE_CURRENT_SOURCE_DIR}/linker.ld")

include/serial.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
void serial_init(void);
77
void serial_write(const char* text);
8+
void serial_write_string(const char* text);
89
void serial_write_len(const char* text, uint32_t len);
910
void serial_write_hex32(uint32_t value);
1011
void serial_write_hex64(uint64_t value);

src/drivers/serial.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ void serial_write(const char* text) {
3434
}
3535
}
3636

37+
void serial_write_string(const char* text) {
38+
serial_write(text);
39+
}
40+
3741
void serial_write_len(const char* text, uint32_t len) {
3842
for (uint32_t i = 0; i < len; ++i) {
3943
if (text[i] == '\n') {

0 commit comments

Comments
 (0)