Hi,
is there a way to disable all interrupts on a core? I was looking for an assembly instruction that would do that but cannot find one.
TIA,
AP
Disable all interrupts on a core
-
- Posts: 9730
- Joined: Thu Nov 26, 2015 4:08 am
Re: Disable all interrupts on a core
What problem are you trying to solve by disabling all interrupts? There's a few good reasons to want to do that, but a whole lot of bad ones.
Re: Disable all interrupts on a core
I am using an ESP to serve the I/O bus of an old 8-bit CPU (a Z80). The ROM running on the Z80 sometimes runs a tight loop where it constantly polls the I/O bus. I want to make serving the Z80's I/O bus as deterministic as possible by dedicating one core to that task. That core will constantly poll the I/O bus and I want to avoid any other "distractions" (such as time interrupts on that core). I did disable the timer watchdog on that core but I suspect it will still serve timer interrupts.
Re: Disable all interrupts on a core
thx! Exactly what I've been looking for!
Who is online
Users browsing this forum: cdollar and 129 guests