1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-05 19:51:45 +00:00
Commit graph

538 commits

Author SHA1 Message Date
TuxSH
3682a56062 O_RDONLY is 0 2018-05-09 00:53:13 +02:00
TuxSH
77faa00a57 Rewrite package2.c 2018-05-09 00:19:51 +02:00
hexkyz
a39ad22841
Boot: Fleshing out more low level stuff
Add register read/write for 2.0.0+ (with svcReadWriteRegister)
Add hardware type recognition
Implement PMC clock out configuration
Implement PINMUX park updating
2018-05-08 22:48:43 +01:00
TuxSH
7df879d346 Change the allocation logic in stratosphere.c 2018-05-08 18:46:54 +02:00
TuxSH
70bb496388 Refactor stage1's and stage2's main.c files 2018-05-08 16:51:43 +02:00
TuxSH
50498e3b20 Don't deinit the display yet, for now 2018-05-08 15:44:48 +02:00
TuxSH
d43255d484 Fix bug in crt0 2018-05-08 14:56:17 +02:00
TuxSH
461e886244 Make di.c accept arbitrary FB addresses, fix flickering issues 2018-05-08 13:45:37 +02:00
TuxSH
170cd2d8c4 [stage2] Forgot to change that, too 2018-05-08 13:45:37 +02:00
TuxSH
d390ead56f Fix faulty IRAM check in check_32bit_address_range_in_program 2018-05-08 13:45:37 +02:00
TuxSH
880f49cfa5 Fix inverted condition issue in check_32bit_address_range_loadable 2018-05-08 13:45:37 +02:00
TuxSH
1fd098e074 [stage1] Fix DEFAULT_BCT0_FOR_DEBUG 2018-05-08 13:45:37 +02:00
TuxSH
e8306361f0 Rewrote crt0, init, and chainloading code
start.s, init.c, linker.ld and linker.specs are meant
to be re-used by user applications, should they remove the defines
from init.c and the .chainloader* sections from the linker script
2018-05-08 13:45:37 +02:00
TuxSH
699ddfc043 Simplify fsdev_set_default_device 2018-05-08 13:44:47 +02:00
Michael Scire
c800421a36 Loader: Fix char * const correctness. 2018-05-08 04:43:07 -06:00
Michael Scire
5c6f0fc14c SM: Match official SAC validation behavior. 2018-05-08 03:02:57 -06:00
Michael Scire
aa158dbb5a Loader: Fix game update content loading, fix SD card mounting on newer firmwares. Closes #61. 2018-05-08 02:59:18 -06:00
Michael Scire
44127faa17 SM: Fix svcGetSystemInfo bug, now works on 5.0.2. 2018-05-07 22:48:08 -06:00
TuxSH
16ccc8a241 Merge branch 'master' of github.com:Atmosphere-NX/Atmosphere 2018-05-07 23:06:01 +02:00
TuxSH
5084f09081 Fix warning/error, etc. in fs_dev.c 2018-05-07 23:05:53 +02:00
Michael Scire
b346c8f375 Fix minor bugs in loader/sm 2018-05-07 07:31:36 -06:00
Michael Scire
9e558dafee libstratosphere: Make boolean autoparsing match official semantics. 2018-05-07 07:22:41 -06:00
TuxSH
25db9fcc4a Fix fsdev_set_default_device bug 2018-05-07 14:25:01 +02:00
Michael Scire
ae78ee22da ProcessManager: Fully implement pm:dmnt. Remove debug logging. 2018-05-07 04:45:44 -06:00
Michael Scire
6dc8ab6f17 ProcessManager: Refactor resource limits, complete pm:shell. 2018-05-07 03:50:45 -06:00
TuxSH
7695b5bdbd [stage2] Fix the ordering of rules in linker script 2018-05-07 10:53:41 +02:00
Michael Scire
700f92162d ProcessManager: Fix Synchronization. Now works on 1.0.0 hardware. 2018-05-06 23:00:05 -06:00
Kate J. Temkin
8d071ca7c9 fusee: fix boot partition selection 2018-05-06 22:47:36 -06:00
Kate J. Temkin
f5ed029cdb fusee: fix regression in card detection 2018-05-06 22:32:52 -06:00
Kate J. Temkin
5065a04451 fusee-secondary: don't create 3GiB output files :) 2018-05-06 21:49:42 -06:00
TuxSH
75dfcd07a9 Add chainloader (stage2) (need to edit more files) 2018-05-07 01:02:23 +02:00
Léo Lam
bd42514af0 ldr: Fix printf format string for size_t
%z should be used for size_t, otherwise the wrong value may be printed.

Fixes two -Wformat warnings.
2018-05-06 21:07:34 +02:00
TuxSH
2c07b5a2fb Rework fs_dev mount code 2018-05-06 18:41:40 +02:00
TuxSH
a29e800661 Revert "Fix mount code in fs_dev.c"
This reverts commit 306555e522.
2018-05-06 18:14:08 +02:00
TuxSH
8b418732ad Upgrade FatFs to R0.13b 2018-05-06 18:00:22 +02:00
TuxSH
4265dc7b65 Don't pass the mmc struct around 2018-05-06 17:22:12 +02:00
hexkyz
8c7492654c
Fix another critically missing credit 2018-05-06 16:13:04 +01:00
hexkyz
a9513f8d2f
Merge pull request #85 from leoetlino/boot
boot: Fix usage of svcQueryIoMapping and building
2018-05-06 15:55:04 +01:00
TuxSH
68eec056a9 Fix const-correctness issue in sdmmc.h 2018-05-06 15:22:35 +02:00
TuxSH
17545ac103 Merge branch 'master' of github.com:SciresM/Atmosphere-NX 2018-05-06 15:02:45 +02:00
TuxSH
1aa6b92bc4 Normalize drivers between stage1 and 2 2018-05-06 15:02:13 +02:00
SciresM
1b21a7022d
Fix critically missing credit 2018-05-06 06:28:34 -06:00
Léo Lam
999a15c887 boot: Make gpio helper functions internally linked 2018-05-06 13:09:33 +02:00
Léo Lam
555ed96e80 boot: Fix missing argument for gpio_base_vaddr 2018-05-06 13:09:33 +02:00
Léo Lam
d1e9de50e8 boot: Fix invalid usage of svcQueryIoMapping 2018-05-06 13:09:33 +02:00
TuxSH
306555e522 Fix mount code in fs_dev.c 2018-05-06 13:03:45 +02:00
TuxSH
8f5a5acb06 Fix the g_bct0 overflow issue, malloc now works
The linker chose the unused symbol from loader.c.
2018-05-06 11:46:48 +02:00
Michael Scire
6d6ecb503a ProcessManager: Fix svcCreateEvent handle inversion bug, and others.
NOTE: Debugging logs have been left in, and will be cleaned up once PM
is working.
2018-05-06 02:23:47 -06:00
TuxSH
6e5d4b8fc9 Fix bss overflow error 2018-05-06 00:45:30 +02:00
TuxSH
8648cac77b [stage2] Remove printk, introduce UTF-8 console stdio 2018-05-05 23:56:18 +02:00