Rust XHCI scaffolding
This commit is contained in:
parent
1a48911745
commit
b9cd550a63
13 changed files with 59 additions and 31 deletions
|
|
@ -6,5 +6,5 @@ edition = "2021"
|
|||
[dependencies]
|
||||
mammoth = { path = "../../lib/mammoth" }
|
||||
victoriafalls = { path = "../victoriafalls" }
|
||||
voyageurs = { path = "../../lib/voyageurs" }
|
||||
voyageurs_client = { path = "../../lib/client/voyageurs_client/" }
|
||||
yellowstone-yunq = { path = "../../lib/yellowstone" }
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ mod psf;
|
|||
mod terminal;
|
||||
|
||||
use mammoth::{debug, define_entry, zion::z_err_t};
|
||||
use voyageurs::listener;
|
||||
use voyageurs_client::listener;
|
||||
|
||||
define_entry!();
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ use alloc::{
|
|||
string::{String, ToString},
|
||||
};
|
||||
use victoriafalls::dir;
|
||||
use voyageurs::listener::KeyboardHandler;
|
||||
use voyageurs_client::listener::KeyboardHandler;
|
||||
|
||||
pub struct Terminal {
|
||||
console: Console,
|
||||
|
|
|
|||
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
|
||||
}
|
||||
|
|
@ -7,6 +7,5 @@ edition = "2021"
|
|||
mammoth = { path = "../../lib/mammoth" }
|
||||
denali_client = { path = "../../lib/client/denali_client" }
|
||||
victoriafalls = { path = "../victoriafalls" }
|
||||
voyageurs = { path = "../../lib/voyageurs" }
|
||||
yellowstone-yunq = { path = "../../lib/yellowstone" }
|
||||
yunq = { path = "../../lib/yunq" }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue