blob: 69edd2070f651845ede1423a7956b58462f2ada2 [file]
// Copyright 2026 The Fuchsia Authors
//
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file or at
// https://opensource.org/licenses/MIT
//! FFI bindings for the platform device (pdev) power driver interface.
use zx_status::Status;
use super::power_cpu_on;
/// Powers on the CPU with the specified hardware ID.
#[unsafe(no_mangle)]
pub extern "C" fn rust_power_cpu_on(
hw_cpu_id: u64,
entry: u64,
context: u64,
) -> Result<(), Status> {
power_cpu_on(hw_cpu_id, entry, context)
}