summaryrefslogtreecommitdiff
path: root/src/c/shell/neofetch.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/c/shell/neofetch.c')
-rw-r--r--src/c/shell/neofetch.c12
1 files changed, 11 insertions, 1 deletions
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();
}