Gliniak
74b52711a3
[Kernel] Added Support For: XFileRenameInformation
2024-01-29 22:03:58 +01:00
Joel Linn
986dcf4f65
[Base] Check success of sync primitive creation
...
- Mainly use `assert`s, since failure is very rare
- Forward failure of `CreateSemaphore` to guests because it is more easy
to trigger with invalid initial parameters.
2022-03-08 12:17:57 -06:00
emoose
4b13ecb752
[Kernel] Implement NtReadFileScatter via adding XFile::ReadScatter
2021-01-03 13:50:34 -06:00
emoose
0400eba274
[Kernel] XFile::Read: add notify_completion param to allow disabling XIOCompletion
2021-01-03 13:50:34 -06:00
Gliniak
06ab8589b4
[Kernel/IO] Return error creating dir as non-dir.
...
[Kernel/IO] Return error when creating directory with non-directory
flag in NtCreateFile.
2020-12-06 17:07:34 -06:00
gibbed
164aa8e8ca
[Kernel] Scope object type enum.
2020-11-22 20:34:07 -06:00
Gliniak
a6868d1f8a
[Memory] Removed redundant BaseHeap::IsGuestPhysicalHeap
2020-11-22 15:43:53 -06:00
gibbed
1c2d6753bb
[Kernel/VFS] Specify root entry to open from + cleanup.
...
[VFS] Allow specifying root entry to open from with OpenFile.
[Kernel] NtCreateFile now opens from root entry when available instead
of needlessly building a full path and resolving from that.
[VFS] Reduce code duplication by adding Entry::ResolvePath.
[VFS] Remove ResolveBasePath to avoid multiple calls to find_base_guest_path.
2020-04-20 01:14:07 -05:00
gibbed
a48bb71c2f
Overhaul logging.
2020-04-07 16:09:41 -05:00
gibbed
5bf0b34445
C++17ification.
...
C++17ification!
- Filesystem interaction now uses std::filesystem::path.
- Usage of const char*, std::string have been changed to
std::string_view where appropriate.
- Usage of printf-style functions changed to use fmt.
2020-04-07 16:09:41 -05:00
Triang3l
cf99696e79
[Kernel] Fix incorrect TranslatePhysical usage in XFile
2020-02-23 14:51:49 +03:00
Triang3l
1e9f999b37
[Kernel] Add xe:: in XFile::Read for consistency
2020-02-22 18:10:25 +03:00
Triang3l
f858631245
[Kernel] Trigger memory callbacks after file read
2020-02-22 18:06:56 +03:00
gibbed
7c7d80103e
[Kernel] Use type constant instead of type enum when calling base constructor.
2019-07-29 13:53:44 -05:00
gibbed
bf989f0aae
[Kernel/VFS] Maybe fix creation of directories. See #1403 .
2019-07-18 17:15:57 -05:00
gibbed
bc369e43cb
[Kernel] Add support for XFileEndOfFileInformation.
2018-05-23 04:24:37 -05:00
gibbed
ff1a3aaa67
Corrected QueryDirectory return code for no more files.
2017-08-09 01:16:42 -05:00
Dr. Chat
2a590f31fe
XFile: Track asynchronous/synchronous flag (and return appropriately in nt Read/Write file)
2015-12-30 17:36:05 -06:00
Dr. Chat
5c94062110
XFile setup async_event_ in the restore constructor
2015-12-29 13:10:00 -08:00
Dr. Chat
366f91e191
XFile Save/Restore
2015-12-29 13:09:51 -08:00
Dr. Chat
bcacb9b127
Remove vfs dependency on kernel, implement I/O completion ports
2015-12-29 13:09:50 -08:00
Ben Vanik
e5fbf840d2
Shuffling kernel/.
2015-09-06 18:07:52 -07:00