#ryzen #msr #cpu #unsafe-bindings

sys libryzenadj-sys

Low-level unsafe autogenerated bindings for the to libryzenadj

4 releases (2 breaking)

0.13.0 Aug 13, 2023
0.12.0 Feb 11, 2023
0.11.2 Oct 1, 2022
0.11.1 Sep 28, 2022

#646 in Operating systems


Used in libryzenadj

LGPL-3.0

310KB
4K SLoC

C 3.5K SLoC // 0.0% comments PowerShell 371 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.1MB
~42K SLoC