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:
Angus Gratton 2015-07-29 10:34:09 +10:00
parent 28fdebee92
commit efc454035c
7 changed files with 44 additions and 24 deletions

View file

@ -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);
}