1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-10 06:01:52 +00:00
Commit graph

68 commits

Author SHA1 Message Date
Michael Scire
f00dd05f82 Make stratosphere use new libnx HosVersion API 2019-02-20 14:17:51 -08:00
Michael Scire
784964d49d ams.mitm: add bpc handler, for reboot power button stuff 2019-02-04 21:17:05 -08:00
Michael Scire
e715197290 Merge fs.mitm and set.mitm. 2019-02-04 20:15:16 -08:00
Michael Scire
4e99eaa590 pm: Update for 7.0.0 2019-01-31 03:32:47 -08:00
Michael Scire
a3adb70a04 stratosphere: version detect via svcCallSecureMonitor 2019-01-31 03:24:19 -08:00
Michael Scire
da68d02c77 pm: fix memory profiles *again* (required for botw video update on 3.0) 2019-01-25 00:03:54 -08:00
Michael Scire
2677cf68d4 pm/0.8.3: remove memory profile adjustment entirely 2019-01-24 12:09:41 -08:00
Michael Scire
cedbcba3e3 0.8.3: fix some memory/deadlock issues 2019-01-24 11:41:32 -08:00
Michael Scire
08d1e9b880 fatal: fix payload size, pm: take from application instead of applet 2019-01-24 08:33:06 -08:00
Michael Scire
8a73ad996a pm: add support for maintenance mode 2019-01-22 05:38:27 -08:00
Michael Scire
f61f5feaf4 pm: Launch set.mitm earlier in boot. 2019-01-22 05:38:27 -08:00
Michael Scire
83025080c8 sm: change InstallMitM to wait for registration instead of 0xE15 2019-01-22 05:38:27 -08:00
Michael Scire
49ad66e478 stratosphere: Fix fs.mitm bis_protect race condition. 2018-11-30 02:42:48 -08:00
Michael Scire
7bc95f35d7 Merge branch 'bis_protect' 2018-11-29 12:48:20 -08:00
Michael Scire
420361597e all: Change flagging location. Support (but deprecate) old location. 2018-11-15 04:26:40 -08:00
Michael Scire
2838e41819 Add defines for atmosphere git revision. 2018-11-13 12:42:35 -08:00
Michael Scire
cf510ad9bf pm: Only register privileged processes with FS as needed 2018-11-08 05:28:52 -08:00
Michael Scire
54a22797a7 Make libstratosphere a submodule 2018-11-08 01:24:40 -08:00
Michael Scire
3b8bb325e8 pm: Use non-system event for process tracking. 2018-11-07 23:43:59 -08:00
SciresM
b8f93562c0
Merge branch 'master' into npdmfixup 2018-10-31 18:02:07 +09:00
Michael Scire
6ef34d80a0 libstrat: automatically detect+format rawdata structs correctly. 2018-10-31 05:04:00 +09:00
Michael Scire
887b4e0275 pm: update for libstratosphere refactor 2018-10-31 05:04:00 +09:00
Michael Scire
06accd00f9 pm: steal memory from 4.0.0+ ? applet : application 2018-10-17 16:28:53 -07:00
Michael Scire
5dc31f001e Stratosphere: Fix FS permissions for <4.0.0 KIPs 2018-10-17 16:26:36 -07:00
Michael Scire
6711cd93a8 atmosphere: extract API version management to common folder 2018-10-16 17:54:50 -07:00
Pika
9ae62a27dd Fix ProcesState enum field names 2018-10-16 20:29:48 +09:00
misson20000
2d6aba7a70 pm: add AtmosphereGetCurrentLimitInfo command to pm:dmnt 2018-10-05 13:55:27 +09:00
roblabla
0938057d67 Use new npdm-json format 2018-09-29 02:37:25 +00:00
Michael Scire
488fc0f119 pm: Support for 6.0.0 2018-09-08 23:47:15 -07:00
hexkyz
28e4d4411d Add and fix copyright notices for better GPL compliance (thanks @naehrwert and @CTCaer). 2018-09-07 16:00:13 +01:00
Michael Scire
441e58be56 anti-telemetry: Do not boot Error Collection sysmodule 2018-08-01 23:15:52 -07:00
Michael Scire
cb4089e49c Stratosphere: use isxdigit to check if char is hex. 2018-07-29 17:27:30 -07:00
Michael Scire
5a63f4e304 PM: Make boot2 launch SD card content with StorageId_None 2018-07-27 19:34:22 -07:00
Michael Scire
2667266aad pm.boot2: Skeleton hook for SD-mandated launches 2018-07-27 03:22:06 -07:00
Michael Scire
c079803189 PM: Use enum in EmbeddedBoot2 2018-07-27 02:37:45 -07:00
Michael Scire
9f16062767 PM: Embed boot2 logic in PM. 2018-07-27 02:23:53 -07:00
misson20000
6adcb483e5 pm: remove magic flag/event numbers to improve readability and understandability 2018-07-27 02:03:28 -07:00
Michael Scire
9d0d9d95e1 Stratosphere: Give more memory to SYSTEM, use less memory. 2018-07-27 01:44:34 -07:00
Léo Lam
5b3e8e1c5d stratosphere: Use RAII for locks
This renames the Mutex class member functions so that the mutex types
satisfy Lockable.

This makes them usable with standard std::scoped_lock
and std::unique_lock, which lets us use RAII and avoids the need
for a custom RAII wrapper :)
2018-07-10 09:38:18 -07:00
Léo Lam
18153713d9 pm: Fix missing include 2018-07-10 09:38:18 -07:00
Tony Wasserka
ad636f7216 Modernize C++ usage (#144)
* Stratosphere: Use modern C++ idioms in some places

* algorithms like std::for_each are used instead of raw loops

* Stratosphere: Replace more raw loops with algorithms

* Stratosphere: Add a utility predicate function to test for equality with a reference element

This can be used to rewrite some common raw loops using algorithms instead

* fs.mitm: Use variant

* fs.mitm: Use enum class

* fs.mitm: Turn RomFSSourceInfo::Cleanup into a destructor

This obsoletes the need for a custom deleter in other places

* fs.mitm: Use enum class some more

* fs.mitm: Use unique_ptr

* fs.mitm: Simplify initialization

* Stratosphere: Simplify initialization

* fs.mitm: Use unique_ptr (fix memory leak along the way)

The previous code was using "delete" rather than "delete[]"

* fs.mitm: Use vector::emplace_back rather than push_back

emplace_back constructs elements in-place, hence avoiding a redundant element copy.

* Stratosphere: Replace more raw loops with algorithms

* Stratosphere: Use unique_ptr

* fs.mitm: Replace more raw loops with algorithms

* Stratosphere: Prefer move-construction over copy-construction when moving sink parameters around
2018-06-19 11:07:31 -07:00
Michael Scire
f41b780c0a PM: Fix remaining issues, now works properly again. 2018-06-15 00:47:07 -06:00
Michael Scire
4d36697080 Make PM Compile. Note: Currently broken. 2018-06-14 23:32:01 -06:00
Michael Scire
c2d9ac8f5c fs.mitm: WIP LayeredFS impl (NOTE: UNUSABLE ATM)
Also greatly refactors libstratosphere, and does a lot of other things.
There is a lot of code in this one.
2018-06-14 17:51:18 -06:00
misson20000
28d630a23e pm: add Atmosphere GetProcessHandle command to pm:dmnt (#133) 2018-06-07 23:32:45 -07:00
Tony Wasserka
0359d6535b Build fix 2018-06-03 18:31:03 +02:00
Tony Wasserka
edc099f026 Use "final" and "override" where appropriate (#117) 2018-06-02 22:46:27 -07:00
TuxSH
4e12d55993 loader, pm, sm: build kip as only taget (thanks @fincs !) 2018-05-15 02:28:41 +02:00
TuxSH
cae107557d Fix the remaining warnings in stratosphère 2018-05-15 00:54:12 +02:00
Michael Scire
ba7d0c2cb6 Exosphere: Add API for retrieving versioning info. 2018-05-09 06:29:56 -06:00