Print package string on startup

This commit is contained in:
2020-07-17 12:29:34 -05:00
parent 771968285f
commit 999b290feb

View File

@@ -9,6 +9,7 @@
#include "pio.hpp"
#include "tty.hpp"
#include "util.hpp"
#include "config.h"
using namespace kernel;
@@ -18,7 +19,7 @@ extern MemoryMap::Region memory_map;
void main(char* cmdline)
{
TTY tty((char*) 0xC00B8000);
tty << "--Quark Kernel--\n";
tty << PACKAGE_STRING << '\n';
tty << "Low memory: \t" << (int) system_info.getLowMemory() << " KiB\n";
tty << "High memory:\t" << (int) system_info.getHighMemory() << " KiB\n";
tty << "Type\t\tLocation\t\tSize\n";