mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-09 16:30:08 +01:00
22 lines
502 B
C
22 lines
502 B
C
#pragma once
|
|
|
|
#include "fastfetch.h"
|
|
|
|
typedef struct FFPhysicalMemoryResult
|
|
{
|
|
uint64_t size; // B
|
|
uint32_t maxSpeed; // MT/s
|
|
uint32_t runningSpeed; // MT/s
|
|
FFstrbuf type;
|
|
FFstrbuf formFactor;
|
|
FFstrbuf locator;
|
|
FFstrbuf partNumber;
|
|
FFstrbuf vendor;
|
|
FFstrbuf serial;
|
|
bool ecc;
|
|
} FFPhysicalMemoryResult;
|
|
|
|
const char* ffDetectPhysicalMemory(FFlist* result); // list of FFPhysicalMemoryResult
|
|
|
|
void FFPhysicalMemoryUpdateVendorString(FFPhysicalMemoryResult* device);
|