fs.mitm: Implement basic boot0 protection against writes/pubk writes.

This commit is contained in:
Michael Scire
2018-11-15 03:57:55 -08:00
parent 878ac59aae
commit 05187502b3
4 changed files with 101 additions and 35 deletions

View File

@@ -61,7 +61,6 @@ class IStorageInterface : public IServiceObject {
};
virtual Result Write(InBuffer<u8, BufferType_Type1> buffer, u64 offset, u64 size) final {
return this->base_storage->Write(buffer.buffer, std::min(buffer.num_elements, size), offset);
};
virtual Result Flush() final {
return this->base_storage->Flush();