Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							000713186f 
							
						 
					 
					
						
						
							
							windows: link libgcc/libstdc++ statically  
						
						
						
					 
					
						2022-03-21 17:21:44 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							3c6d965e1a 
							
						 
					 
					
						
						
							
							symbols: use same strategy on windows as on macOS  
						
						
						
					 
					
						2022-03-21 17:21:44 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							49cddd68e4 
							
						 
					 
					
						
						
							
							use cxxabi for demangling on linux/windows  
						
						
						
					 
					
						2022-03-21 17:21:44 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							646f84bad1 
							
						 
					 
					
						
						
							
							abort/error: print backtrace, abuse templates, overhaul result/diag (macos not done yet)  
						
						
						
					 
					
						2022-03-21 17:21:44 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							13697fa921 
							
						 
					 
					
						
						
							
							libs: add ongoing work to facilitate hactool rewrite  
						
						
						
					 
					
						2022-03-21 17:21:44 -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 
							
						 
					 
					
						
						
						
						
							
						
						
							2fce50471b 
							
						 
					 
					
						
						
							
							build: remove unnecessary g-dwarf4 flags  
						
						
						
					 
					
						2022-02-14 14:58:52 -08:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							2161365f4f 
							
						 
					 
					
						
						
							
							ams: update for awareness of architecture revision  
						
						
						
					 
					
						2021-10-31 11:18:17 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							0a58e803be 
							
						 
					 
					
						
						
							
							kern/test: add wip qemu-virt board support to mesosphere  
						
						
						
					 
					
						2021-10-25 17:31:14 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							52c914afcc 
							
						 
					 
					
						
						
							
							ams-libs: move -Wno-invalid-offsetof to cxxflags, not cflags  
						
						
						
					 
					
						2021-10-18 13:10:02 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							692247b26b 
							
						 
					 
					
						
						
							
							ams-libs: use nintendo_nx identifier for source file compat bpmp<->ccplex  
						
						
						
					 
					
						2021-10-18 11:10:25 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							889d843718 
							
						 
					 
					
						
						
							
							ams: improve offsetof style consistency  
						
						
						
					 
					
						2021-10-18 00:17:13 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							ffc143860b 
							
						 
					 
					
						
						
							
							strat: use ams::Main() instead of main(argc, argv)  
						
						
						
					 
					
						2021-10-07 17:44:54 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							6a53726833 
							
						 
					 
					
						
						
							
							strat: build sysmodules with -Wextra/-Werror  
						
						
						
					 
					
						2021-10-06 23:22:54 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							237b11892e 
							
						 
					 
					
						
						
							
							fusee_cpp: implement mtc erista patram writes  
						
						
						
					 
					
						2021-09-06 16:26:50 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							f2a1c60218 
							
						 
					 
					
						
						
							
							fusee_cpp: tweaks, now completes SecureInitialize on hardware  
						
						
						
					 
					
						2021-09-06 16:26:50 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							5f60bc7186 
							
						 
					 
					
						
						
							
							fusee-cpp: add basic structural stubs  
						
						
						
					 
					
						2021-09-06 16:26:50 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							e086022b77 
							
						 
					 
					
						
						
							
							build: use DWARFv4 explicitly for IDA compatibility with debug elfs  
						
						
						
					 
					
						2021-06-25 23:48:41 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							01ce7cef14 
							
						 
					 
					
						
						
							
							exo: revert section sorting  
						
						
						
					 
					
						2021-05-10 07:59:38 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							0a11cbc2d6 
							
						 
					 
					
						
						
							
							exo: sort sections by alignment  
						
						
						
					 
					
						2021-05-02 10:50:18 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							32f487abfb 
							
						 
					 
					
						
						
							
							sm: update to excise unnecessary library code  
						
						
						
					 
					
						2021-05-02 10:33:15 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							d6fff49845 
							
						 
					 
					
						
						
							
							exo: remove duplicate flags  
						
						
						
					 
					
						2021-04-29 01:07:01 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							d05e8fb23a 
							
						 
					 
					
						
						
							
							exo: fix for newer binutils  
						
						
						
					 
					
						2021-04-29 01:04:26 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							4f16106702 
							
						 
					 
					
						
						
							
							exo/meso: update for gcc 11 compatibility  
						
						
						
					 
					
						2021-04-26 20:06:18 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							b5816b4a91 
							
						 
					 
					
						
						
							
							stratosphere: discard unnecessary .eh_frame segment  
						
						
						
					 
					
						2021-01-13 08:30:24 -08:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							a26e8ac54f 
							
						 
					 
					
						
						
							
							ams: resolve source dir inconsistency  
						
						
						
					 
					
						2020-12-29 12:28:07 -08:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							152def19c0 
							
						 
					 
					
						
						
							
							kern: build as -Os instead of -O2  
						
						
						
					 
					
						2020-12-02 06:43:37 -08:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							71a38ae74d 
							
						 
					 
					
						
						
							
							libexo/sc7fw: support release/debug/audit  
						
						
						
					 
					
						2020-11-14 12:17:38 -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 
						 
				 
			
				
					
						
							
							
								SciresM 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ac04e02a08 
							
						 
					 
					
						
						
							
							Meso build targets ( #1196 )  
						
						... 
						
						
						
						* meso: commit wip (thanks fincs) rewrite to support build targets
* meso: commit mostly-working build system
* meso: correct .o dependencies in kernel/kldr
* libstratosphere: fix building after PCH related build changes
Co-authored-by: fincs <fincs@devkitpro.org> 
						
					 
					
						2020-10-27 13:55:19 -07:00 
						 
				 
			
				
					
						
							
							
								fincs 
							
						 
					 
					
						
						
						
						
							
						
						
							3ace441b1c 
							
						 
					 
					
						
						
							
							arm64: set -march in cpu specific configuration  
						
						
						
					 
					
						2020-08-18 15:17:40 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							920b017677 
							
						 
					 
					
						
						
							
							kern: implement svc trace  
						
						
						
					 
					
						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 
							
						 
					 
					
						
						
						
						
							
						
						
							35fffade4e 
							
						 
					 
					
						
						
							
							libstrat: fix building of source/os/*  
						
						
						
					 
					
						2020-08-15 09:20:11 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							44c5cb9789 
							
						 
					 
					
						
						
							
							ams: add support for cpu-extension specific source files  
						
						
						
					 
					
						2020-08-11 11:43:34 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							420bc7df9b 
							
						 
					 
					
						
						
							
							ams: update build system to add generic-fallback support  
						
						
						
					 
					
						2020-08-11 11:22:56 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							e4b30f4022 
							
						 
					 
					
						
						
							
							kern: build without unwind tables for lto  
						
						
						
					 
					
						2020-07-31 14:50:52 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							0a53c74aad 
							
						 
					 
					
						
						
							
							libstrat: fix bugs/compiler warnings  
						
						
						
					 
					
						2020-07-02 14:02:50 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							e2b17086d4 
							
						 
					 
					
						
						
							
							fs: implement AccessLog, enable for File operations  
						
						
						
					 
					
						2020-07-02 14:02:50 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							f594de0081 
							
						 
					 
					
						
						
							
							ams: add -Wno-format-truncation to flags  
						
						
						
					 
					
						2020-06-25 17:32:34 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							bb6671a94a 
							
						 
					 
					
						
						
							
							exo2: implement SmcReencryptDeviceUniqueData  
						
						
						
					 
					
						2020-06-14 22:07:45 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							6bf283ec2e 
							
						 
					 
					
						
						
							
							exo2: implement SmcGetConfig  
						
						
						
					 
					
						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 
						 
				 
			
				
					
						
							
							
								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 
							
						 
					 
					
						
						
						
						
							
						
						
							e04679f05a 
							
						 
					 
					
						
						
							
							crypto: add aes (ecb, ctr, xts)  
						
						
						
					 
					
						2020-04-05 23:25:28 -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 
							
						 
					 
					
						
						
						
						
							
						
						
							c703be86fc 
							
						 
					 
					
						
						
							
							stratosphere template: allow for per-module defines  
						
						
						
					 
					
						2020-03-08 01:39:16 -08:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							d675aa3414 
							
						 
					 
					
						
						
							
							crypto: Implement BigNum/ExpMod  
						
						
						
					 
					
						2020-02-23 06:51:32 -08:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							30b3825f5c 
							
						 
					 
					
						
						
							
							libmesosphere: precompile mesosphere.hpp  
						
						
						
					 
					
						2020-02-19 01:22:51 -08:00