lowlevel-z80: switch our handling of interrupts
authorAlan Cox <alan@linux.intel.com>
Fri, 28 Sep 2018 22:34:08 +0000 (23:34 +0100)
committerAlan Cox <alan@linux.intel.com>
Fri, 28 Sep 2018 22:34:08 +0000 (23:34 +0100)
commitbf641224396fa6a26f069ee5cdd8d52747aa01b1
tree49424c14ed6b10bc68dc1ea82d7a8f7570aa254a
parentdb63daa30caa6d7ea918bb57ce1bc92b1c66931d
lowlevel-z80: switch our handling of interrupts

This has implications for all platforms and breaks everything but it's worth
the pain to avoid dealing with the NMOS crawly interrupt horrors.

While breaking everything also introduce _di versions of the map functions
to allow problematic platforms to shortcut having to IRQ disable in these
cases (which are also the fast paths)

As we always save and map kernel fold those into one to optimize the IRQ
path a shade.
Kernel/lowlevel-z80.s