add/update gui user apps/libs

This commit is contained in:
Yu Chen 2022-06-18 17:57:54 +08:00
parent 093db48d04
commit b7b8ffb1d6
3 changed files with 25 additions and 1 deletions

19
user/src/bin/gui.rs Normal file
View file

@ -0,0 +1,19 @@
#![no_std]
#![no_main]
use user_lib::create_desktop;
#[macro_use]
extern crate user_lib;
#[no_mangle]
pub fn main() -> i32 {
println!("gui");
create_desktop();
println!("exit pass.");
loop{}
0
}