Fix build after removing a bunch of stuff.
This commit is contained in:
parent
dc801786b1
commit
c645405ca8
|
@ -17,7 +17,6 @@ target_include_directories(mammoth
|
||||||
|
|
||||||
target_link_libraries(mammoth
|
target_link_libraries(mammoth
|
||||||
glacier
|
glacier
|
||||||
victoriafalls_yunq
|
|
||||||
yellowstone_yunq
|
yellowstone_yunq
|
||||||
voyageurs_yunq
|
voyageurs_yunq
|
||||||
zion_stub
|
zion_stub
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
use std::fs;
|
use std::fs;
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
let input_file = "../../../../sys/denali/lib/denali/denali.yunq";
|
let input_file = "../../../sys/denali/denali.yunq";
|
||||||
|
|
||||||
println!("cargo::rerun-if-changed={input_file}");
|
println!("cargo::rerun-if-changed={input_file}");
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
use std::fs;
|
use std::fs;
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
let input_file = "../../../sys/denali/lib/denali/denali.yunq";
|
let input_file = "denali.yunq";
|
||||||
|
|
||||||
println!("cargo::rerun-if-changed={input_file}");
|
println!("cargo::rerun-if-changed={input_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;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
use std::fs;
|
use std::fs;
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
let input_file = "../../../sys/victoriafalls/lib/victoriafalls/victoriafalls.yunq";
|
let input_file = "victoriafalls.yunq";
|
||||||
|
|
||||||
println!("cargo::rerun-if-changed={input_file}");
|
println!("cargo::rerun-if-changed={input_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;
|
||||||
|
}
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
set(CMAKE_SHARED_LIBRARY_LINK_CXX_FLAGS "")
|
set(CMAKE_SHARED_LIBRARY_LINK_CXX_FLAGS "")
|
||||||
|
|
||||||
add_subdirectory(denali)
|
|
||||||
add_subdirectory(victoriafalls)
|
|
||||||
add_subdirectory(voyageurs)
|
add_subdirectory(voyageurs)
|
||||||
add_subdirectory(yellowstone)
|
add_subdirectory(yellowstone)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue