Michael Scire
dc3f54a713
ams: std::optional -> util::optional
2021-07-12 01:59:51 -07:00
Michael Scire
2945208d6e
erpt: fix 0x100 byte memory leak on creation of new report
2021-07-06 07:28:31 -07:00
Michael Scire
5a133af896
mem: actually fully fix the heap bug, add comments for future self
2021-06-08 08:09:22 -07:00
Michael Scire
b1f5e24044
mem: fix rare crash/logic error in heap allocation code
2021-06-08 08:09:21 -07:00
Michael Scire
156a5ceba2
libstrat: fix override operator new to be noexcept ( closes #1494 )
2021-06-08 08:09:21 -07:00
Michael Scire
82296aa0ee
ams: move around abort handler to avoid linker errors
2021-05-12 09:09:42 -07:00
Michael Scire
07073a7580
sm: update to excise unnecessary library code
2021-05-12 09:09:41 -07:00
Michael Scire
2fc9035b7d
fs: add access log strings for DirectoryEntryType
2021-05-12 09:09:41 -07:00
Michael Scire
64ec9a7421
erpt: fix reading files that don't exist
2021-05-12 09:09:40 -07:00
Michael Scire
dc42da8456
boot: update all autogenerated parameters other than charge
2021-04-30 08:56:11 -07:00
Michael Scire
5deb52d1eb
erpt: implement forced shutdown detection
2021-04-30 08:56:10 -07:00
Michael Scire
f9eff4dcdd
erpt: Implement 12.0.0 AppletTotalActiveTime tracking
2021-04-30 08:56:10 -07:00
Michael Scire
1e1b5971ce
fs: properly implement OperateRangeWithBuffer, correct OperationId names.
2021-04-30 08:56:09 -07:00
Michael Scire
888b39fa50
ams: assume gcc 11
2021-04-29 03:04:54 -07:00
Michael Scire
12471d428d
strat: compat with gcc 11
2021-04-29 03:04:54 -07:00
Michael Scire
b7dc7ad44d
erpt: implement AppletActiveTimeInfoList
2021-04-29 03:04:52 -07:00
Michael Scire
7111b5cce6
strat: no longer materially constrained by sm session limit
2021-04-29 03:04:50 -07:00
Michael Scire
68ddbc732a
ncm: fix iteration of nested-subdirectory content files
2021-04-12 17:13:22 -07:00
Michael Scire
714b162cda
boot2: migration also not launched in 12.0.0
2021-04-12 17:13:22 -07:00
Michael Scire
7bee0289ee
ncm: fix random error when deleting content
2021-04-12 17:13:22 -07:00
Michael Scire
44279dbac4
fs: add (stubbed) OperateRangeWithBuffer implementation
2021-04-11 03:59:26 -07:00
Michael Scire
5921377678
erpt: add (stubbed, TODO after 0.19.0) support for 12.0.0
2021-04-11 03:59:26 -07:00
Michael Scire
c37dbbc7eb
boot2: grc is no longer launched by boot2 on 12.0.0+
2021-04-11 03:59:25 -07:00
Michael Scire
ac6f1fecaf
pgl: update to use tipc (untested)
2021-04-11 03:59:25 -07:00
Michael Scire
ab34b55543
strat: changes for sm tipc (boots 11.0.1, now)
2021-04-11 03:59:25 -07:00
Michael Scire
2fe065b590
tipc/sm: various fixes for issues
2021-04-11 03:59:24 -07:00
Michael Scire
2542f282e0
sm: reimplement using tipc instead of cmif (probably broken, untested)
2021-04-11 03:59:24 -07:00
Michael Scire
728bda9677
tipc: server processor fixes (compiles!)
2021-04-11 03:59:23 -07:00
Michael Scire
484bc20f16
tipc: implement framework/server support logic (except for actual processing)
2021-04-11 03:59:23 -07:00
Michael Scire
3f59907760
tipc: fix deserialization of buffers
2021-04-11 03:59:22 -07:00
Michael Scire
5bb7a55fe3
tipc: implement service object interface generation
2021-04-11 03:59:22 -07:00
Michael Scire
8301b868fd
tipc: fix compilation issues with core serialization routines
2021-04-11 03:59:21 -07:00
Michael Scire
3bcfb043f1
ncm: fix GameCardStorageRoot mount point ( closes #1404 )
2021-04-11 03:59:05 -07:00
Adubbz
a156728af7
ncm: Updated ListContentId for 11.0.0
2021-04-11 03:59:04 -07:00
Michael Scire
0345840a88
ams: convert to util::ConstructAt where appropriate
2021-04-11 03:59:04 -07:00
Michael Scire
9b47aa6e08
ams: prefer construct_at/destroy_at over placement new/explicit destructor
2021-04-11 03:59:04 -07:00
Michael Scire
1861791c1c
ams: remove TYPED_STORAGE() macro in favor of template
2021-04-11 03:59:03 -07:00
Michael Scire
bae4c2c6d5
boot2: clean up pre-0.19.0 ams contents on upgrade
2021-04-11 03:59:02 -07:00
Michael Scire
fddf313699
ams: distribute sysmodules in single file as stratosphere.romfs
2021-04-11 03:59:02 -07:00
SciresM
e000dc9745
[tma2] [Ongoing] Continue implementing modules for tma2. ( #1388 )
...
* cs: add stub sysmodule to host command shell server
* cs: implement logic for main (linker error paradise, for now)
* cs: implement more of the system module's skeleton
* htcs: update client type names for libnx pr merge
2021-04-11 03:59:01 -07:00
SciresM
97d94180cf
set.mitm: fake compatibility for usb!usb30_force_enabled on 9.0.0+ ( #1391 )
...
* set.mitm: fake compatibility for usb!usb30_force_enabled on 9.0.0+
* set.mitm: add value meaning comment for usb!usb30_force_enabled
* loader: pretend to be polite about patch ordering
2021-04-11 03:59:00 -07:00
Michael Scire
5b4765a3e6
boot2: fix tma launch when htc is disabled
2021-04-11 03:58:59 -07:00
Michael Scire
cc84810ddc
htclow: fix ordering of channels, uninitialized bug in service json parse
2021-04-11 03:58:59 -07:00
Michael Scire
60777c5b0d
fs: fix GetFileTimeStampRawForDebug
2021-04-11 03:58:58 -07:00
Michael Scire
65a37c60cc
tio: implement SdCardObserver (finishes sysmodule)
2021-04-11 03:58:57 -07:00
Michael Scire
e7f61805d0
htc: disable socket driver, needs design thought before we can turn it on for real.
2021-04-11 03:58:56 -07:00
Michael Scire
09f34b1323
ams: implement socket api for htclow socket driver
2021-04-11 03:58:55 -07:00
Michael Scire
7d528a30df
htc: implement socket driver (socket api not really impl'd yet)
2021-04-11 03:58:54 -07:00
Michael Scire
353e7f1a2c
htc: implement htcmisc service object commands
2021-04-11 03:58:54 -07:00
Michael Scire
c766cc8347
kern: Increase reserved system memory, require mesosphere for htc/tma
2021-04-11 03:58:54 -07:00
Michael Scire
8a42b3ee3e
htc: configure usage via system setting
2021-04-11 03:58:53 -07:00
Michael Scire
d23bc85d38
htcs: fixes, echo server is now fully functional
2021-04-11 03:58:53 -07:00
Michael Scire
98bd52bbf6
htcs: implement remaining client bindings
2021-04-11 03:58:53 -07:00
Michael Scire
851f0d05f5
htcs: implement client socket bindings
2021-04-11 03:58:52 -07:00
Michael Scire
d5e748ec4f
htcs: implement virtual socket collection
2021-04-11 03:58:52 -07:00
Michael Scire
39da247782
htcs: implement data channel manager
2021-04-11 03:58:52 -07:00
Michael Scire
013a073a34
htcs: implement rpc tasks
2021-04-11 03:58:51 -07:00
Michael Scire
2850786a0b
htcs: hook up HtcsService to rpc client
2021-04-11 03:58:51 -07:00
Michael Scire
4006c4e7b9
htcs: fix magic template argument deduction, do Close/Connect/Bind
2021-04-11 03:58:51 -07:00
Michael Scire
6f9aad70da
htcs: declare all rpc tasks
2021-04-11 03:58:50 -07:00
Michael Scire
a14d7222d0
htcs: hook up CreateSocket/RpcClient Begin<>/End<>
2021-04-11 03:58:50 -07:00
Michael Scire
9c78a955ce
htcs: hook up manager impl to (unimplemented) service
2021-04-11 03:58:50 -07:00
Michael Scire
98b482a766
htcs: hook manager up to (unimplemented) manager impl
2021-04-11 03:58:49 -07:00
Michael Scire
099594469b
htcs: hook service objects up to (unimplemented) manager apis
2021-04-11 03:58:49 -07:00
Michael Scire
e788e76571
htc: fixes for WriteFileLarge/sending over data channel
2021-04-11 03:58:49 -07:00
Michael Scire
8ebd4bc568
htcfs: fix CreateFile packet header
2021-04-11 03:58:48 -07:00
Michael Scire
041f8cd7db
htc: implement the remaining commands for htcfs
2021-04-11 03:58:48 -07:00
Michael Scire
6068b21626
htc: ReadDirectoryLarge/data channel support
2021-04-11 03:58:48 -07:00
Michael Scire
149cfe4abc
htc: Implement (almost) all host-directory commands
2021-04-11 03:58:47 -07:00
Michael Scire
1af323f5b8
htcfs: implement OpenDirectory/CloseDirectory
2021-04-11 03:58:47 -07:00
Michael Scire
b56c5aaaeb
htc: implement htcfs protocol bringup
2021-04-11 03:58:46 -07:00
Michael Scire
1261e3447b
htc: fix event wait loops for rpc clients
2021-04-11 03:58:46 -07:00
Michael Scire
6737e4220e
htc: fixes, can now enter ReadyState with wip starlink code
2021-04-11 03:58:45 -07:00
Michael Scire
116e4e88b3
htc: fix htcfs sf definition
2021-04-11 03:58:45 -07:00
Michael Scire
cf07075828
htc: finish last code for Main()
2021-04-11 03:58:45 -07:00
Michael Scire
1af137ab1b
htc: add htcfs server/service object skeletons
2021-04-11 03:58:44 -07:00
Michael Scire
435211a044
htclow: add Channel wrapper class
2021-04-11 03:58:44 -07:00
Michael Scire
5199b3edaa
htcs: add hipc server/service object skeletons
2021-04-11 03:58:43 -07:00
Michael Scire
93966fd4b1
htc: skeleton HtcsManagerImpl, implement HtcsMonitor
2021-04-11 03:58:43 -07:00
Michael Scire
ddadc3e579
htc: ObserverThread (mostly), system now boots + works with htc in bg
2021-04-11 03:58:42 -07:00
Michael Scire
46653ac05a
htc: implement psc/pm loop
2021-04-11 03:58:42 -07:00
Michael Scire
d2a70847d4
htc: implement HtcmiscImpl::ServerThread/HtcmiscRpcServer::ReceiveThread
2021-04-11 03:58:41 -07:00
Michael Scire
bd05b91eb0
htc: Implement RpcClient::ReceiveThread + SendThread
2021-04-11 03:58:41 -07:00
Michael Scire
21b2112bcc
htc: Implement HtcmiscImpl::ClientThread
2021-04-11 03:58:40 -07:00
Michael Scire
8d3f11796a
htc: add RpcTaskQueue/RpcTaskIdFreeList
2021-04-11 03:58:40 -07:00
Michael Scire
f2b51e2130
htc: nullptr != false
2021-04-11 03:58:39 -07:00
Michael Scire
0286aacf33
htc: add RpcTaskTable
2021-04-11 03:58:39 -07:00
Michael Scire
3d4fa15b09
htc: implement htcmisc rpc tasks
2021-04-11 03:58:39 -07:00
Michael Scire
8d6c9bb9ee
htc: skeleton constructors for htcmisc
2021-04-11 03:58:38 -07:00
Michael Scire
a1e57a7413
htc: implement remainder of Mux/Tasks
2021-04-11 03:58:38 -07:00
Michael Scire
6a99b7fcd5
htc: implement mux side of connecting (and more)
2021-04-11 03:58:38 -07:00
Michael Scire
67c293faba
htc: fix driver manager c/p error
2021-04-11 03:58:37 -07:00
Michael Scire
8bfa4d662e
htc: implement remaining htclow::HtclowManagerImpl funcs (mux impls pending)
2021-04-11 03:58:37 -07:00
Michael Scire
fda4ddca62
htc: declare and begin impl of HtclowManagerImpl interface
2021-04-11 03:58:37 -07:00
Michael Scire
996e21863a
htc: optimize Mux::QuerySendPacket
2021-04-11 03:58:36 -07:00
Michael Scire
33100d9fbb
mux: optimize many accesses to O(log(n)) vs Nintendo's O(log(n)^2)
2021-04-11 03:58:36 -07:00
Michael Scire
042de46692
htc: implement HtclowDriver
2021-04-11 03:58:35 -07:00
Michael Scire
b6d73580ed
htc: begin skeletoning types for HtcmiscImpl
2021-04-11 03:58:35 -07:00
Michael Scire
53b04c5225
htc: hook up creation of the htc manager service object
2021-04-11 03:58:35 -07:00
Michael Scire
276c3f8434
htc: module id names, skeleton rest of main
2021-04-11 03:58:34 -07:00
Michael Scire
e1b47dab0e
htc: implement remaining worker thread send logic (for channel mux)
2021-04-11 03:58:34 -07:00
Michael Scire
aceea1eaa7
htc: send logic for HtcctrlService, bugfixes (thanks @misson20000)
2021-04-11 03:58:33 -07:00
Michael Scire
e5c573e354
rapidjson: add customization point for allocation/asserts
2021-04-11 03:58:33 -07:00
Michael Scire
cb8ed30517
htc: add remaining worker receive thread logic
2021-04-11 03:58:32 -07:00
Michael Scire
c44177cbcc
htc: implement service channel parsing (ReceiveReadyPacket)
2021-04-11 03:58:32 -07:00
Michael Scire
c19e50bff1
htc: implement much of worker receive logic
2021-04-11 03:58:31 -07:00
Michael Scire
f8389f9460
htc: fix copy/paste error in usb driver
2021-04-11 03:58:31 -07:00
Michael Scire
6a4247a6ed
htc: free ourselves from the tyranny of numerical enums
2021-04-11 03:58:30 -07:00
Michael Scire
9fd6ed27af
htc: implement htclow listener thread
2021-04-11 03:58:30 -07:00
Michael Scire
5586a4fb2e
htc: actually use the usb driver
2021-04-11 03:58:29 -07:00
Michael Scire
a56a4aed77
htc: implement complete usb driver
2021-04-11 03:58:29 -07:00
Michael Scire
7f16e202eb
htc: implement (fixing linker errors) through HtclowManagerImpl::OpenDriver
2021-04-11 03:58:29 -07:00
Michael Scire
d664c8ed8a
htclow: fix copyright headers, skeleton more manager types
2021-04-11 03:58:28 -07:00
Michael Scire
3d535e6103
htc: skeleton much of the type hierarchy for htclow manager
2021-04-11 03:58:28 -07:00
Michael Scire
d2102cb585
htc: skeleton some more of main
2021-04-11 03:58:28 -07:00
Michael Scire
2f17a76901
psc: fix pm module init
2021-02-15 19:51:58 -08:00
Michael Scire
89b7a83d3b
usb: fix wrong command id for AppendConfigurationData
2021-02-15 19:51:58 -08:00
Michael Scire
570e5ceccb
usb: add ds client api
2021-02-15 19:51:58 -08:00
Michael Scire
17960517ba
hid: fix sm usage
2021-02-02 18:32:59 -08:00
Michael Scire
834549081a
ncm: fix ContentStorageImplBase constructor
2021-02-02 18:32:59 -08:00
Michael Scire
66212b7926
dns.mitm: support % in hosts file as stand-in for environment identifier
2021-02-02 12:16:30 -08:00
Michael Scire
fb48bd2766
dns.mitm: add GetAddrInfo redir, AtmosphereReloadHostsFile, debug logging control
2021-02-02 12:16:30 -08:00
Michael Scire
bdb87ff590
ams: take three tries to edit a structure
2021-02-02 12:16:29 -08:00
Michael Scire
906a450ac3
dns.mitm: parse redirections from hosts file
2021-02-02 12:16:28 -08:00
Michael Scire
1314374890
dns: implement GetHostByName redirection (backend TODO)
2021-02-02 12:16:27 -08:00
Michael Scire
dfdd58ab7f
fssystem: fix bug in BufferedStorage
2021-02-02 12:16:27 -08:00
Michael Scire
7c377daaa4
result: always prefer diag::Abort to fatal
2021-02-02 12:16:26 -08:00
Michael Scire
fdd1ccf87a
sm: supercede ams extension via DetachClient
2021-02-02 12:16:26 -08:00
Michael Scire
efe104b0ea
ams: communicate status to libnx
2021-02-02 12:16:25 -08:00
Michael Scire
b209249e12
ams_mitm: update for new sf semantics
2021-02-02 12:16:24 -08:00
Michael Scire
85348a7664
boot2: update for new sf semantics
2021-02-02 12:16:24 -08:00
Michael Scire
ded84a211e
libstrat: move weak HasLaunchedBootProgram to non-lto object file
2021-02-02 12:16:23 -08:00
Michael Scire
0b2c4bb70e
util::unique_lock, update loader to new sf semantics
2021-02-02 12:16:22 -08:00
Michael Scire
a1504c0df4
string_view: remove now unecessary comment
2021-02-02 12:16:22 -08:00
Michael Scire
29b3baf678
util::string_view, update pgl for new sf semantics
2021-02-02 12:16:21 -08:00
Michael Scire
7eb0be284d
pm: update for new sf semantics
2021-02-02 12:16:21 -08:00
Michael Scire
9ce7e67114
erpt: update for new sf semantics
2021-02-02 12:16:21 -08:00
Michael Scire
b58f3d9174
ro: reduce memory usage by excising (unused) std::malloc
2021-02-02 12:16:21 -08:00
Michael Scire
af65f58109
ro: update for new sf semantics
2021-02-02 12:16:20 -08:00
Michael Scire
637c44f64d
libstrat: convert to experimental new (super-accurate) sf allocation semantics
2021-02-02 12:16:20 -08:00
Michael Scire
5c40e39e27
os: fix missing logic in SdkReplyAndReceive
2021-01-13 10:41:30 -08:00
Michael Scire
f62751fe0f
os: implement 11.x SdkReplyAndReceive
2021-01-13 10:41:29 -08:00
Michael Scire
5a3c0620e1
fs: fix keyslotcache unique_lock usage
2021-01-13 10:41:29 -08:00
Michael Scire
270766dbd1
strat: avoid using unique_lock in a few places
2021-01-13 10:41:29 -08:00
Michael Scire
26369e34f1
ams: use util::SNPrintf over std:: (size/linker improvements)
2021-01-13 10:41:28 -08:00
Michael Scire
803257776c
ams: save 0x11000 of memory in spl via minor tweaks
2021-01-13 10:41:28 -08:00
Michael Scire
ced1312dc7
sm: implement accurate request deferral semantics
2021-01-05 15:14:01 -08:00
Michael Scire
90f2c7b349
strat: fix board namespacing for nintendo::nx
2020-12-29 13:07:58 -08:00
Michael Scire
e82a57dc85
ams: resolve source dir inconsistency
2020-12-29 13:07:57 -08:00
Michael Scire
c4215bc6dd
ams: update five -> aula, per CalWriterManu
2020-12-28 17:34:07 -08:00
Michael Scire
cf1e61819f
pgl: add new snapshotdump logic
2020-12-19 10:21:50 -08:00
Michael Scire
04459de121
pgl: update for 11.0.0 behavior
2020-12-19 10:21:50 -08:00
Michael Scire
fd5212f399
fs: update + consolidate path normalization logic
2020-12-11 03:48:57 -08:00
Michael Scire
1aa8a27f17
fs: move file storage to common
2020-12-11 03:48:57 -08:00
Michael Scire
8aa6f4253d
IStorage: rename access check helpers
2020-12-11 03:48:57 -08:00
Michael Scire
7c4ada41fc
fsa: *Impl -> Do*
2020-12-11 03:48:56 -08:00
Michael Scire
e5bb9eded1
fs/system: deduplicate RomFs code
2020-12-11 03:48:56 -08:00
Michael Scire
49c1ace890
erpt: update for 11.0.0 ( closes #1218 )
2020-12-03 12:48:16 -08:00
Michael Scire
8233fa00ac
fssystem: fix bug in BufferedStorage
2020-12-02 06:53:24 -08:00
fincs
ea4923ce2b
strat/cfg: Update for new libnx HID interface
2020-12-02 06:53:14 -08:00
fincs
782272d092
strat/hid: Update for new libnx HID interface
2020-12-02 06:53:14 -08:00
Michael Scire
4958ea6d93
erpt: lightly update (TODO: use context, do new svc stuff)
2020-12-02 06:53:07 -08:00
Michael Scire
d3841d4e60
pgl: update for 11.0.0
2020-12-02 06:53:06 -08:00
Michael Scire
e44d2a211c
ncm: fix abort in ListContentMetaInfo
2020-12-02 06:53:04 -08:00
Michael Scire
d488683b94
fs: fix bug in buffer manager
2020-12-02 06:53:03 -08:00
Michael Scire
33ea9ed3aa
fs: fix RomFs GetEntryType (fixes mariko daybreak)
2020-12-02 06:53:00 -08:00
Michael Scire
159ca97a9d
os: remove completed TODO
2020-12-02 06:53:00 -08:00
Michael Scire
b09571b57e
os: do not use deprecated libnx ::virtmemReserve api
2020-12-02 06:53:00 -08:00
Michael Scire
e133d475ee
ldr/hbl: support address space width overrides
2020-12-02 06:52:59 -08:00
Michael Scire
23609fb983
exo: implement start of mariko fatal handler
2020-12-02 06:52:57 -08:00
Michael Scire
3cfd412e6a
libexo/sc7fw: support release/debug/audit
2020-12-02 06:52:53 -08:00
Michael Scire
014ac8efc7
boot2: don't wait for bpc.mitm on mariko
2020-12-02 06:52:52 -08:00
Michael Scire
aa7ed49d2d
i2c: correct missing destruction
2020-12-02 06:52:51 -08:00
Michael Scire
434ae67d99
wec: whoops
2020-12-02 06:52:51 -08:00
Michael Scire
df18fe68c7
updater: don't overwrite custom-public-key BCTs
2020-12-02 06:52:51 -08:00
Michael Scire
dd0fc9e7be
pinmux: whoops
2020-12-02 06:52:50 -08:00
Michael Scire
776947e28f
boot/powctl/i2c: more miscellaneous fixes
2020-12-02 06:52:50 -08:00
Michael Scire
0ca028cfbc
boot: various bugfixes (b/w logo displays now)
2020-12-02 06:52:50 -08:00
Michael Scire
fcc7a54b02
powctl: implement max17050 driver
2020-12-02 06:52:50 -08:00
Michael Scire
5eba001491
powctl: add battery driver logic (missing impl)
2020-12-02 06:52:49 -08:00
Michael Scire
d50eca6669
powctl: implement max17050 custom parameter init
2020-12-02 06:52:49 -08:00
Michael Scire
11e010b0e6
powctl: implement full bq24193 driver
2020-12-02 06:52:49 -08:00
Michael Scire
0710185c28
i2c: add register acccessor helpers
2020-12-02 06:52:49 -08:00
Michael Scire
5b228da4b4
powctl: add ChargerDriver body (needs impl)
2020-12-02 06:52:48 -08:00
Michael Scire
8251ade5a0
pinmux: implement updated initial config api
2020-12-02 06:52:48 -08:00
Michael Scire
0804f0e3b5
dd: implement DeviceAddressSpaceType api
2020-12-02 06:52:48 -08:00
Michael Scire
f11884e0fe
boot: refactor battery checking to use new powctl apis
2020-12-02 06:52:47 -08:00
Michael Scire
d2b6c6c818
powctl: implement client api (needs board-specific impl)
2020-12-02 06:52:47 -08:00
Michael Scire
baef1c5151
pwm: implement driver for boot sysmodule
2020-12-02 06:52:47 -08:00
Michael Scire
9d7632a0d2
gpio: add missing driver functions for boot
2020-12-02 06:52:46 -08:00
Michael Scire
442c15d78c
i2c: implement remaining required driver logic
2020-12-02 06:52:46 -08:00
Michael Scire
3d423c4e0e
i2c: command list format, get boot down to linker errors
2020-12-02 06:52:46 -08:00
Michael Scire
134d7f2d9f
i2c/gpio: hook up open session for sf interface
2020-12-02 06:52:46 -08:00
Michael Scire
8e2101c403
i2c: implement driver init api
2020-12-02 06:52:45 -08:00
Michael Scire
56b8374ef9
i2c: finish I2cBusAccessor
2020-12-02 06:52:45 -08:00
Michael Scire
fecad158f3
i2c: implement BusAccessor::WriteHeader
2020-12-02 06:52:45 -08:00
Michael Scire
462ab175af
i2c: implement BusAccessor except Send/Receive/WriteHeader
2020-12-02 06:52:45 -08:00
Michael Scire
f99c30920b
boot: add rgltr/clkrst overrides, skel I2cBusAccessor
2020-12-02 06:52:44 -08:00
Michael Scire
de95812488
i2c: add auto-generated bus/device map
2020-12-02 06:52:44 -08:00
Michael Scire
778bea6e41
i2c: begin skeleton device driver framework
2020-12-02 06:52:44 -08:00
Michael Scire
41bcdc9c1f
gpio: implement more of server library for boot sysmodule client usage
2020-12-02 06:52:43 -08:00
Michael Scire
3756f81d9e
wec: implement wec driver components for boot sysmodule
2020-12-02 06:52:43 -08:00
Michael Scire
57c40bca06
gpio: add (most of) driver framework for boot sysmodule usage
2020-12-02 06:52:43 -08:00
Michael Scire
120c63b612
ddsf: implement namespace
2020-12-02 06:52:42 -08:00
SciresM
791b402320
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-12-02 06:52:42 -08:00
Michael Scire
10e9e0e8f9
docs/fatal error: update for 0.15.0
2020-10-26 16:03:09 -07:00
Michael Scire
72def8c75d
erpt: fix attachment-in-save paths ( closes #1124 , #1145 )
2020-10-26 16:03:07 -07:00
Michael Scire
dbbf26f03c
ams: expose reboot payload for kernel panic
2020-10-26 16:03:06 -07:00
Michael Scire
4c51c55d1a
loader: improve verification terminology
2020-09-14 18:13:42 -07:00
Michael Scire
fea438eb76
sm: fix deadlock semantics surrounding mitm installation
2020-09-07 10:51:46 -07:00
Michael Scire
5a60240fc8
strat: fix inclusion/ordering for some c headers
2020-08-14 17:36:37 -07:00
Michael Scire
9f7bc49438
ams: avoid UB infinite loops
2020-08-14 17:36:37 -07:00
Michael Scire
9f765dd4ee
sf: handle serialization errors more accurately and gracefully
2020-08-14 17:36:36 -07:00
Michael Scire
5ca2b62e1c
boot2: work around pcv<->fs<->settings race condition
2020-08-01 15:31:27 -07:00
Michael Scire
d58aaede93
fs: correct retry loop again
2020-08-01 15:31:14 -07:00
Michael Scire
a8cc9c6d6f
fs: fix retry bug in OpenContentStorageFileSystem
2020-08-01 15:31:14 -07:00
misson20000
3cb6db0ee2
Add stack overflow detection to fatal error code
2020-08-01 15:31:13 -07:00
Michael Scire
344a3265c0
os: fix building with new svc defs
2020-08-01 15:31:05 -07:00
Michael Scire
c5e4c7c921
kern: implement SvcWaitSynchronization
2020-08-01 15:31:01 -07:00
Michael Scire
103c81abc5
ncm: safer access patterns for FirmwareVariationInfo
2020-08-01 15:31:00 -07:00
Michael Scire
9f8f932383
ncm: loosen FirmwareVariation restrictions.
2020-08-01 15:30:59 -07:00
Michael Scire
ffc68d133f
ncm: rights ids were added in 2.0.0
2020-08-01 15:30:58 -07:00
Michael Scire
771de71f0c
ncm: make *ActivateContentMetaDatabase play nice with 1.0.0
2020-08-01 15:30:56 -07:00
SciresM
ecf8389efd
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-08-01 15:30:56 -07:00
Michael Scire
47d62b22f2
libstrat: fix bugs/compiler warnings
2020-08-01 15:30:55 -07:00
Michael Scire
e00abe01c1
fs: use access_log for other user fs/dir/file bindings
2020-08-01 15:30:55 -07:00
Michael Scire
3c7c4d8bff
fs: implement AccessLog, enable for File operations
2020-08-01 15:30:55 -07:00
Michael Scire
52088109b7
libstrat: correct firmware comparison in meta database builder
2020-08-01 15:30:53 -07:00
Michael Scire
a1a68953e0
sysupdater: implement (untested) rest of the api
2020-06-28 19:41:10 -07:00
Michael Scire
1699ad4280
sysupdater: make GetUpdateInformation work on hardware.
2020-06-28 19:41:09 -07:00
Michael Scire
8f0ee258ac
sysupdater: begin implementing api
2020-06-28 19:41:09 -07:00
Michael Scire
3b4b19893b
fs: update IndirectStorage for 10.x, bugfixes
2020-06-28 19:41:08 -07:00
Michael Scire
d061a52230
ams: add -Wno-format-truncation to flags
2020-06-28 19:41:08 -07:00
Adubbz
8ab659c131
ncm: fix exfat system updates
2020-06-28 19:41:08 -07:00
Michael Scire
cf8f0c3c1f
ams: fix comment warn
2020-06-14 22:59:31 -07:00
Michael Scire
adf5cd345d
hos: fix c/p error'
2020-06-14 22:54:13 -07:00
Michael Scire
0447aa67a5
hos: be a little friendlier about versioning
2020-06-14 22:54:12 -07:00
Michael Scire
bc653fa855
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:53:53 -07:00
Michael Scire
2944347060
fs: miscellaneous bucket tree fixes
2020-06-14 22:53:52 -07:00
Adubbz
797dfa782e
ncm: implement firmware downgrading ( #958 )
...
* ncm: implement firmware downgrading
* ncm: make storage list const
2020-05-18 08:22:12 -07:00
Michael Scire
f3ae89aa2b
os: use ported libnx mutex impl
2020-05-18 08:22:12 -07:00
Michael Scire
bbbe67937a
nca-pr: update for c++20
2020-05-14 02:22:37 -07:00
SciresM
b38939adb5
Implement support for parsing/interacting with NCAs. ( #942 )
...
* fs: implement support for interacting with ncas.
* spl: extend to use virtual keyslots
2020-05-12 15:44:19 -07:00
SciresM
7d041e853d
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-12 15:44:19 -07:00
Michael Scire
0cc84d4c47
ams: use psc acknowledge_ex on 5.1.0+ (fixes wake-from-sleep on 5.1.0)
2020-05-12 15:44:18 -07:00
Michael Scire
1f35c699a7
ams: revamp target firmware
2020-05-12 15:44:18 -07:00
Michael Scire
b4442b1c20
ams:bpc: allow programatically setting reboot payload
2020-05-12 15:44:18 -07:00
Michael Scire
ea45d6e146
os: oh geez look at the time
2020-05-12 15:44:16 -07:00
Michael Scire
b7491393b2
dmnt: move stuff around slightly, add client bindings
2020-04-24 17:29:14 -07:00
SciresM
d2de74155d
PRODINFO: Revamp blanking/write disallow policy. ( #913 )
...
* exo/fusee: hookup new prodinfo settings
* fusee: new scheme doesn't need FLAGS_DEFAULT
* fusee: fix c/p errors
* ams.mitm: completely revamp prodinfo backup mechanism
* ams.mitm: Implement revamped blanking/write policy
* strat: make early boot more debuggable
* exo: condense flag logic
2020-04-24 17:29:12 -07:00