Fix build after removing a bunch of stuff.

This commit is contained in:
Drew Galbraith 2025-05-05 21:04:42 -07:00
parent dc801786b1
commit c645405ca8
7 changed files with 55 additions and 6 deletions

View file

@ -1,7 +1,7 @@
use std::fs;
fn main() {
let input_file = "../../../sys/denali/lib/denali/denali.yunq";
let input_file = "denali.yunq";
println!("cargo::rerun-if-changed={input_file}");

View file

@ -0,0 +1,28 @@
interface Denali {
method Read(ReadRequest) -> (ReadResponse);
method ReadMany(ReadManyRequest) -> (ReadResponse);
}
message DiskBlock {
u64 lba;
u64 size;
}
message ReadRequest {
u64 device_id;
DiskBlock block;
}
message ReadManyRequest {
u64 device_id;
repeated DiskBlock blocks;
}
message ReadResponse {
u64 device_id;
u64 size;
capability memory;
}

View file

@ -1,7 +1,7 @@
use std::fs;
fn main() {
let input_file = "../../../sys/victoriafalls/lib/victoriafalls/victoriafalls.yunq";
let input_file = "victoriafalls.yunq";
println!("cargo::rerun-if-changed={input_file}");

View file

@ -0,0 +1,24 @@
interface VFS {
method OpenFile(OpenFileRequest) -> (OpenFileResponse);
method GetDirectory(GetDirectoryRequest) -> (Directory);
}
message OpenFileRequest {
string path;
}
message OpenFileResponse {
string path;
u64 size;
capability memory;
}
message GetDirectoryRequest {
string path;
}
message Directory {
// , separated list of filenames until we have repeated strings.
string filenames;
}