diff options
Diffstat (limited to 'src/c')
| -rw-r--r-- | src/c/kernel.c | 1 | ||||
| -rw-r--r-- | src/c/shell/neofetch.c | 12 |
2 files changed, 11 insertions, 2 deletions
diff --git a/src/c/kernel.c b/src/c/kernel.c index 72b2516..a5dc31a 100644 --- a/src/c/kernel.c +++ b/src/c/kernel.c @@ -7,7 +7,6 @@ #include<source/vga.h> #include<source/tty.h> - void kernel_main(void) { set_paging(); diff --git a/src/c/shell/neofetch.c b/src/c/shell/neofetch.c index e770428..4cfc250 100644 --- a/src/c/shell/neofetch.c +++ b/src/c/shell/neofetch.c @@ -3,6 +3,7 @@ #include<source/vga.h> #include<source/stdio.h> #include<source/timer.h> +#include<source/cpuid.h> void neofetch(void) { @@ -34,7 +35,16 @@ void neofetch(void) } printf("\n"); - set_color(VGA_COLOR_LIGHT_GREY,VGA_COLOR_BLACK); + + uint8_t cpuid_vendor_string[12]; + cpuid_vendor(cpuid_vendor_string); + + for (int i = 0; i < 12; i++) + { + printf("%c", cpuid_vendor_string[i]); + } + printf("\n"); + uptime(); } |
