Move all code paths touched by NMI to IRAM
Prerequisite for calling Cache_Read_Disable() for OTA updates. Massive thanks due to @foogod and their xtobjdis tool, creating the call graph of where the wDev_ProcessFiq touched (including in newlib, etc.) would have otherwise been very painful: https://bitbucket.org/foogod/xtobjdis
This commit is contained in:
parent
28fdebee92
commit
efc454035c
7 changed files with 44 additions and 24 deletions
|
@ -8,8 +8,9 @@
|
|||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
#include <common_macros.h>
|
||||
|
||||
void *zalloc(size_t nbytes)
|
||||
void IRAM *zalloc(size_t nbytes)
|
||||
{
|
||||
return calloc(1, nbytes);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue