summaryrefslogtreecommitdiff
path: root/nuttx/configs/z80sim
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-12-15 15:03:35 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-12-15 15:03:35 +0000
commit37e7ef6f42e3d8b27a78a6e96c8b147a8578a0c0 (patch)
treee483442aac82813e2174308c18e26629184cd6f0 /nuttx/configs/z80sim
parent862ecc12715cd262c761451634583bb59e4e5157 (diff)
downloadpx4-nuttx-37e7ef6f42e3d8b27a78a6e96c8b147a8578a0c0.tar.gz
px4-nuttx-37e7ef6f42e3d8b27a78a6e96c8b147a8578a0c0.tar.bz2
px4-nuttx-37e7ef6f42e3d8b27a78a6e96c8b147a8578a0c0.zip
Add z180 system timer
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5438 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/z80sim')
-rw-r--r--nuttx/configs/z80sim/nsh/defconfig2
-rw-r--r--nuttx/configs/z80sim/ostest/defconfig2
-rw-r--r--nuttx/configs/z80sim/pashello/defconfig2
-rw-r--r--nuttx/configs/z80sim/src/z80_irq.c30
4 files changed, 3 insertions, 33 deletions
diff --git a/nuttx/configs/z80sim/nsh/defconfig b/nuttx/configs/z80sim/nsh/defconfig
index 1f8edacb1..fb9fac546 100644
--- a/nuttx/configs/z80sim/nsh/defconfig
+++ b/nuttx/configs/z80sim/nsh/defconfig
@@ -79,7 +79,7 @@ CONFIG_LINKER_DATA_AREA=0x8000
#
# Architecture Options
#
-# CONFIG_ARCH_NOINTC is not set
+CONFIG_ARCH_NOINTC=y
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_IRQPRIO is not set
# CONFIG_ARCH_STACKDUMP is not set
diff --git a/nuttx/configs/z80sim/ostest/defconfig b/nuttx/configs/z80sim/ostest/defconfig
index a961d550d..d3410d52d 100644
--- a/nuttx/configs/z80sim/ostest/defconfig
+++ b/nuttx/configs/z80sim/ostest/defconfig
@@ -79,7 +79,7 @@ CONFIG_LINKER_DATA_AREA=0x8000
#
# Architecture Options
#
-# CONFIG_ARCH_NOINTC is not set
+CONFIG_ARCH_NOINTC=y
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_IRQPRIO is not set
# CONFIG_ARCH_STACKDUMP is not set
diff --git a/nuttx/configs/z80sim/pashello/defconfig b/nuttx/configs/z80sim/pashello/defconfig
index a8d565ce2..e7dee626c 100644
--- a/nuttx/configs/z80sim/pashello/defconfig
+++ b/nuttx/configs/z80sim/pashello/defconfig
@@ -79,7 +79,7 @@ CONFIG_LINKER_DATA_AREA=0x8000
#
# Architecture Options
#
-# CONFIG_ARCH_NOINTC is not set
+CONFIG_ARCH_NOINTC=y
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_IRQPRIO is not set
# CONFIG_ARCH_STACKDUMP is not set
diff --git a/nuttx/configs/z80sim/src/z80_irq.c b/nuttx/configs/z80sim/src/z80_irq.c
index c7566f6d3..7611dc29e 100644
--- a/nuttx/configs/z80sim/src/z80_irq.c
+++ b/nuttx/configs/z80sim/src/z80_irq.c
@@ -88,33 +88,3 @@ void up_irqinitialize(void)
irqrestore(Z80_C_FLAG);
#endif
}
-
-/****************************************************************************
- * Name: up_disable_irq
- *
- * Description:
- * Disable the IRQ specified by 'irq'
- *
- ****************************************************************************/
-
-#ifndef CONFIG_ARCH_NOINTC
-void up_disable_irq(int irq)
-{
- irqrestore(0);
-}
-#endif
-
-/****************************************************************************
- * Name: up_enable_irq
- *
- * Description:
- * Enable the IRQ specified by 'irq'
- *
- ****************************************************************************/
-
-#ifndef CONFIG_ARCH_NOINTC
-void up_enable_irq(int irq)
-{
- irqrestore(Z80_C_FLAG);
-}
-#endif