MatiOS_SDK/syscalls/process/
current_process_info_v1.rs1use crate::syscalls::SyscallRequest;
2use crate::uuid::Uuid;
3use alloc::boxed::Box;
4use alloc::string::String;
5pub struct CurrentProcessInfoV1Request {}
6#[repr(C)]
7pub struct CurrentProcessInfoV1Response {
8 pub uuid: Uuid,
9 pub name: String,
10}
11
12impl CurrentProcessInfoV1Request {
13 pub fn create() -> Box<SyscallRequest<Self>> {
14 Box::new(SyscallRequest {
15 size: size_of::<Self>(),
16 uuid: crate::uuid::Uuid::parse_str("6ac0d646-72dc-4fe4-9fdc-f944f1a61491")
17 .unwrap(),
18 payload: Self {},
19 })
20 }
21}