Add a simple /proc/cpuinfo that includes some info from CPUID.

This commit is contained in:
Andreas Kling 2018-11-02 09:25:23 +01:00
commit 812e7940e2
Notes: sideshowbarker 2024-07-19 18:34:34 +09:00
5 changed files with 81 additions and 3 deletions

View file

@ -23,7 +23,6 @@ VirtualConsole::VirtualConsole(unsigned index, InitialContents initial_contents)
{
s_consoles[index] = this;
m_buffer = (byte*)kmalloc_eternal(80 * 25 * 2);
dbgprintf("VirtualConsole %u @ %p, m_buffer = %p\n", index, this, m_buffer);
if (initial_contents == AdoptCurrentVGABuffer) {
memcpy(m_buffer, s_vga_buffer, 80 * 25 * 2);
auto vgaCursor = vga_get_cursor();