Michael Scire
6407786059
kern: update GetInfo logic for tick count InfoTypes
2021-09-19 10:34:31 -07:00
Adubbz
a941e4be03
ncm: skeleton new commands
2021-09-19 10:34:31 -07:00
Michael Scire
89541c8042
sprofile: fully reimplement sprof:bg + sprof:sp
2021-09-19 10:34:31 -07:00
Michael Scire
ae54ec5981
sprofile: implement non-importer bgagent commands
2021-09-19 10:34:31 -07:00
Michael Scire
75d5e2aef0
sprofile: implement OpenProfileUpdateObserver
2021-09-19 10:34:31 -07:00
Michael Scire
04cbc06bc1
ams: update current target firmware
2021-09-19 10:34:31 -07:00
Michael Scire
cb299d9260
fusee/exo: update for recognition of 13.0.0
2021-09-19 10:34:31 -07:00
Michael Scire
4075d24e0c
kern: add hardware single step extension
2021-09-11 19:41:47 -07:00
Michael Scire
c6fad1b0ee
osdbg: implement thread info api
2021-09-11 19:41:47 -07:00
SciresM
e9849c74cf
LogManager: implement system module, client api, logging api ( #1617 )
...
Some notes:
* Unless `atmosphere!enable_log_manager` is true, Nintendo's log manager will be used instead.
* This prevents paying memory costs for LM when not enabling logging.
* To facilitate this, Atmosphere's log manager has a different program id from Nintendo's.
* `atmosphere!enable_htc` implies `atmosphere!enable_log_manager`.
* LogManager logs to tma, and the SD card (if `lm!enable_sd_card_logging` is true, which it is by default).
* Binary logs are saved to `lm!sd_card_log_output_directory`, which is `atmosphere/binlogs` by default.
2021-09-11 19:32:14 -07:00
Michael Scire
b7521465ee
fusee: tactically don't trash PLLA1, fixes audio corruption on boot
2021-09-06 16:26:50 -07:00
Michael Scire
36c470ad11
ams-1.0.0: bump version number well ahead of time
2021-09-06 16:26:50 -07:00
Michael Scire
c2a930965a
fusee_cpp: import mariko mtc
2021-09-06 16:26:50 -07:00
Michael Scire
c4fee796ea
fusee_cpp: begin mariko mtc work
2021-09-06 16:26:50 -07:00
Michael Scire
40e2d4bbe6
fusee_cpp: implement cpu startup
2021-09-06 16:26:50 -07:00
Michael Scire
ecbf13e45d
fusee_cpp: import full erista mtc logic
2021-09-06 16:26:50 -07:00
Michael Scire
d7192343d8
fusee_cpp: implement erista pll selection logic for mtc
2021-09-06 16:26:50 -07:00
Michael Scire
4480e7a8a5
fusee_cpp: implement bpmp overclock
2021-09-06 16:26:50 -07:00
Michael Scire
e7d7d8adfb
fusee_cpp: cache cleanup, confirmed working on hardware
2021-09-06 16:26:50 -07:00
Michael Scire
5cff5e629b
fusee_cpp: implement bpmp cache driver
2021-09-06 16:26:50 -07:00
Michael Scire
49d0a51d6b
fusee_cpp: implement sd card init
2021-09-06 16:26:50 -07:00
Michael Scire
25cd3d17de
fusee_cpp: implement sdram lp0 scratch param save
2021-09-06 16:26:50 -07:00
Michael Scire
349a16ce39
fusee_cpp: implement SDRAM initialization
2021-09-06 16:26:50 -07:00
Michael Scire
c91f95e8f6
fusee-cpp: a little more init in SecureInitialize
2021-09-06 16:26:50 -07:00
Michael Scire
53ede217a5
fusee-cpp: finish SecureInitialize
2021-09-06 16:26:50 -07:00
Michael Scire
669564b022
fusee-cpp: implement SecureInitialize besides InitializeClock()
2021-09-06 16:26:50 -07:00
Michael Scire
c9bd97192f
fusee-cpp: sketch out remainder of secure initialize
2021-09-06 16:26:50 -07:00
Michael Scire
c333a84b6b
fusee-cpp: Implement mbist workaround
2021-09-06 16:26:50 -07:00
Michael Scire
165c926135
ams: bump version to 0.20.1
2021-08-30 07:32:35 -07:00
Michael Scire
9296a56303
ams: bump to 0.2.0
...
NOTE: Release will not occur until hekate is ready to handle new sept-less release format.
2021-08-20 13:31:59 -07:00
Michael Scire
a7c14e03b9
ams: std::optional -> util::optional
2021-07-08 02:37:26 -07:00
Michael Scire
f863164648
ams: basic support for 12.1.0
2021-07-06 07:13:56 -07:00
Michael Scire
3dbc79dd5c
ams: bump version to 0.19.4
2021-06-08 08:09:05 -07:00
Michael Scire
bb4c7a390b
ams: update for 12.0.2
2021-05-12 09:08:47 -07:00
Michael Scire
dbcb1e1564
loader: avoid UB when doing count trailing zeros
2021-04-30 10:03:54 -07:00
Michael Scire
2c332d1cf8
ams: bump api version to 0.19.2
2021-04-30 05:00:25 -07:00
Michael Scire
355010ad84
erpt: implement forced shutdown detection
2021-04-30 04:21:03 -07:00
Michael Scire
0767d9f8da
ams: assume gcc 11
2021-04-28 15:13:29 -07:00
Michael Scire
4f16106702
exo/meso: update for gcc 11 compatibility
2021-04-26 20:06:18 -07:00
Michael Scire
ed80d6ec8c
util: add compile-time validation tests for intrusive red black trees
2021-04-21 05:06:11 -07:00
Michael Scire
57b6c71c1c
util: implement red black trees as templates over macros
2021-04-20 16:56:33 -07:00
Michael Scire
2e1a93f1d1
strat: no longer materially constrained by sm session limit
2021-04-13 23:58:10 -07:00
Michael Scire
aa2d03d8e1
ams: bump to 0.19.1
2021-04-12 17:14:07 -07:00
Michael Scire
57c8bc432d
sm: reimplement using tipc instead of cmif (probably broken, untested)
2021-04-11 03:42:16 -07:00
Michael Scire
21b883a75c
tipc: fix compilation issues with core serialization routines
2021-04-11 03:42:16 -07:00
Michael Scire
e93d71d932
tipc: tentative core serialization logic (missing imports, won't compile)
2021-04-11 03:42:16 -07:00
Michael Scire
dc6a0d7562
ams: add target firmware 12.0.0, fusee recognition
2021-04-11 03:42:16 -07:00
Michael Scire
1d2be0a2eb
kern: mesosphere now implements kernel/sdk 12.3
2021-04-11 03:42:16 -07:00
Michael Scire
a1e137cc1c
kern: update Initialize0 for new changes
2021-04-11 03:42:16 -07:00
Michael Scire
b3bd443636
svc: sanitize booleans in autogenerated abi stubs
2021-04-11 03:42:16 -07:00
Michael Scire
d84dcb653d
ams: prefer construct_at/destroy_at over placement new/explicit destructor
2021-03-21 20:30:40 -07:00
Michael Scire
aff0da9427
ams: remove TYPED_STORAGE() macro in favor of template
2021-03-21 18:47:30 -07:00
Michael Scire
8d9174b227
ams: bump version to 0.19.0.
...
Release (probably) not actually imminent, I just don't want to forget.
2021-03-21 13:16:49 -07:00
Michael Scire
a7564cf303
kern: add extension InfoType for retrieving current process handle.
2021-03-17 17:48:30 -07:00
SciresM
5362ee9450
[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-03-16 17:13:30 -07:00
Michael Scire
64c7c6b2a5
ams: implement socket api for htclow socket driver
2021-02-24 04:06:54 -08:00
Michael Scire
1c974a387c
htc: implement socket driver (socket api not really impl'd yet)
2021-02-24 04:06:54 -08:00
Michael Scire
b5ab491603
htc: implement htcmisc service object commands
2021-02-24 04:06:54 -08:00
Michael Scire
70caadafd5
htcs: implement rpc tasks
2021-02-24 04:06:54 -08:00
Michael Scire
7667104961
htcs: hook up HtcsService to rpc client
2021-02-24 04:06:54 -08:00
Michael Scire
0c791f2279
htcs: fix magic template argument deduction, do Close/Connect/Bind
2021-02-24 04:06:54 -08:00
Michael Scire
536e3e99a8
htcs: hook up CreateSocket/RpcClient Begin<>/End<>
2021-02-24 04:06:54 -08:00
Michael Scire
abff428212
htcs: hook up manager impl to (unimplemented) service
2021-02-24 04:06:54 -08:00
Michael Scire
1541985222
htcs: hook manager up to (unimplemented) manager impl
2021-02-24 04:06:54 -08:00
Michael Scire
61929d6e21
htcs: hook service objects up to (unimplemented) manager apis
2021-02-24 04:06:54 -08:00
Michael Scire
9daec3a66a
htc: Implement (almost) all host-directory commands
2021-02-24 04:06:54 -08:00
Michael Scire
e79417c37c
htcfs: implement OpenDirectory/CloseDirectory
2021-02-24 04:06:54 -08:00
Michael Scire
5c97469348
htc: implement htcfs protocol bringup
2021-02-24 04:06:54 -08:00
Michael Scire
9fbbb9fadb
htclow: add Channel wrapper class
2021-02-24 04:06:54 -08:00
Michael Scire
3be005b638
htc: Implement RpcClient::ReceiveThread + SendThread
2021-02-24 04:06:54 -08:00
Michael Scire
1867c31f63
htc: add RpcTaskQueue/RpcTaskIdFreeList
2021-02-24 04:06:54 -08:00
Michael Scire
0880cebc4d
htc: implement htcmisc rpc tasks
2021-02-24 04:06:54 -08:00
Michael Scire
42cf3f50d7
htc: implement mux side of connecting (and more)
2021-02-24 04:06:54 -08:00
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
6fc24d8883
htc: implement service channel parsing (ReceiveReadyPacket)
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
71add1add8
ams: bump version to 0.18.1
2021-02-15 19:51:48 -08:00
Michael Scire
13b17a5848
usb: add ds client api
2021-02-07 16:29:38 -08:00
Michael Scire
846cc0b47a
util: add FixedSet
2021-02-04 02:29:54 -08:00
Michael Scire
e82ad1cdc5
util: add FixedMap::clear
2021-02-04 02:16:37 -08:00
Michael Scire
a9c6476416
util: various FixedMap fixes
2021-02-04 02:08:21 -08:00
Michael Scire
c1d93a9495
util: add FixedMap/FixedTree
2021-02-04 01:00:19 -08:00
Michael Scire
201b17f100
util: impl::AvailableIndexFinder
2021-02-03 17:47:32 -08:00
Michael Scire
63440cab18
ams: bump version to 0.18.0
2021-02-02 12:15:53 -08:00
Michael Scire
6950989552
dns.mitm: support % in hosts file as stand-in for environment identifier
2021-02-02 11:41:49 -08:00
Michael Scire
e45d8cd7d8
ams: take three tries to edit a structure
2021-02-02 11:41:49 -08:00
Michael Scire
79211e1159
ams: afsr0 -> 32 bits in fatal error
2021-02-02 11:41:49 -08:00
Michael Scire
ca8e8ce487
ams: fix fatal error context
2021-02-02 11:41:49 -08:00
Michael Scire
48830d190f
timespan: explicitly require TimeSpanType as is_pod
2021-01-25 08:27:42 -08:00
Michael Scire
f5c6736431
boot: update for new sf-semantics
2021-01-20 23:39:31 -08:00
Michael Scire
e4e278bb3d
util::unique_lock, update loader to new sf semantics
2021-01-20 23:39:31 -08:00
Michael Scire
3bb94aa146
util::string_view, update pgl for new sf semantics
2021-01-20 23:39:31 -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
9e104bb83f
ams: bump version to 0.17.1
2021-01-13 10:41:13 -08:00
Michael Scire
8ac8abf295
os: implement 11.x SdkReplyAndReceive
2021-01-12 18:18:39 -08:00
Michael Scire
6a2ee02409
util: fix header dependence
2021-01-12 03:02:09 -08:00
Michael Scire
094cede39e
ams: use util::SNPrintf over std:: (size/linker improvements)
2021-01-12 02:59:41 -08:00
Michael Scire
b8072b1398
util: faster constexpr offsetof calc, at the cost of standards compliance
2021-01-08 04:07:45 -08:00
Michael Scire
1e643f7ab0
kern: further codegen tweaks
2021-01-08 02:35:29 -08:00
Michael Scire
4aa18b06e8
kern: greatly improve codegen for atomics, scheduler
2021-01-08 02:13:43 -08:00
Michael Scire
e53b171693
ams: mariko support implies 0.17.0
2021-01-05 11:05:33 -08:00
Michael Scire
131c8609c8
libmeso: explicitly blacklist ::sdmmc::, instead of relying on incorrect board tricks
2020-12-29 12:36:26 -08:00
Michael Scire
a26e8ac54f
ams: resolve source dir inconsistency
2020-12-29 12:28:07 -08:00
Michael Scire
ee1b638dde
svc: we support kernel version 15.4
2020-12-28 17:33:45 -08:00
Michael Scire
8b61537aa3
ams: bump version to 0.16.2
2020-12-19 10:21:15 -08:00
Michael Scire
14a415c4b2
ams: bump version to 0.16.1
2020-12-11 03:06:47 -08:00
Michael Scire
734122f20a
fusee: update for 11.0.1
2020-12-11 03:06:17 -08:00
Michael Scire
be8473cf65
kern: implement memory debug
2020-12-10 16:32:19 -08:00
Michael Scire
1a6e003a5d
kern: add kernel object debug
2020-12-10 03:31:57 -08:00
Michael Scire
0acd79c8c2
kern: implement port debug
2020-12-10 01:44:27 -08:00
Michael Scire
8a4bf6a0a8
kern: add handle table/process/suspend/resume debug
2020-12-09 23:44:36 -08:00
Michael Scire
af259eabda
kern: implement thread call stack debug
2020-12-09 22:49:04 -08:00
Michael Scire
bcc7eed037
kern: add debug thread dump
2020-12-09 05:59:54 -08:00
Michael Scire
32803d9920
fs: update + consolidate path normalization logic
2020-12-06 19:56:45 -08:00
Michael Scire
c45088d1cd
kern: add support for InfoType_FreeThreadCount
2020-12-04 18:20:56 -08:00
Michael Scire
6da28f4a27
erpt: update for 11.0.0 ( closes #1218 )
2020-12-03 11:13:35 -08:00
Michael Scire
726d7b6e4d
kern: tweak optimization settings for hot paths
2020-12-02 06:43:37 -08:00
Michael Scire
390bdc7b6b
kern: more iterator adjustments
2020-12-02 06:43:37 -08:00
Michael Scire
ccd2798ae2
ams: this version will be 0.16.0
2020-12-02 06:43:37 -08:00
Michael Scire
41a53075e5
hot path: just in case
2020-12-02 06:43:37 -08:00
Michael Scire
ab8de72db0
microkernel: hot paths are pretty fucking hot
2020-12-02 06:43:37 -08:00
Michael Scire
e400e2afc7
kern: stubs for Svc39, 3A, 46, 47
2020-12-02 06:43:37 -08:00
Michael Scire
c8ebd7eea0
KConditionVariable/KAddressArbiter: no need for global compare thread
2020-12-02 06:43:37 -08:00
Michael Scire
8b2ed36698
kern: cleanup KThread, optimize/normalize KThreadQueue/KWaitObject
2020-12-02 06:43:37 -08:00
Michael Scire
f469dfbeb3
kern: SvcGetResourceLimitPeakValue
2020-12-02 06:43:37 -08:00
Michael Scire
694e3b579e
pgl: update for 11.0.0
2020-12-02 06:43:37 -08:00
Michael Scire
a685842804
exo: 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
b96b162b0b
sdmmc: fix UHS-I tuning init for SD cards
2020-11-18 15:08:44 -08:00
Michael Scire
512fc8f9b1
sdmmc: various fixes + logging as bugs are debugged
2020-11-18 15:08:44 -08:00
Michael Scire
898fe61034
exo: read first two sd card sectors in mariko_fatal
2020-11-18 15:08:44 -08:00
Michael Scire
7bcd5c6e3b
exo: implement start of mariko fatal handler
2020-11-18 15:08:44 -08:00
Michael Scire
ee3a7e7740
exo: disable untranslated gpu accesses on mariko
2020-11-15 00:45:41 -08:00
Michael Scire
b4c908ba9f
exo/program: release, debug, audit configs
2020-11-14 14:14:07 -08:00
Michael Scire
71a38ae74d
libexo/sc7fw: support release/debug/audit
2020-11-14 12:17:38 -08:00
Michael Scire
affdea9244
boot: various bugfixes (b/w logo displays now)
2020-11-14 03:37:51 -08:00
Michael Scire
68f42a14c8
boot: update/refactor display management to support hw type 5/display 0x1040/0x2050
2020-11-14 03:37:51 -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