1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-24 04:42:11 +00:00
Commit graph

2226 commits

Author SHA1 Message Date
Michael Scire
7e780301de Fix AES-GCM code. 2018-03-08 17:26:42 -08:00
Michael Scire
8e5228866c Fix smcComputeCmac, generally improve userpage cache usage 2018-03-08 04:59:00 -08:00
Michael Scire
ec8f27f1be Fix AES ECB encryption not encrypting 2018-03-08 03:16:50 -08:00
TuxSH
b35c418558 memcpy(x, NULL, 0) is undefined behavior 2018-03-08 11:17:46 +01:00
Michael Scire
3d8ff446ad Implement BootReason config 2018-03-08 01:48:57 -08:00
TuxSH
ff9322a468 Use and adapt the UART driver from hekate/hwinit 2018-03-08 01:02:45 +01:00
TuxSH
a409016a88 Fix fuse_get_hardware_type for 4.x 2018-03-07 23:24:38 +01:00
TuxSH
d5bb96c0f8 Fix and with mask issue in smc_user.c 2018-03-07 19:24:52 +01:00
Mike H
22f6c27654
Fix up comment 2018-03-07 16:11:53 +00:00
TuxSH
54fac349f2 Fix user_generate_specific_aes_key wrong register use 2018-03-07 15:50:50 +01:00
TuxSH
4f0e8b8467 Fix bug in user_generate_specific_aes_key, add other read/write le/be funcs 2018-03-07 15:11:53 +01:00
TuxSH
71f01aaa43 Fix freudian slip 2018-03-07 14:34:47 +01:00
Michael Scire
6592744b3b Add debug region to mapped memory 2018-03-07 04:00:19 -08:00
Michael Scire
b26b8e1f5c Fix smcConfigureCarveout 2018-03-07 03:45:27 -08:00
Michael Scire
d4c1e0b982 Merge branch 'master' of https://github.com/SciresM/Atmosphere-NX 2018-03-07 03:44:37 -08:00
Michael Scire
11e694d15c Fix SMMU Enable preventing FS from talking to NAND MMIO 2018-03-07 03:37:11 -08:00
TuxSH
d2b1febb43 Implement dbg log interface 2018-03-06 01:29:06 +01:00
TuxSH
a65d380889 Make enum names consistent 2018-03-05 23:59:46 +01:00
TuxSH
827280ca12 Fix lock_try_acquire(&g_is_user_smc_in_progress) calls 2018-03-05 21:07:09 +01:00
Michael Scire
6b10c21a10 Default kernel carveout is ID 4, not 5 2018-03-05 03:27:24 -08:00
TuxSH
5e75d8b2bd Fix func_copy null deref (?) 2018-03-05 09:41:39 +01:00
Michael Scire
ffd0181aa1 Fix Stack Overflow in SMC handler 2018-03-04 19:07:17 -08:00
Michael Scire
1fa64fccbf Add pre-defined panic utilities 2018-03-04 17:23:54 -08:00
TuxSH
4c38be1560 Fix lock clear in warmboot_main 2018-03-04 21:57:25 +01:00
TuxSH
3e128a8b3e Add TI charger stuff to warmboot_main, add 4.x hw_type stuff as well 2018-03-04 14:04:49 +01:00
TuxSH
ca80408349 Fix latest commit and set MAILBOX_NX_SECMON_BOOT_TIME 2018-03-04 00:36:40 +01:00
Michael Scire
58036dac0b Fix coldboot init (presentations lie) 2018-03-03 12:22:50 -08:00
TuxSH
a6c7a2c57e Refactor 32-bit register definitions 2018-03-03 20:23:13 +01:00
TuxSH
c0f99fcd1c Fix invalidate_icache_all dsb correctness 2018-03-03 20:03:52 +01:00
TuxSH
3d974857e4 warmboot_main: fix panic reason in panic code 2018-03-03 19:49:25 +01:00
TuxSH
4a2c9229ee Fix warmboot vs cpu_on check 2018-03-03 19:43:44 +01:00
TuxSH
03c1ad7119 Add most of warmboot_main 2018-03-03 19:31:22 +01:00
TuxSH
be6b67669f Finish writing warmboot _crt0_ 2018-03-03 16:58:23 +01:00
Michael Scire
48e8d9c7de Fix bugs required to successfully hand off to kernel 2018-03-03 06:15:46 -08:00
TuxSH
93864f2289 Use the boot critical section 2018-03-03 03:43:46 +01:00
TuxSH
92d2abaf1c Fix section alignment, attempt to clean up the crt0 a bit 2018-03-03 02:02:10 +01:00
Michael Scire
661bcaa3ec Change 'success' panic location to end of coldboot_main() 2018-03-02 15:09:51 -08:00
Michael Scire
102fb5004f Cleanup TODOs, implement bootconfig SCR_EL3 bit setting 2018-03-02 15:04:16 -08:00
TuxSH
bf63a077b1 Implement critical section (Lamport's Baker s algorithm)...
thanks @fincs for sample code
2018-03-02 23:37:36 +01:00
Michael Scire
301b166684 Implement CPU state init, fix bug in cpu_context restore 2018-03-02 14:16:54 -08:00
Michael Scire
a292e95c2f Finish bootup_misc_mmio() - Cur build gets to end of pk2ldr. 2018-03-02 13:44:21 -08:00
Michael Scire
ca7b441079 Add call to se_generate_stored_vector() before validating 2018-03-02 12:59:12 -08:00
Michael Scire
3388198a26 Add coldboot mmio init (for non 4.x), required for FLOW writes to succeed. 2018-03-02 12:45:37 -08:00
Michael Scire
e7e62ef90b Implement half of bootup_misc_mmio() 2018-03-02 12:16:30 -08:00
Michael Scire
b3dbfd8ee0 Update pk2ldr outline, prepare for bootup_misc_mmio() impl 2018-03-02 11:28:05 -08:00
Michael Scire
303e189559 Implement a few TODOs with CAR driver. 2018-03-01 23:33:43 -08:00
Michael Scire
5f7308efd1 Implement Clock/Reset Driver. 2018-03-01 22:50:07 -08:00
TuxSH
cad9cdc6e0 Reintroduce unmap_* in package2.c 2018-03-02 07:33:47 +01:00
Michael Scire
78bee60485 Fix dangling comments 2018-03-01 21:24:22 -08:00
Michael Scire
7b6d15ec36 Fix up package2.c, current build makes it to the panic() on hardware 2018-03-01 21:15:19 -08:00