blob: d4c85117189395f198bc49259db14994b5852f6e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#pragma once
#include "fastfetch.h"
#include "modules/physicalmemory/option.h"
typedef struct FFPhysicalMemoryResult {
uint64_t size; // B
uint32_t maxSpeed; // MT/s
uint32_t runningSpeed; // MT/s
bool installed;
FFstrbuf type;
FFstrbuf formFactor;
FFstrbuf locator;
FFstrbuf partNumber;
FFstrbuf vendor;
FFstrbuf serial;
bool ecc;
} FFPhysicalMemoryResult;
const char* ffDetectPhysicalMemory(FFPhysicalMemoryOptions* options, FFlist* result); // list of FFPhysicalMemoryResult
void FFPhysicalMemoryUpdateVendorString(FFPhysicalMemoryResult* device);
|