platform/vfs.c: Add filesystem path redirectors

This commit is contained in:
Tau
2019-05-17 23:11:51 -04:00
parent 5722061cbf
commit a74a5de128
4 changed files with 233 additions and 0 deletions

View File

@ -7,6 +7,7 @@
#include "platform/hwmon.h"
#include "platform/nusec.h"
#include "platform/platform.h"
#include "platform/vfs.h"
HRESULT platform_hook_init_nu(
const struct nu_config *cfg,
@ -39,5 +40,11 @@ HRESULT platform_hook_init_nu(
return hr;
}
hr = vfs_hook_init(&cfg->vfs);
if (FAILED(hr)) {
return hr;
}
return S_OK;
}