Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update some FS classes for system version 13.1.0 #227

Merged
merged 34 commits into from
Jan 11, 2022
Merged

Conversation

Thealexbarney
Copy link
Owner

Updated:

  • Fs.DirectoryPathParser
  • Fs.FileHandleStorage
  • Fs.FileStorage
  • Fs.FileStorageBasedFileSystem
  • Fs.PathFormatter
  • Fs.PathNormalizer
  • Fs.PathUtility
  • Fs.Path
  • Fs.WindowsPath
  • Fs.Fsa.MountUtility
  • Fs.Fsa.Registrar
  • Fs.Fsa.UserDirectory
  • Fs.Fsa.UserFile
  • Fs.Fsa.UserFileSystem
  • Fs.Fsa.UserFileSystemPrivate
  • Fs.Fsa.UserMountTable
  • Fs.Impl.DirectoryAccessor
  • Fs.Impl.FileAccessor
  • Fs.Impl.FileDataCacheAccessor
  • Fs.Impl.FileSystemAccessor
  • Fs.Impl.IFileDataCache
  • Fs.Impl.MountTable
  • FsSrv.Impl.FileSystemInterfaceAdapter
  • FsSystem.BufferedStorage
  • FsSystem.ConcatenationFileSystem
  • FsSystem.FileSystemBufferManager

Added:

  • Fs.Range
  • Fs.Fsa.UserFileSystemForDebug
  • Fs.Impl.GlobalFileDataCacheAccessorReadableScopedPointer
  • Fs.Shim.FileDataCache partially
  • Fs.Shim.PathBasedFileDataCache skeleton
  • FsSystem.CompressedStorage skeleton
  • FsSystem.DefaultAsynchronousAccessSplitter
  • FsSystem.IAsynchronousAccessSplitter
  • FsSystem.Impl.BlockCacheManager
  • Util.Utf8StringUtil

Change the way some structs are laid out so that they don't use LayoutKind.Explicit. The ArrayN<T> types are now used for structs containing inline arrays.
The offsets of all fields in structs where layout matters are now documented in the LibHac.Tests project inside tests that make sure struct layouts are correct.

- Experiment with using Catch/Handle/Rethrow for logging Results
- Try adding a new Ret function for logging results
- Misc tweaks
- FileSystemAccessor
- FileAccessor
- DirectoryAccessor
- MountTable
- UserMountTable
- FileDataCacheAccessor
- IFileDataCache
- GlobalFileDataCacheAccessorReadableScopedPointer
- FileDataCache shim functions
- PathBasedFileDataCache shim functions
Stop using LayoutKind.Explicit and the Size parameter of StructLayout
Boot:
- EncryptedKeyBlob
- KeyBlob
- Package1MarikoOemHeader
- Package1MetaData
- Package1Stage1Footer
- Package1Pk11Header
- Package2Header
- Package2Meta

Fs:
- ApplicationInfo
- CodeVerificationData
- DirectoryEntry
- EncryptionSeed
- FileSystemProxyErrorInfo
- StorageErrorInfo
- FileTimeStamp
- FileTimeStampRaw
- ProgramIndexMapInfo
- QueryRangeInfo
- RightsId
@Thealexbarney Thealexbarney merged commit e0deb7e into master Jan 11, 2022
@Thealexbarney Thealexbarney deleted the fs-stuff branch January 11, 2022 20:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant