Skip to content

Commit 3115330

Browse files
committed
Make message show up on screen.
1 parent c9379bb commit 3115330

File tree

1 file changed

+28
-28
lines changed

1 file changed

+28
-28
lines changed

kmain.c

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -12,33 +12,33 @@
1212
#include "stdlib.h"
1313
#include "types.h"
1414

15-
static char *welcome_string = ""
16-
" "
17-
" "
18-
" "
19-
" "
20-
" | | | | "
21-
" ___ ___ | |_ __ _ ___ | | __ "
22-
" / __| / __| | __| / _` | / __| | |/ / "
23-
" | (__ \\__ \\ | |_ | (_| | | (__ | < "
24-
" \\___| |___/ \\__| \\__,_| \\___| |_|\\_\\ "
25-
" "
26-
" "
27-
" ____ _____ "
28-
" / __ \\ / ____| "
29-
" | | | | | (___ "
30-
" | | | | \\___ \\ "
31-
" | |__| | ____) | "
32-
" \\____/ |_____/ "
33-
" "
34-
" "
35-
" "
36-
" "
37-
" "
38-
" "
39-
" "
40-
" "
41-
"";
15+
// static char *welcome_string = ""
16+
// " "
17+
// " "
18+
// " "
19+
// " "
20+
// " | | | | "
21+
// " ___ ___ | |_ __ _ ___ | | __ "
22+
// " / __| / __| | __| / _` | / __| | |/ / "
23+
// " | (__ \\__ \\ | |_ | (_| | | (__ | < "
24+
// " \\___| |___/ \\__| \\__,_| \\___| |_|\\_\\ "
25+
// " "
26+
// " "
27+
// " ____ _____ "
28+
// " / __ \\ / ____| "
29+
// " | | | | | (___ "
30+
// " | | | | \\___ \\ "
31+
// " | |__| | ____) | "
32+
// " \\____/ |_____/ "
33+
// " "
34+
// " "
35+
// " "
36+
// " "
37+
// " "
38+
// " "
39+
// " "
40+
// " "
41+
// "";
4242

4343
uint32_t trigger_page_fault() {
4444
uint32_t* unmapped_address = (uint32_t *) 0x400000; // 4 MB
@@ -57,7 +57,7 @@ void kmain(struct kernel_memory_descriptor_t kernel_memory, uint32_t ebx) {
5757

5858
clear_screen();
5959

60-
printf(welcome_string);
60+
// printf(welcome_string);
6161

6262
serial_init();
6363
log("\n--------------------\ncstackOS is booting!\n--------------------\n\n");

0 commit comments

Comments
 (0)