-
c7d83c6eb6
Rewrite the memory map-related code...
TuxSH
2018-02-26 22:09:35 +01:00
-
3d40051146
Rename set_core_entrypoint_and_context_id
MerryMage
2018-02-26 17:11:49 +00:00
-
-
bda9dcbe73
Start implementing smcCpuSuspend
Michael Scire
2018-02-26 02:00:02 -08:00
-
18d0a81bd5
Merge pull request #51 from lioncash/const
TuxSH
2018-02-26 10:26:58 +01:00
-
-
1de6b336bb
all: Make file-scope variables internally linked where applicable (#57)
Mat M
2018-02-26 03:42:21 -05:00
-
c94cfe4898
lock: Use stdatomic.h (#56)
Mat M
2018-02-26 01:59:48 -05:00
-
461105a501
fuse: simplify checks in fuse_get_reserved_odm and fuse_get_spare_bit (#54)
Mat M
2018-02-26 00:23:31 -05:00
-
fff3912c81
mc: Remove dead code in get_carveout_by_id (#52)
Mat M
2018-02-26 00:13:07 -05:00
-
991d4f1355
se: Remove memset in se_perform_aes_block_operation (#53)
Mat M
2018-02-26 00:12:49 -05:00
-
b328effd9b
memory_map: Remove unnecessary const
Lioncash
2018-02-25 23:56:44 -05:00
-
-
4d3f1f6ae8
Remove built files that somehow got here
TuxSH
2018-02-25 22:36:32 +01:00
-
969b781a68
Failed attempt to fix loops not being unrolled, other fixes.
TuxSH
2018-02-25 21:41:16 +01:00
-
ed5f43ef39
Update .gitignore
TuxSH
2018-02-25 20:03:30 +01:00
-
b0ea9c1a0b
Move source files to src/, add Makefile, fix all build and linkage errors, etc.
TuxSH
2018-02-25 20:00:50 +01:00
-
4c7aa566f0
Fix user page mmu mapping and naming scheme
TuxSH
2018-02-25 15:05:52 +01:00
-
ab38217720
Fix mmu descriptor mistakes
TuxSH
2018-02-25 14:37:44 +01:00
-
c46a3cc794
Map userpage in at appropriate address (TODO: Invalidate TLB)
Michael Scire
2018-02-25 01:31:45 -08:00
-
78c8fe36fe
Fix read64le
Michael Scire
2018-02-25 01:26:40 -08:00
-
82b4c6763d
Implement getters for fuse values, fill out smcGetConfig
Michael Scire
2018-02-25 01:21:52 -08:00
-
b0079e404d
Clear pk2ldr in coldboot_main
TuxSH
2018-02-25 03:54:28 +01:00
-
a00e68e94a
Write a significant chunk of coldboot init...
TuxSH
2018-02-25 03:34:15 +01:00
-
be67169390
Merge pull request #50 from lioncash/error
TuxSH
2018-02-25 00:14:50 +01:00
-
-
a081c93094
bootconfig/configitem: Fix includes and identifiers (#49)
Mat M
2018-02-24 15:46:57 -05:00
-
a34813bcf4
memory_map: Fix most compilation issues
Lioncash
2018-02-24 15:38:24 -05:00
-
-
f6008d947d
More previously unknown fuses
Mike H
2018-02-24 18:48:11 +00:00
-
3929ba77e6
Adding FUSE_RESERVED_SW
Mike H
2018-02-24 18:34:49 +00:00
-
e2d45878c3
Preliminary Exosphere FUSE driver
hexkyz
2018-02-24 18:15:47 +00:00
-
cc4f6f7f84
Introduce memory_map.h
TuxSH
2018-02-24 17:13:42 +01:00
-
ed5850ebbf
Implement se_trigger_interrupt, fix up some configitems
Michael Scire
2018-02-24 07:25:38 -08:00
-
e8b1e0b965
Implement exception vectors.
Michael Scire
2018-02-24 06:20:45 -08:00
-
422cd14aac
Implement driver for the GIC-400.
Michael Scire
2018-02-24 05:33:16 -08:00
-
c94fe287cb
Exosphere I2C Driver.
Michael Scire
2018-02-24 04:27:23 -08:00
-
672d76cb31
Fix I2C success mask
Michael Scire
2018-02-23 22:03:13 -08:00
-
56f5b56235
smc_user: Correct cache_flush to flush_dcache_range (#48)
Mat M
2018-02-23 23:38:21 -05:00
-
44a2b7a344
smc_user: Add missing gcm.h include (#47)
Mat M
2018-02-23 19:09:55 -05:00
-
e3897bb731
se: Add missing string.h include (#46)
Mat M
2018-02-23 19:09:44 -05:00
-
34d8a859ab
timers: Fix identifier name in wait's spin-lock (#45)
Mat M
2018-02-23 19:09:34 -05:00
-
dbf2eb7ed1
Clean up BPMPFW I2C prototypes.
Michael Scire
2018-02-23 12:07:02 -08:00
-
0a0a1b088d
Merge pull request #43 from lioncash/prototype
TuxSH
2018-02-23 19:18:46 +01:00
-
-
b3f8908ece
Merge pull request #44 from lioncash/mmu
TuxSH
2018-02-23 19:18:06 +01:00
-
-
b4229f0fa8
mmu: Remove phys_addr parameter from mmu_unmap_range
Lioncash
2018-02-23 09:25:11 -05:00
-
-
296b43744c
i2c: Fix -Wmissing-prototypes warnings
Lioncash
2018-02-23 09:19:32 -05:00
-
8e4a5bf32b
Merge pull request #17 from lioncash/include
TuxSH
2018-02-23 14:51:27 +01:00
-
-
dd3498a356
Merge pull request #27 from lioncash/param
TuxSH
2018-02-23 14:50:54 +01:00
-
-
-
-
9dfa6e2732
start.cold/warm: Correct MSR instructions (#42)
Mat M
2018-02-23 08:46:06 -05:00
-
7b1fa3a8f0
start.cold/warm.s: Correct DSB instruction instances (#41)
Mat M
2018-02-23 08:42:55 -05:00
-
85df3dcb7e
mc: fix invalid range comparison (#37)
Merry
2018-02-23 13:42:47 +00:00
-
615216edeb
smc_api: Fix compilation issues (#40)
Mat M
2018-02-23 08:41:26 -05:00
-
e29123cac3
randomcache: Typo in randomcache_refill (#38)
Merry
2018-02-23 13:40:47 +00:00
-
0ec1ceca1f
sealedkeys: Fix compilation issues (#39)
Mat M
2018-02-23 08:40:38 -05:00
-
91d1b047c4
Fix bpmpfw/Makefile, other changes.
TuxSH
2018-02-23 13:56:23 +01:00
-
705802d749
mmu: Fix call to non-existent mmu_unmap_page_range function in mmio_unmap_all_devices
Lioncash
2018-02-23 07:32:23 -05:00
-
d2f12c5900
mmu: Remove extraneous argument to mmu_unmap in mmu_unmap_range
Lioncash
2018-02-22 21:23:48 -05:00
-
90f792b1cc
Remove Makefile copy/paste leftovers for bpmpfw
Michael Scire
2018-02-23 04:15:14 -08:00
-
5370c7b150
Implement LP0-Entry BPMP Firmware
Michael Scire
2018-02-23 04:13:18 -08:00
-
f7598cb433
Implement smcConfigureCarveout
Michael Scire
2018-02-23 01:12:38 -08:00
-
b2dc858738
Implement smcReadWriteRegister
Michael Scire
2018-02-23 00:20:36 -08:00
-
765ae2c06a
se: Fix compilation issues (#36)
Mat M
2018-02-23 02:12:44 -05:00
-
3596032869
package2: Silence a -Wcomment warning (#35)
Mat M
2018-02-23 02:11:51 -05:00
-
7ab0acf656
package2: Correct -> to . in load_package2 (#34)
Mat M
2018-02-23 02:11:15 -05:00
-
06c8b7a764
package2: Fix buffer variable name in rsa2048_pss_verify (#32)
Mat M
2018-02-22 23:40:41 -05:00
-
4131a61d00
package2: Use assignment instead of memcpy in decrypt_and_validate_header (#33)
Mat M
2018-02-22 23:31:13 -05:00
-
7d777a0e59
package2: Fix loop index in decrypt_and_validate_header (#31)
Mat M
2018-02-22 23:18:18 -05:00
-
83216409d2
all: Use bool where applicable (#30)
Mat M
2018-02-22 22:58:39 -05:00
-
1d8f443f68
gcm: Convert source data to a uint8_t pointer before subscripting it (#29)
Mat M
2018-02-22 21:44:27 -05:00
-
3020faf8a2
mmu: Pass missing tbl argument to mmu_map_page in mmu_map_page_range (#28)
Mat M
2018-02-22 21:28:30 -05:00
-
-
6fb3c77764
Add missing string.h includes
Lioncash
2018-02-22 18:32:47 -05:00
-
a798df5a2c
cpu_context: Add missing include (#25)
Mat M
2018-02-22 21:08:57 -05:00
-
c6158d7d64
mmu: Fix loop index variable name in mmio_get_device_address (#24)
Mat M
2018-02-22 21:05:43 -05:00
-
0597fe887a
package2: Correct variable name for new device key source (#19)
Mat M
2018-02-22 21:03:22 -05:00
-
a6c91ffe4e
se: fix infinite loop in shift_left_xor_rb (#21)
Merry
2018-02-23 02:03:05 +00:00
-
220e574ff7
mmu: Correct TCR_ORGN_WBWA typo
Merry
2018-02-23 02:02:45 +00:00
-
a007e98e17
Fix SE access typo
Michael Scire
2018-02-22 17:58:48 -08:00
-
d1d8d3da34
Switch all MMIO to the new access style
Michael Scire
2018-02-22 17:50:19 -08:00
-
5d97ac48f2
userpage: fix declarations (#20)
Merry
2018-02-23 01:20:03 +00:00
-
25a5eacb96
masterkey: Add missing semicolon to mkey_vectors (#18)
Mat M
2018-02-22 20:18:28 -05:00
-
215ae12b50
Access NX_BOOTLOADER_MAILBOXEN via mmu defs
Michael Scire
2018-02-22 17:08:54 -08:00
-
72da8dcf5a
Finish SE API operations other than context-saving.
Michael Scire
2018-02-22 17:05:22 -08:00
-
5e1c137e26
Add mmio handling to mmu.h
TuxSH
2018-02-23 01:45:26 +01:00
-
0ef8f1db2e
Implement SE secure AES API.
Michael Scire
2018-02-22 16:17:12 -08:00
-
-
ead0e2ba86
Implement RSA2048-PSS validation.
Michael Scire
2018-02-22 15:19:29 -08:00
-
32238984bf
smc_user: Fix syntax (#16)
Mat M
2018-02-22 17:18:34 -05:00
-
c032bd812c
Merge pull request #15 from MerryMage/uart
SciresM
2018-02-22 14:18:09 -08:00
-
-
a290932034
uart: transmit string and hex
MerryMage
2018-02-22 19:27:22 +00:00
-
71b76c153d
Add uart
MerryMage
2018-02-22 19:27:01 +00:00
-
-
b00df2032d
Clarify package2 relocation comment
Michael Scire
2018-02-21 13:48:36 -08:00
-
d0e28890b0
Finish actual Package2 loading code.
Michael Scire
2018-02-21 13:38:55 -08:00
-
896d167b64
Add more WIP Package2 loading code.
Michael Scire
2018-02-21 11:52:39 -08:00
-
904ed3ad4e
Fix mangled register name.
Michael Scire
2018-02-21 10:58:50 -08:00
-
f0d0ec0dca
Push WIP NX_BOOTLOADER sync code (for coldboots)
Michael Scire
2018-02-21 10:57:51 -08:00
-
330f8a0f8b
Fix SMC names.
Michael Scire
2018-02-20 18:47:58 -08:00
-
663c446439
Mention that Nintendo copy-pasted some startup code from arm-trusted-firmware
TuxSH
2018-02-21 00:53:23 +01:00
-
5681622f65
Add mmu table builder functions (mmu.h)
TuxSH
2018-02-20 23:44:10 +01:00
-
9baab1aebc
Clarify PASLR commentary
Michael Scire
2018-02-20 13:51:17 -08:00
-
d3d65f4800
smcGenerateSpecificAesKey, smcLoadRsaPrivateKey, smcLoadRsaOaepKey
Michael Scire
2018-02-20 13:25:57 -08:00
-
3d80b4edbc
smcDecryptRsaPrivateKey
Michael Scire
2018-02-20 12:56:41 -08:00
-
81b874cc14
Fix minor build issues in gcm.c, etc.
TuxSH
2018-02-20 19:29:44 +01:00
-
25e6317272
Fix GHASH comment.
Michael Scire
2018-02-20 09:41:16 -08:00
-
77c93221e9
Implement Nintendo's non-standard AES-GCM.
Michael Scire
2018-02-20 09:39:50 -08:00
-
cec055a44b
smcGetRandomFor{User,Priv} Implementations.
Michael Scire
2018-02-20 03:19:35 -08:00