Add CPU::platform_string

This commit is contained in:
apio 2022-11-18 21:04:53 +01:00
parent 109de54822
commit 762ca844d8
2 changed files with 7 additions and 0 deletions

View File

@ -6,6 +6,8 @@ struct Registers;
namespace CPU namespace CPU
{ {
Result<const char*> identify(); Result<const char*> identify();
const char* platform_string();
void platform_init(); void platform_init();
[[noreturn]] void efficient_halt(); [[noreturn]] void efficient_halt();

View File

@ -296,6 +296,11 @@ namespace CPU
return brand_string; return brand_string;
} }
const char* platform_string()
{
return "x86_64";
}
void platform_init() void platform_init()
{ {
enable_sse(); enable_sse();