#msr #cpu #ryzen #unsafe-bindings

sys libryzenadj-sys

Low-level unsafe autogenerated bindings for the to libryzenadj

5 releases (3 breaking)

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

#615 in Operating systems

Download history 14/week @ 2024-08-05 12/week @ 2024-09-23 2/week @ 2024-09-30 7/week @ 2024-10-14 72/week @ 2024-10-21 56/week @ 2024-10-28

135 downloads per month
Used in libryzenadj

LGPL-3.0

315KB
4.5K SLoC

C 3.5K SLoC // 0.0% comments PowerShell 383 SLoC // 0.1% comments C++ 109 SLoC // 0.0% comments Python 104 SLoC // 0.0% comments Batch 49 SLoC Rust 32 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

Dependencies

~0–2.3MB
~46K SLoC