Michael Scire
22f30e4e51
use cxxabi for demangling on linux/windows
2022-03-10 15:24:26 -08:00
Michael Scire
87764613f2
abort/error: print backtrace, abuse templates, overhaul result/diag (macos not done yet)
2022-03-10 01:17:14 -08:00
Michael Scire
100bead52b
libs: add ongoing work to facilitate hactool rewrite
2022-03-08 10:05:32 -08:00
Michael Scire
01c939f774
ams: support building unit test programs on windows/linux/macos
2022-03-06 12:08:20 -08:00
Michael Scire
2fce50471b
build: remove unnecessary g-dwarf4 flags
2022-02-14 14:58:52 -08: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
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
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
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
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
e4b30f4022
kern: build without unwind tables for lto
2020-07-31 14:50:52 -07:00
Michael Scire
bb6671a94a
exo2: implement SmcReencryptDeviceUniqueData
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
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
9accbcf8e1
meso: use -fno-non-call-exceptions, -fno-use-cxa-atexit
2020-01-31 04:47:08 -08:00
Michael Scire
86eea62cd8
kernel: use .rel.ro
2020-01-31 03:37:49 -08:00
Michael Scire
3982afdd6b
meso: skeleton buildsystem for kernel
2020-01-24 02:11:23 -08:00
Michael Scire
18d998034d
buildsystem: more fixes
2019-12-31 02:54:06 -08:00
Michael Scire
8e3c34ea89
meso: build with -ffixed-x18
2019-12-31 00:46:09 -08:00
Michael Scire
b5becba8ff
kernelldr: skeleton build system in prep for dev
2019-12-31 00:46:09 -08:00
Michael Scire
0105455086
git subrepo clone https://github.com/Atmosphere-NX/Atmosphere-libs libraries
...
subrepo:
subdir: "libraries"
merged: "07af583b"
upstream:
origin: "https://github.com/Atmosphere-NX/Atmosphere-libs "
branch: "master"
commit: "07af583b"
git-subrepo:
version: "0.4.0"
origin: "https://github.com/ingydotnet/git-subrepo "
commit: "5d6aba9"
2019-12-09 18:54:29 -08:00