setup basic file structure
This commit is contained in:
7
abi/Cargo.toml
Normal file
7
abi/Cargo.toml
Normal file
@@ -0,0 +1,7 @@
|
||||
[package]
|
||||
name = "abi"
|
||||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
shared = { path = "../shared" }
|
||||
9
abi/src/lib.rs
Normal file
9
abi/src/lib.rs
Normal file
@@ -0,0 +1,9 @@
|
||||
#![no_std]
|
||||
|
||||
use core::ffi::c_void;
|
||||
use shared::keyboard::{KeyCode, KeyEvent, KeyState, Modifiers};
|
||||
|
||||
#[repr(C)]
|
||||
pub enum Syscall {
|
||||
DrawPixels { x: u32, y: u32, color: u32 },
|
||||
}
|
||||
Reference in New Issue
Block a user