Michael Scire
7665721e03
ams-libs: AMS_ASSERT no longer invokes expression
2021-10-07 23:06:21 -07:00
Michael Scire
3ef8f0f73f
os: implement Barrier
2021-10-07 23:06:21 -07:00
Michael Scire
389018db64
os: implement SdkRecursiveMutex
2021-10-07 23:06:21 -07:00
Michael Scire
47bbff43c5
os: add unit tests for ExpandUnsignedValueToAscii
2021-10-07 23:06:20 -07:00
Michael Scire
c357cf7b87
os: implement ExpandUnsignedValueToAscii
...
Nintendo does this as of latest firmware.
It's desirable because it removes the only usage of util::SNPrintf() from os library,
which means programs which don't otherwise use SNPrintf do not need to link it into .text.
This saves ~0xD40 of .text as of time-of-commit when successfully unlinking, and e.g.
reduces our sm (and other modules) memory size by a page.
2021-10-07 23:06:20 -07:00
Michael Scire
6f53cbbe79
os: implement LightSemaphore
2021-10-07 23:06:20 -07:00
Michael Scire
41495ef51b
os: implement LightMessageQueue
2021-10-07 23:06:19 -07:00
Michael Scire
c00d83204f
os: refactor MessageQueue to use new MessageQueueHelper template
2021-10-07 23:06:19 -07:00
Michael Scire
9035b840a2
os: tweak LightEvent codegen
2021-10-07 23:06:19 -07:00
Michael Scire
3d6e8d5281
os: implement LightEvent
2021-10-07 23:06:19 -07:00
Michael Scire
57e380b2d6
os: implement ReadWriteBusyMutex
2021-10-07 23:06:18 -07:00
Michael Scire
6c98cd1ce2
os: implement BusyMutex
2021-10-07 23:06:18 -07:00
Michael Scire
dc52a32285
ncm: fix destructor availability
2021-09-19 11:01:04 -07:00
Michael Scire
b579a6d75e
svc/kern/dd: remove MapDeviceAddressSpace()
2021-09-19 10:35:39 -07:00
Adubbz
4afce6965f
ncm: updated to 13.0.0
2021-09-19 10:35:35 -07:00
Adubbz
66104b830a
ncm: skeleton new commands
2021-09-19 10:35:34 -07:00
Michael Scire
a8bccc95ab
sprofile: fully reimplement sprof:bg + sprof:sp
2021-09-19 10:35:33 -07:00
Michael Scire
8a35d51406
sprofile: implement non-importer bgagent commands
2021-09-19 10:35:33 -07:00
Michael Scire
196c524768
sprofile: implement OpenProfileUpdateObserver
2021-09-19 10:35:33 -07:00
Michael Scire
6b66af37cd
erpt: skeleton sprofile apis
2021-09-19 10:35:32 -07:00
Michael Scire
f85afd2980
boot2: launch nintendo lm from built in system, not none
2021-09-19 10:35:31 -07:00
Michael Scire
2ab649f2b0
cs: fix launching of tio server
2021-09-19 10:35:30 -07:00
Michael Scire
ad9c7eb4dd
cs: fix screenshot packet semantics
2021-09-19 10:35:30 -07:00
Michael Scire
c53eeb27f3
cs: implement TakeScreenShot command
2021-09-19 10:35:30 -07:00
Michael Scire
c31069cc88
cs: fix allocator aborts
2021-09-19 10:35:30 -07:00
Michael Scire
7bb3153938
osdbg: implement thread info api
2021-09-19 10:35:27 -07:00
Michael Scire
f29660c335
boot2: launch dmnt.gen2 over dmnt, when using htc
2021-09-19 10:35:26 -07:00
Michael Scire
bd1fab8516
cs: implement GetFirmwareVersion command
2021-09-19 10:35:25 -07:00
Michael Scire
728191da43
scs: implement EventHandlerThread for shell
2021-09-19 10:35:25 -07:00
Michael Scire
a949c14c95
scs: implement DoShellServer
2021-09-19 10:35:25 -07:00
SciresM
277d2193e2
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-19 10:35:25 -07:00
Michael Scire
0c0bb8153a
fusee: attempt reboot to self if possible, better abort/fatal handlers
2021-09-06 16:32:50 -07:00
Michael Scire
f78be93eac
stratosphere: remove 0.19.0 update cleanup logic.
2021-09-06 16:32:49 -07:00
Michael Scire
fe21509991
ams-1.0.0: meso no longer optional, remove conditional logic
2021-09-06 16:32:47 -07:00
Michael Scire
5c215383b2
dmnt: various cheat changes/suggestions that have been cooking a while
2021-08-20 13:34:00 -07:00
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