Michael Scire
6ff58fa4b3
i2c: implement BusAccessor except Send/Receive/WriteHeader
2020-11-14 03:37:51 -08:00
Michael Scire
e5bf06254a
boot: add rgltr/clkrst overrides, skel 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
e1b5d81d65
wec: implement wec driver components for boot sysmodule
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
d04046ecaf
ams: bump version to 0.15.0 (release slated for post-crown-tundra)
2020-10-15 09:41:49 -07:00
Michael Scire
d52179c708
util: follow 90fd771
to its natural conclusion (generic base rbtree)
2020-10-12 01:06:19 -07:00
Michael Scire
909a1767a6
ams: bump version to 0.14.4
2020-09-17 08:34:02 -07:00
Michael Scire
4acdc899f5
kern: generate fatal error on panic
2020-09-17 08:26:08 -07:00
Michael Scire
47d0d5c6ab
ams: support 10.2.0 (bump vers to 0.14.3)
2020-09-14 18:13:18 -07:00
Michael Scire
b7d99b732a
ro: rename ModuleType to reflect reality
2020-09-08 15:05:15 -07:00
Michael Scire
f4cd4bcf03
ams: bump version to 0.14.2
2020-09-07 10:51:15 -07:00
Michael Scire
496f93ccdb
kern: expose mesosphere meta over GetInfo instead of GetSystemInfo
2020-09-07 10:43:35 -07:00
Michael Scire
79c9bed528
kern/pm: support for 5.x under mesosphere
2020-09-07 10:43:35 -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
47f2e93a42
kern: add version bounds checking
2020-08-18 15:17:40 -07:00
Michael Scire
79201428b0
kern: resolve NonSecure definition TODO
2020-08-18 15:17:40 -07:00
fincs
68e29b56b6
kern: add stubbed KDevicePageTable implementation for systems without iommu
2020-08-18 15:17:40 -07:00
Michael Scire
b8c2782ede
kern: SvcLegacyGetFutureThreadInfo
2020-08-18 15:17:40 -07:00
Michael Scire
90fd771fce
IntrusiveRedBlackTree: refactor to add ->GetPrev(), ->GetNext() to BaseNode inheritors
2020-08-18 15:17:40 -07:00
Michael Scire
e435f56367
exo: build with -Wextra
2020-08-17 14:39:18 -07:00
Michael Scire
73798cb812
kern: build with -Wextra
2020-08-17 14:20:24 -07:00
Michael Scire
51b5c3d87d
ams: avoid UB infinite loops
2020-08-13 17:28:29 -07:00
Michael Scire
3726def6ec
ams: dump version to 0.14.1
2020-08-02 15:02:43 -07:00
Michael Scire
0508b5d31b
target firmware: I am remarkably bad at this
2020-08-01 15:36:50 -07:00
Michael Scire
82f757459e
target firmware: fix typo
2020-08-01 15:35:38 -07:00
Michael Scire
b65707efd9
ams: add support for 10.1.1
2020-08-01 15:29:59 -07:00
Michael Scire
91bbdf2baf
TimeSpan: fix FromDays
2020-07-31 14:52:00 -07:00
Michael Scire
5d462c626c
kern: SvcReturnFromException
2020-07-31 14:50:52 -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
e1f3bb10a5
kern: clean up majority of TODOs
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
3a01fd1ebc
svc: add BreakReason flags
2020-07-31 14:50:52 -07:00
Michael Scire
8759cb4da3
kern: implement first half of SvcCreateProcess
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
a0cc22302c
kern: add KAddressArbiter::WaitIfEqual
2020-07-31 14:50:52 -07:00
Michael Scire
01a7606f95
kern: implement SvcSetHeapSize
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
Michael Scire
ff022115ca
kern: Support older SVC ABIs
2020-07-31 14:50:52 -07:00
Michael Scire
c01753370a
ams: update to know about 10.1.0
2020-07-13 17:34:48 -07:00
Michael Scire
18698bf1d3
kern: add SvcQueryIoMapping (NOTE: pre-10.x, ABI needs update)
2020-07-13 13:24:32 -07:00
Michael Scire
a4e3eae4b6
svc/ipc: fix handle count accessors
2020-07-13 11:00:46 -07:00
Michael Scire
9d57783aa8
ipc::Reply -> implement Pointer handling logic
2020-07-10 11:55:33 -07:00
Michael Scire
84b1be1d58
kern: partially implement Receive half of ReplyAndReceive
2020-07-10 11:55:33 -07:00
Michael Scire
f52232f0f2
kern: implement SvcWaitSynchronization
2020-07-10 11:55:33 -07:00
Michael Scire
1a0696f8a3
kern: implement SvcUnmapMemory, more of SvcGetInfo
2020-07-10 11:55:33 -07:00
Michael Scire
9bd6916646
ams: bump version to 0.14.0, add emummc info configitem
2020-07-08 17:36: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
37d13f92a8
ams: bump to 0.13.0, add 10.0.4 recognition
2020-06-14 22:07:45 -07:00
Michael Scire
91e0bbd9d7
exo2: Implement (untested) SmcDecryptDeviceUniqueData
2020-06-14 22:07:45 -07:00
Michael Scire
87bdc46beb
exo2: implement rest of main other than SetupSocProtections
2020-06-14 22:07:45 -07:00
Michael Scire
f66b41c027
exo2: Initial work on the exosphere rewrite.
...
exo2: Implement uncompressor stub and boot code up to Main().
exo2: implement some more init (uart/gic)
exo2: implement more of init
exo2: improve reg api, add keyslot flag setters
exo2: implement se aes decryption/enc
exo2: fix bugs in loader stub/mmu mappings
exo2: start skeletoning bootconfig/global context types
arch: fix makefile flags
exo2: implement through master key derivation
exo2: implement device master keygen
exo2: more init through start of SetupSocSecurity
exo2: implement pmc secure scratch management
se: implement sticky bit validation
libexosphere: fix building for arm32
libexo: fix makefile flags
libexo: support building for arm64/arm
sc7fw: skeleton binary
sc7fw: skeleton a little more
sc7fw: implement all non-dram functionality
exo2: fix DivideUp error
sc7fw: implement more dram code, fix reg library errors
sc7fw: complete sc7fw impl.
exo2: skeleton the rest of SetupSocSecurity
exo2: implement fiq interrupt handler
exo2: implement all exception handlers
exo2: skeleton the entire smc api, implement the svc invoker
exo2: implement rest of SetupSocSecurity
exo2: correct slave security errors
exo2: fix register definition
exo2: minor fixes
2020-06-14 22:07:45 -07:00
Michael Scire
80e49696ea
ams: update for 10.0.3
2020-05-25 19:33:21 -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
SciresM
3a1ccdd919
Switch atmosphere's build target to C++20. ( #952 )
...
* ams: update to build with gcc10/c++20
* remove mno-outline-atomics
* ams: take care of most TODO C++20s
* fusee/sept: update for gcc10
* whoosh, your code now uses pre-compiled headers
* make: dependency fixes
2020-05-11 15:02:10 -07:00
Michael Scire
8e75a4169d
ams: revamp target firmware
2020-05-06 22:29:07 -07:00
Michael Scire
2dfe5b192e
result: add R_CATCH_MODULE
2020-04-27 10:33:51 -07:00
Michael Scire
52c89a76b2
kern: fix KLinkedList dtor
2020-04-27 03:56:12 -07:00
Michael Scire
7458879555
ams: bump version to 0.12.0
2020-04-24 17:28:57 -07:00
Michael Scire
0fb528836c
note that we support 10.0.1
2020-04-22 17:56:13 -07:00
Michael Scire
97cba5e881
os: implement ReadWriteLock
2020-04-21 20:23:50 -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
d81a3bdc36
bump version to 0.11.1
2020-04-15 01:34:35 -07:00
Michael Scire
c6424921a6
10.0.0 + a new sysmodule reimplementation probably merits 0.11.0
2020-04-14 03:34:35 -07:00
Michael Scire
73552c86c3
loader: update for 10.0.0
2020-04-14 02:45:28 -07:00
Michael Scire
aa4c79cd9c
exosphere: update to support 10.0.0
2020-04-13 23:30:54 -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
b73895df0a
util: add bitflagset
2020-04-08 08:39:36 -07:00
Michael Scire
065485b971
os: refactor/rewrite entire namespace.
2020-04-08 02:21:35 -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
496be5ecd4
fs: implement PooledBuffer
2020-04-06 03:15:38 -07:00
Michael Scire
50a91b1d6e
fs: implement system heap
2020-04-06 03:15:33 -07:00
Michael Scire
e04679f05a
crypto: add aes (ecb, ctr, xts)
2020-04-05 23:25:28 -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
0b52596087
fix CONCATENATE
2020-03-30 21:40:48 -07:00
Michael Scire
7fc1e86bf5
stratosphere: fix building with latest libnx
2020-03-29 15:24:40 -07:00
SciresM
87ec045a98
mem: implement most of StandardAllocator ( #860 )
...
This was tested using `https://github.com/node-dot-cpp/alloc-test ` plus a few other by-hand tests.
It seems to work for the case we care about (sysmodules without thread cache-ing).
External users are advised to build with assertions on and contact SciresM if you find issues.
This is a lot of code to have gotten right in one go, and it was written mostly after midnight while sick, so there are probably un-noticed issues.
2020-03-29 14:43:16 -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
82eab9c8d0
Add Span<T>.
2020-03-20 17:04:01 -07:00
Michael Scire
3cca3801ca
fs: fix bugs with external code filesystems
2020-03-20 11:47:19 -07:00
Michael Scire
92e7a3ca08
fs: add MountDeviceSaveData
2020-03-18 20:05:39 -07:00
Michael Scire
426257d4ae
ams: bump version to 0.10.5 in prep for release later tonight
2020-03-18 16:19:59 -07:00
Michael Scire
4759c2f92c
svc: add ipc accessor boilerplate
2020-03-18 00:09:51 -07:00
Michael Scire
884844bc23
svc: revert codegen changes
2020-03-18 00:09:50 -07:00