Re: [RFC PATCH V2 4/8] rust: Add initial bindings for cpufreq framework

From: Manos Pitsidianakis
Date: Mon Jun 17 2024 - 05:32:36 EST


On Fri, 07 Jun 2024 12:12, Viresh Kumar <viresh.kumar@xxxxxxxxxx> wrote:
This commit adds initial Rust bindings for the cpufreq core. This adds
basic bindings for cpufreq flags, relations and cpufreq table.

Signed-off-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>
---
rust/bindings/bindings_helper.h | 1 +
rust/helpers.c | 15 ++
rust/kernel/cpufreq.rs | 251 ++++++++++++++++++++++++++++++++
rust/kernel/lib.rs | 2 +
4 files changed, 269 insertions(+)
create mode 100644 rust/kernel/cpufreq.rs


Reviewed-by: Manos Pitsidianakis <manos.pitsidianakis@xxxxxxxxxx>