Data Structures | |
| class | FakeCpu |
| class | FakeFile |
| class | FakeFilesystem |
Functions | |
| Leaf | GetCpuidLeaf (uint32_t leaf_id, int ecx) |
| uint32_t | GetXCR0Eax (void) |
| FakeFilesystem & | GetEmptyFilesystem () |
| int | CpuFeatures_OpenFile (const char *filename) |
| void | CpuFeatures_CloseFile (int file_descriptor) |
| int | CpuFeatures_ReadFile (int file_descriptor, void *buffer, size_t buffer_size) |
| void | SetHardwareCapabilities (uint32_t hwcaps, uint32_t hwcaps2) |
| HardwareCapabilities | CpuFeatures_GetHardwareCapabilities (void) |
| void | SetPlatformTypes (const char *platform, const char *base_platform) |
| PlatformType | CpuFeatures_GetPlatformType (void) |
| bool | operator== (const StringView &a, const StringView &b) |
Variables | |
| FakeCpu * | g_fake_cpu = nullptr |
| static FakeFilesystem * | kFilesystem = new FakeFilesystem() |
| void cpu_features::CpuFeatures_CloseFile | ( | int | file_descriptor | ) |
| HardwareCapabilities cpu_features::CpuFeatures_GetHardwareCapabilities | ( | void | ) |
| PlatformType cpu_features::CpuFeatures_GetPlatformType | ( | void | ) |
| int cpu_features::CpuFeatures_OpenFile | ( | const char * | filename | ) |
| int cpu_features::CpuFeatures_ReadFile | ( | int | file_descriptor, |
| void * | buffer, | ||
| size_t | buffer_size | ||
| ) |
| Leaf cpu_features::GetCpuidLeaf | ( | uint32_t | leaf_id, |
| int | ecx | ||
| ) |
| FakeFilesystem & cpu_features::GetEmptyFilesystem | ( | ) |
| uint32_t cpu_features::GetXCR0Eax | ( | void | ) |
| bool cpu_features::operator== | ( | const StringView & | a, |
| const StringView & | b | ||
| ) |
| void cpu_features::SetHardwareCapabilities | ( | uint32_t | hwcaps, |
| uint32_t | hwcaps2 | ||
| ) |
| void cpu_features::SetPlatformTypes | ( | const char * | platform, |
| const char * | base_platform | ||
| ) |
| FakeCpu* cpu_features::g_fake_cpu = nullptr |
|
static |