mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 23:03:27 +08:00
#warning removal
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3355 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -314,7 +314,7 @@ endif
|
|||||||
# DOWNLOAD command is not defined in platform Make.defs file.
|
# DOWNLOAD command is not defined in platform Make.defs file.
|
||||||
|
|
||||||
download: $(BIN)
|
download: $(BIN)
|
||||||
$(call DOWNLOAD, $@)
|
$(call DOWNLOAD, $<)
|
||||||
|
|
||||||
depend:
|
depend:
|
||||||
@for dir in $(MAKEDIRS) ; do \
|
@for dir in $(MAKEDIRS) ; do \
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
NuttX TODO List (Last updated March 4, 2011)
|
NuttX TODO List (Last updated March 8, 2011)
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
(5) Task/Scheduler (sched/)
|
(5) Task/Scheduler (sched/)
|
||||||
@@ -12,7 +12,7 @@ NuttX TODO List (Last updated March 4, 2011)
|
|||||||
(5) Network Utilities (netutils/)
|
(5) Network Utilities (netutils/)
|
||||||
(2) USB (drivers/usbdev, drivers/usbhost)
|
(2) USB (drivers/usbdev, drivers/usbhost)
|
||||||
(5) Libraries (lib/)
|
(5) Libraries (lib/)
|
||||||
(12) File system/Generic drivers (fs/, drivers/)
|
(13) File system/Generic drivers (fs/, drivers/)
|
||||||
(2) Graphics subystem (graphics/)
|
(2) Graphics subystem (graphics/)
|
||||||
(1) Pascal add-on (pcode/)
|
(1) Pascal add-on (pcode/)
|
||||||
(1) Documentation (Documentation/)
|
(1) Documentation (Documentation/)
|
||||||
@@ -81,6 +81,21 @@ o On-demand paging (sched/)
|
|||||||
Status: Open
|
Status: Open
|
||||||
Priority: Medium-Low
|
Priority: Medium-Low
|
||||||
|
|
||||||
|
o Other core OS logic
|
||||||
|
^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
Description: get_environ_ptr() (sched/sched_getenvironptr.c) is not implemented.
|
||||||
|
The representation of the the environment strings selected for
|
||||||
|
NutX is not compatible with the operation. Some significant
|
||||||
|
re-design would be required to implement this funcion and that
|
||||||
|
effort is thought to be not worth the result.
|
||||||
|
Status: Open
|
||||||
|
Priority: Low -- There is no plan to implement this.
|
||||||
|
|
||||||
|
Description: timer_getoverrun() (sched/timer_getoverrun.c) is not implemented.
|
||||||
|
Status: Open
|
||||||
|
Priority: Low -- There is no plan to implement this.
|
||||||
|
|
||||||
o Memory Managment (mm/)
|
o Memory Managment (mm/)
|
||||||
^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
@@ -451,6 +466,12 @@ o File system / Generic drivers (fs/, drivers/)
|
|||||||
Status: Open
|
Status: Open
|
||||||
Priority: Low
|
Priority: Low
|
||||||
|
|
||||||
|
Description: Time stamping is no implemented in the NuttX FA file system.
|
||||||
|
See the following functions in fs/fat/fs_fat32util.c:
|
||||||
|
fat_systime2fattime() and fat_fattime2systime()
|
||||||
|
Status: Open
|
||||||
|
Priority: Medium
|
||||||
|
|
||||||
o Graphics subystem (graphics/)
|
o Graphics subystem (graphics/)
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
|||||||
@@ -101,10 +101,6 @@ static uint32_t *common_handler(int irq, uint32_t *regs)
|
|||||||
DEBUGASSERT(current_regs == NULL);
|
DEBUGASSERT(current_regs == NULL);
|
||||||
current_regs = regs;
|
current_regs = regs;
|
||||||
|
|
||||||
/* Mask and acknowledge the interrupt */
|
|
||||||
|
|
||||||
up_maskack_irq(irq);
|
|
||||||
|
|
||||||
/* Deliver the IRQ */
|
/* Deliver the IRQ */
|
||||||
|
|
||||||
irq_dispatch(irq, regs);
|
irq_dispatch(irq, regs);
|
||||||
@@ -120,10 +116,6 @@ static uint32_t *common_handler(int irq, uint32_t *regs)
|
|||||||
/* Indicate that we are no long in an interrupt handler */
|
/* Indicate that we are no long in an interrupt handler */
|
||||||
|
|
||||||
current_regs = NULL;
|
current_regs = NULL;
|
||||||
|
|
||||||
/* Unmask the last interrupt (global interrupts are still disabled) */
|
|
||||||
|
|
||||||
up_enable_irq(irq);
|
|
||||||
return regs;
|
return regs;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -161,17 +161,25 @@ g_heapbase:
|
|||||||
.type __start, @function
|
.type __start, @function
|
||||||
__start:
|
__start:
|
||||||
/* Set up the stack */
|
/* Set up the stack */
|
||||||
|
mov $'a', %ax
|
||||||
|
mov $0x3f8, %dx
|
||||||
|
outb %al, %dx
|
||||||
mov $(idle_stack + CONFIG_IDLETHREAD_STACKSIZE), %esp
|
mov $(idle_stack + CONFIG_IDLETHREAD_STACKSIZE), %esp
|
||||||
|
|
||||||
/* Multiboot setup */
|
/* Multiboot setup */
|
||||||
|
|
||||||
push %eax /* Multiboot magic number */
|
push %eax /* Multiboot magic number */
|
||||||
push %ebx /* Multiboot data structure */
|
push %ebx /* Multiboot data structure */
|
||||||
|
mov $'b', %ax
|
||||||
|
mov $0x3f8, %dx
|
||||||
|
outb %al, %dx
|
||||||
|
|
||||||
/* Initialize and start NuttX */
|
/* Initialize and start NuttX */
|
||||||
|
|
||||||
call up_lowsetup /* Low-level, pre-OS initialization */
|
call up_lowsetup /* Low-level, pre-OS initialization */
|
||||||
|
mov $'c', %ax
|
||||||
|
mov $0x3f8, %dx
|
||||||
|
outb %al, %dx
|
||||||
call os_start /* Start NuttX */
|
call os_start /* Start NuttX */
|
||||||
|
|
||||||
/* NuttX will not return */
|
/* NuttX will not return */
|
||||||
|
|||||||
@@ -256,64 +256,6 @@ void up_irqinitialize(void)
|
|||||||
/* And finally, enable interrupts */
|
/* And finally, enable interrupts */
|
||||||
|
|
||||||
#ifndef CONFIG_SUPPRESS_INTERRUPTS
|
#ifndef CONFIG_SUPPRESS_INTERRUPTS
|
||||||
irqrestore(0);
|
irqrestore(X86_FLAGS_IF);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/****************************************************************************
|
|
||||||
* Name: up_disable_irq
|
|
||||||
*
|
|
||||||
* Description:
|
|
||||||
* Disable the IRQ specified by 'irq'
|
|
||||||
*
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
void up_disable_irq(int irq)
|
|
||||||
{
|
|
||||||
#warning "Missing Logic"
|
|
||||||
}
|
|
||||||
|
|
||||||
/****************************************************************************
|
|
||||||
* Name: up_enable_irq
|
|
||||||
*
|
|
||||||
* Description:
|
|
||||||
* Enable the IRQ specified by 'irq'
|
|
||||||
*
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
void up_enable_irq(int irq)
|
|
||||||
{
|
|
||||||
#warning "Missing Logic"
|
|
||||||
}
|
|
||||||
|
|
||||||
/****************************************************************************
|
|
||||||
* Name: up_maskack_irq
|
|
||||||
*
|
|
||||||
* Description:
|
|
||||||
* Mask the IRQ and acknowledge it
|
|
||||||
*
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
void up_maskack_irq(int irq)
|
|
||||||
{
|
|
||||||
#warning "Missing Logic"
|
|
||||||
}
|
|
||||||
|
|
||||||
/****************************************************************************
|
|
||||||
* Name: up_prioritize_irq
|
|
||||||
*
|
|
||||||
* Description:
|
|
||||||
* Set the priority of an IRQ.
|
|
||||||
*
|
|
||||||
* Since this API is not supported on all architectures, it should be
|
|
||||||
* avoided in common implementations where possible.
|
|
||||||
*
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
#ifdef CONFIG_ARCH_IRQPRIO
|
|
||||||
int up_prioritize_irq(int irq, int priority)
|
|
||||||
{
|
|
||||||
#warning "Missing Logic"
|
|
||||||
return OK;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
############################################################################
|
############################################################################
|
||||||
# configs/avr32dev1/ostest/defconfig
|
# configs/avr32dev1/ostest/defconfig
|
||||||
#
|
#
|
||||||
# Copyright (C) 2010 Gregory Nutt. All rights reserved.
|
# Copyright (C) 2010-2011 Gregory Nutt. All rights reserved.
|
||||||
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||||
#
|
#
|
||||||
# Redistribution and use in source and binary forms, with or without
|
# Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -58,7 +58,11 @@ Cygwin Build Problems
|
|||||||
|
|
||||||
1. Google for "qemu windows download" and download some pre-built QEMU
|
1. Google for "qemu windows download" and download some pre-built QEMU
|
||||||
binaries. I found 0.14.0 here: http://dietpc.org/windows/qemu/, or
|
binaries. I found 0.14.0 here: http://dietpc.org/windows/qemu/, or
|
||||||
2. Try building QEMU with MingGW
|
2. Try building QEMU with MingGW (I understand that this is difficult).
|
||||||
|
|
||||||
|
NOTE: As of this writing, I have not been successful getting ANY pre-built
|
||||||
|
version of QEMU to work successful; they all fail immediately with
|
||||||
|
initialization errors.
|
||||||
|
|
||||||
Running QEMU
|
Running QEMU
|
||||||
------------
|
------------
|
||||||
|
|||||||
@@ -49,6 +49,9 @@
|
|||||||
# CONFIG_DRAM_SIZE - Describes the installed DRAM.
|
# CONFIG_DRAM_SIZE - Describes the installed DRAM.
|
||||||
# CONFIG_DRAM_START - The start address of DRAM (physical)
|
# CONFIG_DRAM_START - The start address of DRAM (physical)
|
||||||
# CONFIG_DRAM_END - Last address+1 of installed RAM
|
# CONFIG_DRAM_END - Last address+1 of installed RAM
|
||||||
|
# CONFIG_ARCH_NOINTC - define if the architecture does not
|
||||||
|
# support an interrupt controller or otherwise cannot support
|
||||||
|
# APIs like up_enable_irq() and up_disable_irq().
|
||||||
# CONFIG_ARCH_IRQPRIO - Set if the architecture supports interrupt prioritization
|
# CONFIG_ARCH_IRQPRIO - Set if the architecture supports interrupt prioritization
|
||||||
# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt
|
# CONFIG_ARCH_INTERRUPTSTACK - This architecture supports an interrupt
|
||||||
# stack. If defined, this symbol is the size of the interrupt
|
# stack. If defined, this symbol is the size of the interrupt
|
||||||
@@ -78,6 +81,7 @@ CONFIG_BOARD_LOOPSPERMSEC=999
|
|||||||
CONFIG_DRAM_SIZE=0x00100000
|
CONFIG_DRAM_SIZE=0x00100000
|
||||||
CONFIG_DRAM_START=0x00100000
|
CONFIG_DRAM_START=0x00100000
|
||||||
CONFIG_DRAM_END=(CONFIG_DRAM_START+CONFIG_DRAM_SIZE)
|
CONFIG_DRAM_END=(CONFIG_DRAM_START+CONFIG_DRAM_SIZE)
|
||||||
|
CONFIG_ARCH_NOINTC=y
|
||||||
CONFIG_ARCH_STACKDUMP=y
|
CONFIG_ARCH_STACKDUMP=y
|
||||||
CONFIG_ARCH_LEDS=n
|
CONFIG_ARCH_LEDS=n
|
||||||
CONFIG_ARCH_BUTTONS=n
|
CONFIG_ARCH_BUTTONS=n
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* fs/fat/fs_fat32util.c
|
* fs/fat/fs_fat32util.c
|
||||||
*
|
*
|
||||||
* Copyright (C) 2007-2009 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||||
*
|
*
|
||||||
* References:
|
* References:
|
||||||
@@ -556,9 +556,6 @@ void fat_semgive(struct fat_mountpt_s *fs)
|
|||||||
|
|
||||||
uint32_t fat_systime2fattime(void)
|
uint32_t fat_systime2fattime(void)
|
||||||
{
|
{
|
||||||
#ifdef CONFIG_CPP_HAVE_WARNING
|
|
||||||
# warning "Time not implemented"
|
|
||||||
#endif
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -580,9 +577,6 @@ uint32_t fat_systime2fattime(void)
|
|||||||
|
|
||||||
time_t fat_fattime2systime(uint16_t fattime, uint16_t fatdate)
|
time_t fat_fattime2systime(uint16_t fattime, uint16_t fatdate)
|
||||||
{
|
{
|
||||||
#ifdef CONFIG_CPP_HAVE_WARNING
|
|
||||||
# warning "Time not implemented"
|
|
||||||
#endif
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* include/nuttx/arch.h
|
* include/nuttx/arch.h
|
||||||
*
|
*
|
||||||
* Copyright (C) 2007-2010 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2007-2011 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* env_getenvironptr.c
|
* env_getenvironptr.c
|
||||||
*
|
*
|
||||||
* Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2007, 2008, 2011 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
@@ -79,10 +79,6 @@ FAR char **get_environ_ptr( void )
|
|||||||
* char ** return value.
|
* char ** return value.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef CONFIG_CPP_HAVE_WARNING
|
|
||||||
# warning "get_environ_ptr not Implemented"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
/********************************************************************************
|
/********************************************************************************
|
||||||
* timer_getoverrun.c
|
* timer_getoverrun.c
|
||||||
*
|
*
|
||||||
* Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2007, 2008, 2011 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
@@ -102,11 +102,7 @@
|
|||||||
|
|
||||||
int timer_getoverrun(timer_t timerid)
|
int timer_getoverrun(timer_t timerid)
|
||||||
{
|
{
|
||||||
#ifdef CONFIG_CPP_HAVE_WARNING
|
errno = ENOSYS;
|
||||||
# warning "timer_getoverrun not Implemented"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
*get_errno_ptr() = ENOSYS;
|
|
||||||
return ERROR;
|
return ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user