#ryzen #cpu #msr #unsafe-bindings

libryzenadj-sys-alt

Low-level unsafe autogenerated bindings for the to libryzenadj. updated to v0.14

1 unstable release

0.14.0 Apr 1, 2024

#311 in FFI


Used in libryzenadj-alt

LGPL-3.0

310KB
4K SLoC

C 3.5K SLoC // 0.0% comments PowerShell 382 SLoC // 0.1% comments C++ 109 SLoC // 0.0% comments Python 104 SLoC // 0.0% comments Batch 49 SLoC Rust 28 SLoC // 0.1% comments

Contains (Windows DLL, 99KB) RyzenAdj/win32/inpoutx64.dll, (Windows DLL, 63KB) RyzenAdj/win32/WinRing0x64.dll, (static library, 16KB) RyzenAdj/win32/WinRing0x64.lib, (DOS exe, 15KB) RyzenAdj/win32/WinRing0x64.sys, (static library, 6KB) RyzenAdj/win32/inpoutx64.lib

libryzenadj-sys

This crate provides auto-generated unsafe Rust bindings, through bindgen, to C functions provided by ryzenadj, C interface for adjusting various settings in Ryzen CPU-s.

This crate should be used by most devs through the safe bindings provieded by [libryzenadj]https://crates.io/crates/libryzenadj

WARNING: Use at your own risk!

Adjusting values provided by that lib can lead to system instabilty/crashes or even break you hardware

No runtime deps

~0–2.2MB
~43K SLoC