diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-03-23 17:58:08 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-03-23 17:58:08 +0000 |
commit | 80962cfd5bd1ba72390abaa35f2aa91cab69fd67 (patch) | |
tree | 2c69ec9524423f404b8e0ef0e1b21b171e0caa93 /nuttx/arch/z80/src/ez80/ez80_vectors.asm | |
parent | 739f1170b4d8b8f02e33c9f46ae933454ddf3078 (diff) | |
download | px4-nuttx-80962cfd5bd1ba72390abaa35f2aa91cab69fd67.tar.gz px4-nuttx-80962cfd5bd1ba72390abaa35f2aa91cab69fd67.tar.bz2 px4-nuttx-80962cfd5bd1ba72390abaa35f2aa91cab69fd67.zip |
Implement irqsave/restore
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@747 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/z80/src/ez80/ez80_vectors.asm')
-rw-r--r-- | nuttx/arch/z80/src/ez80/ez80_vectors.asm | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/nuttx/arch/z80/src/ez80/ez80_vectors.asm b/nuttx/arch/z80/src/ez80/ez80_vectors.asm index 6dc461dff..1b9d7ef45 100644 --- a/nuttx/arch/z80/src/ez80/ez80_vectors.asm +++ b/nuttx/arch/z80/src/ez80/ez80_vectors.asm @@ -81,20 +81,6 @@ irqhandler: macro vectno jp _ez80_rstcommon ; Remaining RST handling is common
endmac irqhandler
-; Save Interrupt State
-irqsave: macro
- ld a, i ; sets parity bit to value of IEF2
- push af
- di ; disable interrupts while loading table
- endmac irqsave
-
-; Restore Interrupt State
-irqrestore: macro
- pop af
- jp po, $+5 ; parity bit is IEF2
- ei
- endmac irqrestore
-
;**************************************************************************
; Reset entry points
;**************************************************************************
|