[VictoriaFalls] Add a VFS yunq stub and register it.
This commit is contained in:
parent
f815eb5614
commit
48c7721b0f
11 changed files with 473 additions and 1 deletions
14
sys/victoriafalls/victoriafalls_server.cpp
Normal file
14
sys/victoriafalls/victoriafalls_server.cpp
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
#include "victoriafalls_server.h"
|
||||
|
||||
#include <zcall.h>
|
||||
|
||||
glcr::ErrorOr<glcr::UniquePtr<VFSServer>> VFSServer::Create() {
|
||||
z_cap_t endpoint_cap;
|
||||
RET_ERR(ZEndpointCreate(&endpoint_cap));
|
||||
return glcr::UniquePtr<VFSServer>(new VFSServer(endpoint_cap));
|
||||
}
|
||||
|
||||
glcr::ErrorCode VFSServer::HandleOpenFile(const OpenFileRequest&,
|
||||
OpenFileResponse&) {
|
||||
return glcr::OK;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue