mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-03 03:41:04 +01:00
Enable BSD support in CMake
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
#include "cpu.h"
|
||||
|
||||
void ffDetectCPUImpl(FFCPUResult* cpu)
|
||||
{
|
||||
ffStrbufInit(&cpu->vendor);
|
||||
ffStrbufInit(&cpu->name);
|
||||
cpu->coresPhysical = 1;
|
||||
cpu->coresLogical = 1;
|
||||
cpu->coresOnline = 1;
|
||||
frequencyMin = 0.0;
|
||||
frequencyMax = 0.0;
|
||||
temperature = FF_CPU_TEMP_UNSET;
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
#include "memory.h"
|
||||
|
||||
void ffDetectMemoryImpl(FFMemoryResult* memory)
|
||||
{
|
||||
memory->ram.bytesTotal = 0;
|
||||
memory->ram.bytesUsed = 0;
|
||||
memory->swap.bytesTotal = 0;
|
||||
memory->swap.bytesUsed = 0;
|
||||
}
|
||||
Reference in New Issue
Block a user