Michael Scire
e20c2450ce
htc: declare and begin impl of HtclowManagerImpl interface
2021-02-24 04:06:54 -08:00
Michael Scire
4cb6c63516
htc: implement HtclowDriver
2021-02-24 04:06:54 -08:00
Michael Scire
4ed665bcd3
htc: implement remaining worker thread send logic (for channel mux)
2021-02-24 04:06:54 -08:00
Michael Scire
2cdfde6637
htc: add remaining worker receive thread logic
2021-02-24 04:06:54 -08:00
Michael Scire
679fec2ddc
htc: implement much of worker receive logic
2021-02-24 04:06:54 -08:00
Michael Scire
2341f18edd
htc: implement htclow listener thread
2021-02-24 04:06:54 -08:00
Michael Scire
c59388caf1
htc: implement complete usb driver
2021-02-24 04:06:54 -08:00
Michael Scire
c878123274
htc: implement (fixing linker errors) through HtclowManagerImpl::OpenDriver
2021-02-24 04:06:54 -08:00
Michael Scire
13b17a5848
usb: add ds client api
2021-02-07 16:29:38 -08:00
Michael Scire
f06de12bea
libstrat: convert to experimental new (super-accurate) sf allocation semantics
2021-01-20 23:39:31 -08:00
Michael Scire
8ac8abf295
os: implement 11.x SdkReplyAndReceive
2021-01-12 18:18:39 -08:00
Michael Scire
6da28f4a27
erpt: update for 11.0.0 ( closes #1218 )
2020-12-03 11:13:35 -08:00
Michael Scire
694e3b579e
pgl: update for 11.0.0
2020-12-02 06:43:37 -08:00
Michael Scire
ad6dd60474
result: update for accurate ::Includes
2020-12-02 06:43:37 -08:00
Michael Scire
5382011b0d
exo/mariko fatal: print descriptor for fatal error report
2020-11-22 10:28:23 -08:00
Michael Scire
4d1c4f1677
dd: implement DeviceAddressSpaceType api
2020-11-14 03:37:51 -08:00
Michael Scire
485304bd17
powctl: implement client api (needs board-specific impl)
2020-11-14 03:37:51 -08:00
Michael Scire
3d31837ca1
pwm: implement driver for boot sysmodule
2020-11-14 03:37:51 -08:00
Michael Scire
35552bac2c
gpio: add missing driver functions for boot
2020-11-14 03:37:51 -08:00
Michael Scire
323e893433
i2c: implement remaining required driver logic
2020-11-14 03:37:51 -08:00
Michael Scire
258cfb62a2
i2c: command list format, get boot down to linker errors
2020-11-14 03:37:51 -08:00
Michael Scire
09f3b29a98
i2c: finish I2cBusAccessor
2020-11-14 03:37:51 -08:00
Michael Scire
bd3ab76fd2
gpio: implement more of server library for boot sysmodule client usage
2020-11-14 03:37:51 -08:00
Michael Scire
ddf2f5f3c5
ddsf: implement namespace
2020-11-14 03:37:51 -08:00
SciresM
166318ba77
sdmmc: implement driver suitable for fs + bootloader
...
* sdmmc: begin skeletoning sdmmc driver
* sdmmc: add most of SdHostStandardController
* sdmmc: implement most of SdmmcController
* sdmmc: Sdmmc2Controller
* sdmmc: skeleton implementation of Sdmmc1Controller
* sdmmc: complete abstract logic for Sdmmc1 power controller
* sdmmc: implement gpio handling for sdmmc1-register-control
* sdmmc: implement pinmux handling for sdmmc1-register-control
* sdmmc: fix building for arm32 and in stratosphere context
* sdmmc: implement voltage enable/set for sdmmc1-register-control
* util: move T(V)SNPrintf from kernel to util
* sdmmc: implement BaseDeviceAccessor
* sdmmc: implement MmcDeviceAccessor
* sdmmc: implement clock reset controller for register api
* sdmmc: fix bug in WaitWhileCommandInhibit, add mmc accessors
* exo: add sdmmc test program
* sdmmc: fix speed mode extension, add CheckMmcConnection for debug
* sdmmc: add DeviceDetector, gpio: implement client api
* gpio: modernize client api instead of doing it the lazy way
* sdmmc: SdCardDeviceAccessor impl
* sdmmc: update test program to read first two sectors of sd card
* sdmmc: fix vref sel
* sdmmc: finish outward-facing api (untested)
* ams: changes for libvapours including tegra register defs
* sdmmc: remove hwinit
2020-10-30 11:54:30 -07:00
Michael Scire
b7d99b732a
ro: rename ModuleType to reflect reality
2020-09-08 15:05:15 -07:00
Michael Scire
657470830f
loader: support MapRegion capability as an atmosphere extension (normally kips-only)
2020-09-07 10:43:35 -07:00
Michael Scire
73798cb812
kern: build with -Wextra
2020-08-17 14:20:24 -07:00
Michael Scire
5c4fbf5c67
kern SvcGetDebugThreadContext, SvcSetDebugThreadContext
2020-07-31 14:50:52 -07:00
Michael Scire
3afd723b92
kern: SvcGetDebugThreadParam
2020-07-31 14:50:52 -07:00
Michael Scire
b143f1e05f
kern: Svc(Legacy)ContinueDebugEvent
2020-07-31 14:50:52 -07:00
Michael Scire
51084c0837
kern: SvcGetLastThreadInfo, SvcGetDebugFutureThreadInfo
2020-07-31 14:50:52 -07:00
Michael Scire
840ab0785c
kern: SvcMapPhysicalMemoryUnsafe, SvcUnmapPhysicalMemoryUnsafe
2020-07-31 14:50:52 -07:00
Michael Scire
36eb78a3ce
kern: implement SvcDebugActiveProcess, svcGetDebugEvent, SvcWaitProcessWideKeyAtomic
2020-07-31 14:50:52 -07:00
Michael Scire
0d3aa13f70
kern: add infra (but not impl) for all DeviceAddressSpace svcs
2020-07-31 14:50:52 -07:00
SciresM
9fde97cfdd
sf: Change interface definition methodology ( #1074 )
...
* sf: Begin experimenting with new interface declaration format
* sf: convert fs interfaces to new format
* sf: finish conversion of libstrat to new definitions
* sf: convert loader to new format
* sf: convert spl to new format
* sf: update ncm for new format
* sf: convert pm to new format
* sf: convert ro/sm to new format
* sf: update fatal for new format
* sf: support building dmnt under new scheme
* sf: update ams.mitm for new format
* sf: correct invocation def for pointer holder
* fs: correct 10.x+ user bindings for Get*SpaceSize
2020-07-07 17:07:23 -07:00
Michael Scire
e2b17086d4
fs: implement AccessLog, enable for File operations
2020-07-02 14:02:50 -07:00
Michael Scire
73a6aeed15
sysupdater: implement (untested) rest of the api
2020-06-28 01:46:51 -07:00
Michael Scire
f223c27bb0
sysupdater: Add ValidateUpdate, begin implementing Async logic
2020-06-28 01:46:51 -07:00
Michael Scire
a6218ed814
sysupdater: implement content meta mounting
2020-06-28 01:46:51 -07:00
Michael Scire
f215da3b37
fs: miscellaneous bucket tree fixes
2020-05-19 09:48:44 -07:00
SciresM
81f91803ec
Implement support for parsing/interacting with NCAs. ( #942 )
...
* fs: implement support for interacting with ncas.
* spl: extend to use virtual keyslots
2020-05-11 15:04:51 -07:00
Michael Scire
2dfe5b192e
result: add R_CATCH_MODULE
2020-04-27 10:33:51 -07:00
Michael Scire
6eb77e69c4
refactor jpegdec implementation into libstrat (thanks again, Behemoth!)
2020-04-20 04:37:08 -07:00
HookedBehemoth
90d754f920
jpegdec reimplementation ( #912 )
...
* add jpegdec reimplementation
* reduce work memory
* fix color space
* jpegdec: cleanup results to use atmosphere style
* fix outdated comments, correct do/while bug
Co-authored-by: Michael Scire <SciresM@gmail.com>
2020-04-20 02:07:37 -07:00
SciresM
98cc051387
pgl: Reimplement the pgl sysmodule ( #896 )
...
* pgl: add skeleton folder to stratosphere
* pgl: Add service interface for IShellInterface
* pgl: begin skeletoning shell service, implement two commands.
* pgl: Implement three more commands.
* pgl: implement bool tracking commands
* pgl: Implement TriggerApplicationSnapShotDumper
* pgl: implement InitializeProcessControlTask
* pgl: Implement pgl::srv::Initialize
* pgl: Implement main()
* pgl: Implement (Get)ShellEventObserver
* pgl: implement LaunchProgramFromHost, GetHostContentMetaInfo
* pgl: Implement ProcessControlTask
* settings: fix duplicate object name
* pgl: fix minor bugs in impl
2020-04-16 19:55:47 -07:00
Michael Scire
73552c86c3
loader: update for 10.0.0
2020-04-14 02:45:28 -07:00
SciresM
79b9e07ee9
erpt: reimplement the sysmodule ( #875 )
...
* erpt: reimplement the sysmodule
* fatal: update for latest bindings
* erpt: amend logic for culling orphan attachments
2020-04-13 17:07:37 -07:00
Michael Scire
d98490d339
fs: Implement AesXtsStorage
2020-04-06 05:44:33 -07:00
Michael Scire
b2e86f5a1b
fs: correct error result in AesCtrStorage
2020-04-06 04:56:49 -07:00
Michael Scire
0e9974e7b3
fs: add AesCtrStorage
2020-04-06 03:58:52 -07:00
Michael Scire
50a91b1d6e
fs: implement system heap
2020-04-06 03:15:33 -07:00
Michael Scire
8d1ada2a1b
fssystem: add RomFsFileSystem
2020-04-04 02:37:21 -07:00
Adubbz
a50d6a2696
NCM client implementation ( #858 )
...
* ncm: Implement InstallTaskDataBase and FileInstallTaskData
* ncm: minor bugfixes
* ncm: Implemented MemoryInstallTaskData
* ncm: more std
* ncm: begin implementing install task base
* ncm: move protected funcs
* ncm: fix recursive include
* ncm: more install task progress
* ncm install task: implement IncrementProgress and update UpdateThroughputMeasurement
* ncm: more work
* ncm client: more progress
* ncm client: more progress
* ncm client: finish implementing GetContentMetaInfoList
* ncm client: more progress
* ncm client: finished InstallTaskBase
* ncm client: implement PackageInstallTaskBase
* ncm client: fixes
* ncm: improve accuracy
* ncm client: implement PackageInstallTask
* ncm client: implement PackageSystemUpdateTask
* ncm client: minor name tweaks
* ncm client: implement SubmissionPackageInstallTask
* ncm client: add missing this to SubmissionPackageInstallTask
* ncm client: add missing nullptr check to SubmissionPackageInstallTask destructor
* ncm client: SubmissionPackageInstallTask fixes
* ncm: fix forward declarations
* ncm client: added simplified funcs
* ncm: cleanup client code
* ncm: fix bug introduced by cleanup
* ncm: fix typo
* ncm: implement correct ReadVariationContentMetaInfoList behavior
* ncm: correct InstallContentMetaWriter ctor
* ncm: correct conversion of content meta header types
Co-authored-by: Michael Scire <SciresM@gmail.com>
2020-04-03 22:40:46 -07:00
Michael Scire
7fc1e86bf5
stratosphere: fix building with latest libnx
2020-03-29 15:24:40 -07:00
Michael Scire
0545eb18c0
fs: add MountImageDirectory
2020-03-27 16:59:27 -07:00
Adubbz
0c161a4c1b
fs: implement FileHandleStorage ( #857 )
...
* fs: implement FileHandleStorage
* fs: merge FileHandleStorage into file_storage TU
Co-authored-by: Michael Scire <SciresM@gmail.com>
2020-03-27 11:45:02 -07:00
Adubbz
3d518759da
fssystem: Implement PartitionFileSystemCore ( #856 )
...
* fssystem: implement PartitionFileSystemMetaCore
* fssystem: PartitionFileSystemMetaCore cleanup
* fs: add IFile::DryWrite, update results
* fssystem: implement PartitionFileSystemCore
* fssystem: cleanup PartitionFileSystemCore
* fssystem: implement Sha256PartitionFileSystem
Co-authored-by: Michael Scire <SciresM@gmail.com>
2020-03-27 03:40:52 -07:00
Michael Scire
92e7a3ca08
fs: add MountDeviceSaveData
2020-03-18 20:05:39 -07:00
Michael Scire
237b513408
loader: refactor to use fs bindings
2020-03-09 03:10:12 -07:00
Adubbz
c7026b9094
Implement the NCM sysmodule ( closes #91 )
...
* Implement NCM
* Modernize ncm_main
* Remove unnecessary smExit
* Give access to svcCallSecureMonitor
* Stack size bump
* Fix incorrect setup for NandUser's content storage entry
* Fix a potential data abort when flushing the placeholder accessor cache
* Fix HasFile and HasDirectory
* Use r+b, not w+b
* Misc fixes
* errno begone
* Fixed more stdio error handling
* More main fixes
* Various command improvements
* Make dispatch tables great again
* Fix logic inversion
* Fixed content path generation
* Bump heap size, fix CleanupAllPlaceHolder
* Various fixes. Note: This contains debug stuff which will be removed later. I was getting tired of having to cherrypick tiny changes
* Fixed placeholder/content deletion
* Fixed incorrect content manager destruction
* Prevent automatic placeholder creation on open
* Fixed List implementation. Also lots of debug logging.
* Removed debug code
* Added a scope guard for WritePlaceHolder
* Manually prevent placeholder/content appending
* Revert "Removed debug code"
This reverts commit d6ff261fcc
.
* Always cache placeholder file. Switch to ftell for preventing appending
* Universally use EnsureEnabled
* Abstract away file writing logic
* Misc cleanup
* Refactor placeholder cacheing
* Remove debug code (again)
* Revert "Remove debug code (again)"
This reverts commit 168447d80e
.
* Misc changes
* Fixed file modes
* Fixed ContentId/PlaceHolderId alignment
* Improved type safety
* Fixed reinitialization
* Fixed doubleup on path creation
* Remove debug code
* Fixed 1.0.0 booting
* Correct amount of add on content
* Correct main thread stack size
* lr: Introducing registered data
* Reorder stratosphere Makefile
* Move results to libstrat
* lr: Cleanup lr_redirection
* lr: lr_manager tweaks
* lr: Imrpoved path handling and adjust ResolveAddOnContentPath order
* lr: Organise types
* Add eof newlines
* lr: Eliminate unnecessary vars
* lr: Unnecessary vars 2 electric boogaloo
* lr: Various helpers
* lr: RegisteredLocationResolver helpers
* ncm: Move ncm_types to libstrat
* ncm: Misc cleanup
* Implement NCM
* Modernize ncm_main
* Remove unnecessary smExit
* Give access to svcCallSecureMonitor
* Stack size bump
* Fix incorrect setup for NandUser's content storage entry
* Fix a potential data abort when flushing the placeholder accessor cache
* Fix HasFile and HasDirectory
* Use r+b, not w+b
* Misc fixes
* errno begone
* Fixed more stdio error handling
* More main fixes
* Various command improvements
* Make dispatch tables great again
* Fix logic inversion
* Fixed content path generation
* Bump heap size, fix CleanupAllPlaceHolder
* Various fixes. Note: This contains debug stuff which will be removed later. I was getting tired of having to cherrypick tiny changes
* Fixed placeholder/content deletion
* Fixed incorrect content manager destruction
* Prevent automatic placeholder creation on open
* Fixed List implementation. Also lots of debug logging.
* Removed debug code
* Added a scope guard for WritePlaceHolder
* Manually prevent placeholder/content appending
* Revert "Removed debug code"
This reverts commit d6ff261fcc
.
* Always cache placeholder file. Switch to ftell for preventing appending
* Universally use EnsureEnabled
* Abstract away file writing logic
* Misc cleanup
* Refactor placeholder cacheing
* Remove debug code (again)
* Revert "Remove debug code (again)"
This reverts commit 168447d80e
.
* Misc changes
* Fixed file modes
* Fixed ContentId/PlaceHolderId alignment
* Improved type safety
* Fixed reinitialization
* Fixed doubleup on path creation
* Remove debug code
* Fixed 1.0.0 booting
* Correct amount of add on content
* Correct main thread stack size
* lr: Introducing registered data
* Reorder stratosphere Makefile
* Move results to libstrat
* lr: Cleanup lr_redirection
* lr: lr_manager tweaks
* lr: Imrpoved path handling and adjust ResolveAddOnContentPath order
* lr: Organise types
* Add eof newlines
* lr: Eliminate unnecessary vars
* lr: Unnecessary vars 2 electric boogaloo
* lr: Various helpers
* lr: RegisteredLocationResolver helpers
* ncm: Move ncm_types to libstrat
* ncm: Misc cleanup
* Updated AddOnContentLocationResolver and RegisteredLocationResolver to 9.0.0
* Finished updating lr to 9.0.0
* Updated NCM to 9.0.0
* Fix libstrat includes
* Fixed application launching
* title_id_2 -> owner_tid
* Updated to new-ipc
* Change to using pure virtuals
* Title Id -> Program Id
* Fixed compilation against master
* std::scoped_lock<> -> std::scoped_lock
* Adopted R_UNLESS and R_CONVERT
* Prefix namespace to Results
* Adopt std::numeric_limits
* Fixed incorrect error handling in ReadFile
* Adopted AMS_ABORT_UNLESS
* Adopt util::GenerateUuid()
* Syntax improvements
* ncm_types: Address review
* Address more review comments
* Updated copyrights
* Address more feedback
* More feedback addressed
* More changes
* Move dispatch tables out of interface files
* Addressed remaining comments
* lr: move into libstratosphere
* ncm: Fix logic inversion
* lr: Add comments
* lr: Remove whitespace
* ncm: Start addressing feedback
* ncm: Cleanup InitializeContentManager
* lr: support client-side usage
* lr_service -> lr_api
* ncm: Begin refactoring content manager
* ncm: More content manager improvements
* ncm: Content manager mount improvements
* ldr: use lr bindings
* lr bindings usage: minor fixes
* ncm/lr: Pointer placement
* ncm: placeholder accessor cleanup
* ncm: minor fixes
* ncm: refactor rights cache
* ncm: content meta database cleanup
* ncm: move content meta database impl out of interface file
* ncm: Use const ContentMetaKey &
* ncm: fix other non-const ContentMetaKey references
* ncm: content meta database cleanup
* ncm: content storage fixes for 2.0.0
* ncm: add missing end of file newlines
* ncm: implement ContentMetaReader
* ncm: client-side api
* ncm: trim trailing spaces
* ncm: FS_MAX_PATH-1 -> fs::EntryNameLengthMax
* ncm: Use PathString and Path
* fs: implement accessor wrappers for ncm
* fs: implement user fs wrappers
* fs: add MountSdCard
* ncm: move to content manager impl
* ncm: fix up main
* kvdb: use fs::
* fs: Add wrappers needed for ncm
* ncm: use fs bindings, other refactoring
* ncm: minor fixes
* fsa: fix ReadFile without size output
* fs: add substorage, rom path tool
* ncm: fix dangling fsdev usage
* fs: fix bug in Commit
* fs: fixed incorrect mode check
* fs: implement Mount(System)Data
* ncm: don't delete hos
* results: add R_SUCCEED_IF
* ams-except-ncm: use R_SUCCEED_IF
* ncm: added comments
* ncm: fix api definitions
* ncm: use R_SUCCEED_IF
* pm: think of the savings
* ncm: employ kernel strats
* ncm: Nintendo has 5 MiB of heap. Give ourselves 4 to be safe, pending analysis
* ncm: refactor IDs, split types header into many headers
* ams.mitm: use fs bindings instead of stdio
* fs: SystemData uses SystemDataId
* ncm: improve meta-db accuracy
* ncm: inline getlatestkey
* fs: improve UnsupportedOperation results
* fs: modernize mount utils
* ams: misc fixes for merge-errors
* fs: improve unsupportedoperation results
* git subrepo pull emummc
subrepo:
subdir: "emummc"
merged: "d12dd546"
upstream:
origin: "https://github.com/m4xw/emuMMC "
branch: "develop"
commit: "d12dd546"
git-subrepo:
version: "0.4.1"
origin: "???"
commit: "???"
* util: add boundedmap
* ncm: minor style fixes
* ncm: don't unmount if mounting fails
* lr: bug fixes
* ncm: implement ncm.for-initialize + ncm.for-safemode
* lr: ncm::ProgramId::Invalid -> ncm::InvalidProgramId
* ncm: fix open directory mode on 1.0.0
* ncm: fix fs use, implement more of < 4.0.0 for-initialize/safemode
* ncm: implement packagedcontent -> content for building metadb
* ncm: fix save data flag management
* ncm: address some review suggestions (thanks @leoetlino!)
* updater: use fs bindings
* fs: implement MountCode
* fs: prefer make_unique to operator new
* ncm: implement remaining ContentMetaDatabaseBuilder functionality
Co-authored-by: Michael Scire <SciresM@gmail.com>
2020-03-08 00:06:23 -08:00
Michael Scire
40400aee1f
ams: revamp assertion system
2020-02-22 23:05:14 -08:00
Michael Scire
eb75d54b2b
vapours: new include style, add crypto
2020-02-22 19:47:08 -08:00
Michael Scire
905ce0eeea
kern: implement capabilities parsing
2020-02-19 04:55:00 -08:00
Michael Scire
c6d1579265
vapours: add time primitives, fix result name
2020-02-13 16:18:39 -08:00
Michael Scire
1224ed8abe
kern: implement dpc + skeleton rest of main
2020-02-07 19:16:09 -08:00
Michael Scire
b2b1129cc0
kern: mostly implement KThread::Initialize
2020-01-31 01:53:30 -08:00
Michael Scire
059c706f19
kern: implement KThreadLocalPage
2020-01-30 16:51:35 -08:00
Michael Scire
6ecf04c3b7
find -exec sed -i'' -e 's/2018-2019 Atmo/2018-2020 Atmo/g' {} +
2020-01-24 02:10:40 -08:00
Michael Scire
3a91a6b786
svc: populate namespace
2020-01-17 20:11:03 -08:00
Michael Scire
0105455086
git subrepo clone https://github.com/Atmosphere-NX/Atmosphere-libs libraries
...
subrepo:
subdir: "libraries"
merged: "07af583b"
upstream:
origin: "https://github.com/Atmosphere-NX/Atmosphere-libs "
branch: "master"
commit: "07af583b"
git-subrepo:
version: "0.4.0"
origin: "https://github.com/ingydotnet/git-subrepo "
commit: "5d6aba9"
2019-12-09 18:54:29 -08:00