Rust XHCI scaffolding
This commit is contained in:
parent
1a48911745
commit
b9cd550a63
13 changed files with 59 additions and 31 deletions
7
rust/sys/voyageurs/Cargo.toml
Normal file
7
rust/sys/voyageurs/Cargo.toml
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
[package]
|
||||
name = "voyageurs"
|
||||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
mammoth = { path = "../../lib/mammoth/" }
|
||||
14
rust/sys/voyageurs/src/main.rs
Normal file
14
rust/sys/voyageurs/src/main.rs
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
#![no_std]
|
||||
#![no_main]
|
||||
|
||||
extern crate alloc;
|
||||
|
||||
use mammoth::{debug, define_entry, zion::z_err_t};
|
||||
|
||||
define_entry!();
|
||||
|
||||
#[unsafe(no_mangle)]
|
||||
extern "C" fn main() -> z_err_t {
|
||||
debug!("In Voyageurs");
|
||||
0
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue