李通洲
c7ecc33b64
Global: removes FFlist::elementSize
...
Improves performance of module Sound and PhysicalMemory
2026-04-14 15:47:26 +08:00
李通洲
3cc0e40e5a
Smbios: updates EMTF standard version
2026-04-13 09:38:47 +08:00
Carter Li
f6a363f7ad
Global: unifies GCC attributes usage
2026-04-09 20:02:04 +08:00
Carter Li
6cf403da7d
Global: renames smbiosHelper to smbios
2026-03-31 20:01:25 +08:00
李通洲
e0eba8ce21
Chore: run clang-format
...
```bash
find . -type f \( -name "*.c" -o -name "*.h" -o -name "*.cpp" -o -name "*.hpp" \) ! -path "src/3rdparty/*" -print0 | xargs -0 clang-format -i
```
2026-03-29 10:03:32 +08:00
李通洲
339de56407
PhysicalMemory (macOS): don't set runningSpeed
2026-03-24 15:17:40 +08:00
Carter Li
795bbde459
Smbios: improves robostness; adds maiformed SMBIOS data verification and more debug log
2026-03-24 15:12:21 +08:00
Carter Li
1b543b1eb8
PhysicalMemory: ignores custom SMBIOS entry
...
Fixes less memory devices are reported on certain devices
Found this issue on my old Intel MacBook Pro
2026-03-21 18:44:20 +08:00
Carter Li
1e234754c2
PhysicalMemory (Linux): adds option showEmptySlots to show empty memory slots
...
Fixes #2222
2026-03-11 22:33:32 +08:00
李通洲
3d84ad19be
macOS: uses MACH_PORT_NULL to maintain compatibility with older SDKs
...
Fixes #2140
2026-01-13 10:12:31 +08:00
Carter Li
d60b25e424
Refactor: renames src/util to src/common
2026-01-06 09:48:38 +08:00
李通洲
1e43e35857
Chore: merges common/* into util/*
2026-01-05 17:54:41 +08:00
李通洲
9c870a57f0
PhysicalMemory (macOS): improves performance on Apple Silicon
2025-12-27 15:58:56 +08:00
李通洲
0f5d321df8
Chore: updates comments to use English descriptions
2025-09-24 10:11:02 +08:00
李通洲
75d2c668d0
Modules: refactor module option handling for static allocation
...
Moves module option structs out of global config and removes dynamic allocation, using static buffers and size assertions for safer, simpler management.
Refactors module initialization and destruction to work with isolated option structs, eliminating the need for the previous modules container and related code.
Unifies module option header usage and updates detection logic to leverage statically-sized option buffers, improving encapsulation and maintainability.
Simplifies module function signatures and reduces coupling between modules and config.
Enhances future extensibility and reliability by enforcing max size constraints and removing unnecessary indirections.
2025-08-04 14:46:01 +08:00
Carter Li
abe78823b6
PhysicalMemory (Linux): code refactor
2025-04-01 09:43:37 +08:00
李通洲
2f3861e732
PhysicalMemory: clean up garbage data
2024-12-22 20:27:27 +08:00
Carter Li
bd5012edc8
PhysicalMemory: make sure to detect all memory devices
2024-07-31 11:13:04 +08:00
李通洲
3415d8197c
PhysicalMemory: don't print (null) in property locator
2024-07-05 11:01:04 +08:00
李通洲
2e1261bc21
PhysicalMemory: fix incorrect size value for large memory sticks
...
Fix #1061 (integer overflow)
2024-06-30 19:13:58 +08:00
李通洲
a6212c5b01
PhysicalMemory: add Ramaxel vendor id support
2024-05-14 14:11:12 +08:00
Null-Ping
c661e55053
PhysicalMemory: Fix ram vendor names from ids. ( #917 )
...
Change 0x0198 from HyperX to Kingston to match https://www.jedec.org/standards-documents/docs/jep-106ab . (The standard does not contain an entry for HyperX at all).
Remove the ambiguous 0x1315 - according to the standard, it belongs to Tioga Technologies and not Crucial.
Rename Hynix to SK Hynix to match the standard.
2024-05-13 22:20:27 +08:00
李通洲
56403bab5c
PhysicalMemory: try converting vendor ID to name
2024-05-13 20:29:46 +08:00
李通洲
df2862996b
PhysicalMemory: detect ecc & bank locator
2024-05-12 19:55:04 +08:00
李通洲
df6ab6427e
PhysicalMemory: improve default output format; detect part number
2024-05-12 19:15:03 +08:00
李通洲
d28907ee9d
PhysicalMemory (Linux): add support
...
Note: this module requires root permission to work in Linux
2024-05-11 18:05:30 +08:00
李通洲
41f0971570
PhysicalMemory: ignore trash values
2024-05-11 15:12:28 +08:00
李通洲
07747aa819
PhysicalMemory (macOS): add support
2024-05-11 15:05:43 +08:00
李通洲
68efcdd0dd
PhysicalMemory: add new module
2024-05-11 15:05:43 +08:00