Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							f5052b4bca 
							
						 
					 
					
						
						
							
							loader: update for changes in 14.0.0  
						
						
						
					 
					
						2022-04-17 20:11:05 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							70d67bb115 
							
						 
					 
					
						
						
							
							loader: use os apis for interacting with process memory  
						
						
						
					 
					
						2022-04-17 18:51:36 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							dd78ede99f 
							
						 
					 
					
						
						
							
							ams: use R_SUCCEED, R_THROW globally  
						
						
						
					 
					
						2022-03-26 00:14:36 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							64a97576d0 
							
						 
					 
					
						
						
							
							ams: support building unit test programs on windows/linux/macos  
						
						
						
					 
					
						2022-03-21 17:21:44 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							36e3519982 
							
						 
					 
					
						
						
							
							strat: add missing semicolon  
						
						
						
					 
					
						2022-02-16 22:13:41 -08:00 
						 
				 
			
				
					
						
							
							
								SciresM 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							96f95b9f95 
							
						 
					 
					
						
						
							
							Integrate new result macros. ( #1780 )  
						
						... 
						
						
						
						* result: try out some experimental shenanigans
* result: sketch out some more shenanigans
* result: see what it looks like to convert kernel to use result conds instead of guards
* make rest of kernel use experimental new macro-ing 
						
					 
					
						2022-02-14 14:45:32 -08:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							06f68a8159 
							
						 
					 
					
						
						
							
							loader: refactor to remove fake namespaces  
						
						
						
					 
					
						2021-10-10 21:37:29 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							d9dc04318d 
							
						 
					 
					
						
						
							
							loader: refactor ro manager/improve accuracy  
						
						
						
					 
					
						2021-10-10 18:22:32 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							1ab0bd1765 
							
						 
					 
					
						
						
							
							ams: replace most remaining operator & with std::addressof  
						
						
						
					 
					
						2021-10-09 14:49:53 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							b0e520112b 
							
						 
					 
					
						
						
							
							strat: always use explicit result namespacing  
						
						
						
					 
					
						2021-10-09 10:36:21 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							6a53726833 
							
						 
					 
					
						
						
							
							strat: build sysmodules with -Wextra/-Werror  
						
						
						
					 
					
						2021-10-06 23:22:54 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							4866e80769 
							
						 
					 
					
						
						
							
							svc: refactor/rename MemoryInfo fields  
						
						
						
					 
					
						2021-10-05 15:16:54 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							719ead824e 
							
						 
					 
					
						
						
							
							strat: remove map namespace, svc: add address space defs  
						
						
						
					 
					
						2021-10-05 12:22:34 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							6f680fe63b 
							
						 
					 
					
						
						
							
							strat: use svc:: over ::svc  
						
						
						
					 
					
						2021-10-04 14:54:13 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							77fe5cf6f5 
							
						 
					 
					
						
						
							
							ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals  
						
						
						
					 
					
						2021-10-04 12:59:10 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							6f76066d24 
							
						 
					 
					
						
						
							
							os: remove ManagedHandle, refactor to use NativeHandle typename  
						
						
						
					 
					
						2021-10-04 12:33:09 -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 
							
						 
					 
					
						
						
						
						
							
						
						
							da208f8001 
							
						 
					 
					
						
						
							
							ams-1.0.0: meso no longer optional, remove conditional logic  
						
						
						
					 
					
						2021-09-06 16:26:50 -07:00 
						 
				 
			
				
					
						
							
							
								SciresM 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a6729171d3 
							
						 
					 
					
						
						
							
							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-03-01 14:18:27 -08:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							e4e278bb3d 
							
						 
					 
					
						
						
							
							util::unique_lock, update loader to new sf semantics  
						
						
						
					 
					
						2021-01-20 23:39:31 -08:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							9ca1d3a7f7 
							
						 
					 
					
						
						
							
							loader: fix process handle management on create process error  
						
						
						
					 
					
						2020-12-06 21:20:42 -08:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							1b164613a6 
							
						 
					 
					
						
						
							
							loader: support 11.x DisableDeviceAddressSpaceMerge  
						
						
						
					 
					
						2020-12-02 06:43:37 -08:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							632c8984c8 
							
						 
					 
					
						
						
							
							loader: update for 11.0.0 (anti-dg + set program args abi)  
						
						
						
					 
					
						2020-12-02 06:43:37 -08:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							dd56f8449f 
							
						 
					 
					
						
						
							
							ldr/hbl: support address space width overrides  
						
						
						
					 
					
						2020-11-20 16:57:07 -08:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							074364753f 
							
						 
					 
					
						
						
							
							loader: improve verification terminology  
						
						
						
					 
					
						2020-09-08 15:34:22 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							51dd668c7c 
							
						 
					 
					
						
						
							
							loader: fix typo  
						
						
						
					 
					
						2020-07-13 17:44:20 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							c01753370a 
							
						 
					 
					
						
						
							
							ams: update to know about 10.1.0  
						
						
						
					 
					
						2020-07-13 17:34:48 -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 
							
						 
					 
					
						
						
						
						
							
						
						
							17b6bcfd37 
							
						 
					 
					
						
						
							
							loader: correct anti-downgrade tables for new version scheme  
						
						
						
					 
					
						2020-05-06 22:39:11 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							73552c86c3 
							
						 
					 
					
						
						
							
							loader: update for 10.0.0  
						
						
						
					 
					
						2020-04-14 02:45:28 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							dd80e1f463 
							
						 
					 
					
						
						
							
							loader: update anti-downgrade tables for 10.0.0  
						
						
						
					 
					
						2020-04-13 23:44:01 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							6719abec65 
							
						 
					 
					
						
						
							
							hos::Version: rename enum members  
						
						
						
					 
					
						2020-04-13 22:19:44 -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 d6ff261fcc168447d80ed6ff261fcc168447d80ehttps://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 
							
						 
					 
					
						
						
						
						
							
						
						
							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 
							
						 
					 
					
						
						
						
						
							
						
						
							de1e6c9705 
							
						 
					 
					
						
						
							
							loader: update anti-downgrade tables for 9.1.0  
						
						
						
					 
					
						2019-12-11 13:35:22 -08:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							1556a92a38 
							
						 
					 
					
						
						
							
							random: use TinyMT instead of XorShift  
						
						
						
					 
					
						2019-12-09 23:50:47 -08:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							746dbfe018 
							
						 
					 
					
						
						
							
							ams_mitm: Implement emummc Nintendo folder redirection  
						
						
						
					 
					
						2019-12-07 12:41:28 -08:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							421324b498 
							
						 
					 
					
						
						
							
							mitm/cfg: pass around override status for decision-making  
						
						
						
					 
					
						2019-12-07 12:41:28 -08:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							ea3ebbaa7d 
							
						 
					 
					
						
						
							
							strat: TitleId -> ProgramId, titles->contents  
						
						
						
					 
					
						2019-12-07 12:41:28 -08:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							d7a06057eb 
							
						 
					 
					
						
						
							
							strat: split out common functionality for future meso use  
						
						
						
					 
					
						2019-12-07 12:41:28 -08:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							8cb77ac136 
							
						 
					 
					
						
						
							
							namespace sts -> namespace ams  
						
						... 
						
						
						
						namespace sts::ams -> ams::exosphere, ams::.
This is to facilitate future use of ams:: namespace code in
mesosphere, as we'll want to include ams::util, ams::result, ams::svc... 
						
					 
					
						2019-12-07 12:41:28 -08:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							4059dc6187 
							
						 
					 
					
						
						
							
							Results: Implement namespaced, type-safe results.  
						
						... 
						
						
						
						Because I was working on multiple things at once, this commit also:
- Adds wrappers for/linker flags to wrap CXX exceptions to make them
  abort. This saves ~0x8000 of memory in every system module.
- Broadly replaces lines of the pattern if (cond) { return ResultX; }
  with R_UNLESS(!cond, ResultX());.
- Reworks the R_TRY_CATCH macros (and the result macros in general). 
						
					 
					
						2019-12-07 12:41:28 -08:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							0b22af1206 
							
						 
					 
					
						
						
							
							libstrat: namespace remaining non-namespaced code. more new-ipc updates  
						
						
						
					 
					
						2019-12-07 12:41:28 -08:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							2f959785e1 
							
						 
					 
					
						
						
							
							loader: update for new-ipc  
						
						
						
					 
					
						2019-12-07 12:41:28 -08:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							add18d868f 
							
						 
					 
					
						
						
							
							sts: add STS_UNREACHABLE_DEFAULT_CASE()  
						
						
						
					 
					
						2019-12-07 12:41:28 -08:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							609a302e16 
							
						 
					 
					
						
						
							
							os: implement waitable management.  
						
						... 
						
						
						
						This implements waitable management for Events (and
implements Events). It also refactors PM to use new
Event/Waitable semantics, and also adds STS_ASSERT
as a macro for asserting a boolean expression. The
rest of stratosphere has been refactored to use
STS_ASSERT whenever possible. 
						
					 
					
						2019-12-07 12:41:28 -08:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							93d83c5bb9 
							
						 
					 
					
						
						
							
							ams: initial support for 9.0.0  
						
						
						
					 
					
						2019-09-14 10:43:39 -07:00