[Kernel] Add support for XFileEndOfFileInformation.

This commit is contained in:
gibbed
2018-05-23 04:24:37 -05:00
parent 19f93304c7
commit bc369e43cb
11 changed files with 45 additions and 2 deletions

View File

@@ -147,6 +147,8 @@ X_STATUS XFile::Write(const void* buffer, size_t buffer_length,
return result;
}
X_STATUS XFile::SetLength(size_t length) { return file_->SetLength(length); }
void XFile::RegisterIOCompletionPort(uint32_t key,
object_ref<XIOCompletion> port) {
std::lock_guard<std::mutex> lock(completion_port_lock_);