mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-26 13:52:21 +00:00
Prevent compiler optimization of SE LL writes
This commit is contained in:
parent
6ed9123c24
commit
edf9e2f5c7
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ static unsigned int g_se_modulus_sizes[KEYSLOT_RSA_MAX];
|
||||||
static unsigned int g_se_exp_sizes[KEYSLOT_RSA_MAX];
|
static unsigned int g_se_exp_sizes[KEYSLOT_RSA_MAX];
|
||||||
|
|
||||||
/* Initialize a SE linked list. */
|
/* Initialize a SE linked list. */
|
||||||
void ll_init(se_ll_t *ll, void *buffer, size_t size) {
|
void ll_init(volatile se_ll_t *ll, void *buffer, size_t size) {
|
||||||
ll->num_entries = 0; /* 1 Entry. */
|
ll->num_entries = 0; /* 1 Entry. */
|
||||||
|
|
||||||
if (buffer != NULL) {
|
if (buffer != NULL) {
|
||||||
|
|
Loading…
Reference in a new issue