9
0
Fork 0

More Kconfig files

git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4632 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
patacongo 2012-04-18 19:17:30 +00:00
parent 96053264a7
commit 1ec5d01ead
13 changed files with 203 additions and 0 deletions

View File

@ -2,3 +2,30 @@
# For a description of the syntax of this configuration file,
# see misc/tools/kconfig-language.txt.
#
if ARCH_X86
choice
prompt "x86 chip selection"
default ARCH_I486
config ARCH_I486
bool "i486"
---help---
Intel i486 architecture
endchoice
config ARCH_CHIP_QEMU
bool "Qemu x86 emulation"
---help---
Intel i486 architecture
config ARCH_CHIP
string
default "qemu" if ARCH_CHIP_QEMU
source arch/x86/src/common/Kconfig
source arch/x86/src/i486/Kconfig
source arch/x86/src/qemu/Kconfig
endif

View File

@ -0,0 +1,7 @@
#
# For a description of the syntax of this configuration file,
# see misc/tools/kconfig-language.txt.
#
if ARCH_X86
endif

View File

@ -0,0 +1,7 @@
#
# For a description of the syntax of this configuration file,
# see misc/tools/kconfig-language.txt.
#
if ARCH_I486
endif

View File

@ -0,0 +1,7 @@
#
# For a description of the syntax of this configuration file,
# see misc/tools/kconfig-language.txt.
#
if ARCH_CHIP_QEMU
endif

View File

@ -2,3 +2,44 @@
# For a description of the syntax of this configuration file,
# see misc/tools/kconfig-language.txt.
#
if ARCH_Z16
choice
prompt "ZNEO chip selection"
default ARCH_CHIP_Z16F2811
config ARCH_CHIP_Z16F2810
bool "Z16F2810"
---help---
ZiLOG Z16F2810
config ARCH_CHIP_Z16F2811
bool "Z16F2811"
---help---
ZiLOG Z16F2811
config ARCH_CHIP_Z16F3211
bool "Z16F321"
---help---
ZiLOG Z16F321
config ARCH_CHIP_Z16F6411
bool "Z16F6411"
---help---
ZiLOG Z16F6411
endchoice
config ARCH_CHIP_Z16F
bool
default y if ARCH_CHIP_Z16F2810 || ARCH_CHIP_Z16F2811 || ARCH_CHIP_Z16F3211 || ARCH_CHIP_Z16F6411
config ARCH_CHIP
string
default "z16f" if ARCH_CHIP_Z16F
source arch/z16/src/common/Kconfig
source arch/z16/src/z16f/Kconfig
endif

View File

@ -0,0 +1,7 @@
#
# For a description of the syntax of this configuration file,
# see misc/tools/kconfig-language.txt.
#
if ARCH_Z16
endif

View File

@ -0,0 +1,7 @@
#
# For a description of the syntax of this configuration file,
# see misc/tools/kconfig-language.txt.
#
if ARCH_CHIP_Z16F
endif

View File

@ -2,3 +2,71 @@
# For a description of the syntax of this configuration file,
# see misc/tools/kconfig-language.txt.
#
if ARCH_Z80
choice
prompt "ZiLOG 8-bit MCU"
default ARCH_CHIP_Z80
config ARCH_CHIP_Z80
bool "Classic z80"
---help---
Classic ZiLOG z80 chip
config ARCH_CHIP_Z8F640X
bool "Z8F640X"
---help---
ZiLOG Z8F640X (z8 Encore)
config ARCH_CHIP_Z8F6403
bool "Z8F6403"
---help---
ZiLOG Z8F6403 (z8 Encore)
config ARCH_CHIP_Z8F642X
bool "Z8F642X"
---help---
ZiLOG Z8F642X (z8 Encore)
config ARCH_CHIP_Z8F6423
bool "Z8F6423"
---help---
ZiLOG Z8F6423 (z8 Encore)
config ARCH_CHIP_EZ80F91
bool "EZ80F91"
---help---
ZiLOG EZ80F91 (ez80 Acclaim)
config ARCH_CHIP_EZ80F92
bool "EZ80F92"
---help---
ZiLOG EZ80F92 (ez80 Acclaim)
config ARCH_CHIP_EZ80F93
bool "EZ80F93"
---help---
ZiLOG EZ80F93 (ez80 Acclaim)
endchoice
config ARCH_CHIP_Z8
bool
default y if ARCH_CHIP_Z8F640X || ARCH_CHIP_Z8F6403 || ARCH_CHIP_Z8F642X || ARCH_CHIP_Z8F6423
config ARCH_CHIP_EZ80
bool
default y if ARCH_CHIP_EZ80F91 || ARCH_CHIP_EZ80F92 || ARCH_CHIP_EZ80F93
config ARCH_CHIP
string
default "z80" if ARCH_CHIP_Z80
default "z8" if ARCH_CHIP_Z8
default "ez80" if ARCH_CHIP_EZ80
source "arch/z80/src/common/Kconfig"
source "arch/z80/src/z80/Kconfig"
source "arch/z80/src/z8/Kconfig"
source "arch/z80/src/ez80/Kconfig"
endif

View File

@ -0,0 +1,7 @@
#
# For a description of the syntax of this configuration file,
# see misc/tools/kconfig-language.txt.
#
if ARCH_Z80
endif

View File

@ -0,0 +1,7 @@
#
# For a description of the syntax of this configuration file,
# see misc/tools/kconfig-language.txt.
#
if ARCH_CHIP_EZ80
endif

View File

@ -0,0 +1,7 @@
#
# For a description of the syntax of this configuration file,
# see misc/tools/kconfig-language.txt.
#
if ARCH_CHIP_Z8
endif

View File

@ -0,0 +1,7 @@
#
# For a description of the syntax of this configuration file,
# see misc/tools/kconfig-language.txt.
#
if ARCH_CHIP_Z80
endif

View File

@ -329,6 +329,10 @@ static ssize_t uart_read(FAR struct file *filep, FAR char *buffer, size_t buflen
* the head index but must not modify the tail index. The tail
* index is only modified in this function. Therefore, no
* special handshaking is required here.
*
* The head and tail pointers are 16-bit values. The only time that
* the following could be unsafe is if the CPU made two non-atomic
* 8-bit accesses to obtain the 16-bit head index.
*/
tail = dev->recv.tail;