arch/z80: Fix z80 file naming
Modify file naming to conform on the Naming conventions of https://cwiki.apache.org/confluence/display/NUTTX/Naming+FAQ This commit only address the file naming convention. There is still nonconformant function naming.
This commit is contained in:
parent
de4c9e096c
commit
a0fdda698c
2
arch/z80/src/.gitignore
vendored
2
arch/z80/src/.gitignore
vendored
@ -1,6 +1,6 @@
|
||||
/Make.dep
|
||||
/.depend
|
||||
/up_mem.h
|
||||
/z80_mem.h
|
||||
/asm_mem.h
|
||||
/board
|
||||
/chip
|
||||
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* arch/z80/src/common/up_allocateheap.c
|
||||
* arch/z80/src/common/z80_allocateheap.c
|
||||
*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
||||
@ -32,16 +32,16 @@
|
||||
#include <nuttx/kmalloc.h>
|
||||
#include <nuttx/mm/mm.h>
|
||||
|
||||
#include "up_arch.h"
|
||||
#include "z80_arch.h"
|
||||
#include "z80_internal.h"
|
||||
|
||||
#ifdef SDCC
|
||||
/* For the SDCC toolchain, the arch/z80/src/Makefile will parse the map file
|
||||
* to determine how much memory is available for the heap. This parsed data
|
||||
* is provided via the auto-generated file up_mem.h
|
||||
* is provided via the auto-generated file z80_mem.h
|
||||
*/
|
||||
|
||||
# include "up_mem.h"
|
||||
# include "z80_mem.h"
|
||||
|
||||
#else
|
||||
/* For other toolchains, the architecture must provide a header file in the
|
||||
@ -49,7 +49,7 @@
|
||||
* in the configuration file )
|
||||
*/
|
||||
|
||||
# include "chip/up_mem.h"
|
||||
# include "chip/z80_mem.h"
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
@ -1,5 +1,5 @@
|
||||
/************************************************************************************
|
||||
* arch/z80/src/common/up_arch.h
|
||||
* arch/z80/src/common/z80_arch.h
|
||||
*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* arch/z80/src/common/up_assert.c
|
||||
* arch/z80/src/common/z80_assert.c
|
||||
*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
||||
@ -36,7 +36,7 @@
|
||||
#include <nuttx/usb/usbdev_trace.h>
|
||||
|
||||
#include "chip.h"
|
||||
#include "up_arch.h"
|
||||
#include "z80_arch.h"
|
||||
#include "sched/sched.h"
|
||||
#include "z80_internal.h"
|
||||
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* arch/z80/src/common/up_blocktask.c
|
||||
* arch/z80/src/common/z80_blocktask.c
|
||||
*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* arch/z80/src/common/up_createstack.c
|
||||
* arch/z80/src/common/z80_createstack.c
|
||||
*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
||||
@ -33,7 +33,7 @@
|
||||
#include <nuttx/arch.h>
|
||||
#include <nuttx/board.h>
|
||||
|
||||
#include "up_arch.h"
|
||||
#include "z80_arch.h"
|
||||
#include "z80_internal.h"
|
||||
|
||||
/****************************************************************************
|
@ -26,7 +26,7 @@
|
||||
|
||||
#include <stdint.h>
|
||||
#include <assert.h>
|
||||
#include "up_arch.h"
|
||||
#include "z80_arch.h"
|
||||
|
||||
#include <nuttx/irq.h>
|
||||
#include <nuttx/arch.h>
|
||||
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* arch/z80/src/common/up_exit.c
|
||||
* arch/z80/src/common/z80_exit.c
|
||||
*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* arch/z80/src/common/up_idle.c
|
||||
* arch/z80/src/common/z80_idle.c
|
||||
*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* arch/z80/src/common/up_initialize.c
|
||||
* arch/z80/src/common/z80_initialize.c
|
||||
*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
||||
@ -43,7 +43,7 @@
|
||||
#include <arch/board/board.h>
|
||||
|
||||
#include "chip/switch.h"
|
||||
#include "up_arch.h"
|
||||
#include "z80_arch.h"
|
||||
#include "z80_internal.h"
|
||||
|
||||
/****************************************************************************
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* arch/z80/src/common/up_interruptcontext.c
|
||||
* arch/z80/src/common/z80_interruptcontext.c
|
||||
*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* arch/z80/src/common/up_mdelay.c
|
||||
* arch/z80/src/common/z80_mdelay.c
|
||||
*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* arch/z80/src/common/up_puts.c
|
||||
* arch/z80/src/common/z80_puts.c
|
||||
*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* arch/z80/src/common/up_releasepending.c
|
||||
* arch/z80/src/common/z80_releasepending.c
|
||||
*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* arch/z80/src/common/up_releasestack.c
|
||||
* arch/z80/src/common/z80_releasestack.c
|
||||
*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* arch/z80/src/common/up_reprioritizertr.c
|
||||
* arch/z80/src/common/z80_reprioritizertr.c
|
||||
*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* arch/z80/src/common/up_stackdump.c
|
||||
* arch/z80/src/common/z80_stackdump.c
|
||||
*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
||||
@ -27,7 +27,7 @@
|
||||
#include <stdint.h>
|
||||
#include <debug.h>
|
||||
|
||||
#include "up_arch.h"
|
||||
#include "z80_arch.h"
|
||||
#include "sched/sched.h"
|
||||
#include "z80_internal.h"
|
||||
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* arch/z80/src/common/up_stackframe.c
|
||||
* arch/z80/src/common/z80_stackframe.c
|
||||
*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* arch/z80/src/common/up_udelay.c
|
||||
* arch/z80/src/common/z80_udelay.c
|
||||
*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* arch/z80/src/common/up_unblocktask.c
|
||||
* arch/z80/src/common/z80_unblocktask.c
|
||||
*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* arch/z80/src/common/up_usestack.c
|
||||
* arch/z80/src/common/z80_usestack.c
|
||||
*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
@ -22,15 +22,15 @@ HEAD_ASRC =
|
||||
HEAD_SSRC =
|
||||
|
||||
CMN_SSRCS =
|
||||
CMN_CSRCS = up_initialize.c up_allocateheap.c up_createstack.c
|
||||
CMN_CSRCS += up_releasestack.c up_interruptcontext.c up_blocktask.c
|
||||
CMN_CSRCS += up_unblocktask.c up_exit.c up_releasepending.c
|
||||
CMN_CSRCS += up_reprioritizertr.c up_idle.c up_assert.c z80_doirq.c
|
||||
CMN_CSRCS += up_mdelay.c up_stackframe.c up_udelay.c up_usestack.c
|
||||
CMN_CSRCS += up_puts.c
|
||||
CMN_CSRCS = z80_initialize.c z80_allocateheap.c z80_createstack.c
|
||||
CMN_CSRCS += z80_releasestack.c z80_interruptcontext.c z80_blocktask.c
|
||||
CMN_CSRCS += z80_unblocktask.c z80_exit.c z80_releasepending.c
|
||||
CMN_CSRCS += z80_reprioritizertr.c z80_idle.c z80_assert.c z80_doirq.c
|
||||
CMN_CSRCS += z80_mdelay.c z80_stackframe.c z80_udelay.c z80_usestack.c
|
||||
CMN_CSRCS += z80_puts.c
|
||||
|
||||
ifeq ($(CONFIG_ARCH_STACKDUMP),y)
|
||||
CMN_CSRCS += up_stackdump.c
|
||||
CMN_CSRCS += z80_stackdump.c
|
||||
endif
|
||||
|
||||
CHIP_ASRCS = ez80_startup.asm ez80_io.asm ez80_irqsave.asm
|
||||
|
@ -30,7 +30,7 @@
|
||||
|
||||
#include "chip.h"
|
||||
#include "z80_internal.h"
|
||||
#include "up_arch.h"
|
||||
#include "z80_arch.h"
|
||||
|
||||
/****************************************************************************
|
||||
* Public Functions
|
||||
|
@ -38,7 +38,7 @@
|
||||
#include <arch/io.h>
|
||||
|
||||
#include "chip.h"
|
||||
#include "up_arch.h"
|
||||
#include "z80_arch.h"
|
||||
#include "ez80_rtc.h"
|
||||
|
||||
#include <arch/board/board.h>
|
||||
|
@ -32,7 +32,7 @@
|
||||
#include <nuttx/arch.h>
|
||||
#include <nuttx/timers/rtc.h>
|
||||
|
||||
#include "up_arch.h"
|
||||
#include "z80_arch.h"
|
||||
|
||||
#include "chip.h"
|
||||
#include "ez80_rtc.h"
|
||||
|
@ -37,7 +37,7 @@
|
||||
#include <arch/io.h>
|
||||
|
||||
#include "z80_internal.h"
|
||||
#include "up_arch.h"
|
||||
#include "z80_arch.h"
|
||||
|
||||
#include "chip.h"
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
/************************************************************************************
|
||||
* arch/z80/src/ez80/up_mem.h
|
||||
* arch/z80/src/ez80/z80_mem.h
|
||||
*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
@ -42,11 +42,11 @@ endif
|
||||
endif
|
||||
|
||||
CMN_ASRCS =
|
||||
CMN_CSRCS = up_allocateheap.c up_assert.c up_blocktask.c up_createstack.c
|
||||
CMN_CSRCS += z80_doirq.c up_exit.c up_idle.c up_initialize.c
|
||||
CMN_CSRCS += up_interruptcontext.c up_mdelay.c up_releasepending.c
|
||||
CMN_CSRCS += up_releasestack.c up_stackframe.c up_reprioritizertr.c
|
||||
CMN_CSRCS += up_unblocktask.c up_udelay.c up_usestack.c
|
||||
CMN_CSRCS = z80_allocateheap.c z80_assert.c z80_blocktask.c z80_createstack.c
|
||||
CMN_CSRCS += z80_doirq.c z80_exit.c z80_idle.c z80_initialize.c
|
||||
CMN_CSRCS += z80_interruptcontext.c z80_mdelay.c z80_releasepending.c
|
||||
CMN_CSRCS += z80_releasestack.c z80_stackframe.c z80_reprioritizertr.c
|
||||
CMN_CSRCS += z80_unblocktask.c z80_udelay.c z80_usestack.c
|
||||
|
||||
CHIP_ASRCS = z180_restoreusercontext.asm z180_saveusercontext.asm
|
||||
CHIP_ASRCS += z180_vectcommon.asm
|
||||
|
@ -44,7 +44,7 @@
|
||||
|
||||
#include "chip.h"
|
||||
#include "z80_internal.h"
|
||||
#include "up_arch.h"
|
||||
#include "z80_arch.h"
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
|
@ -36,11 +36,11 @@
|
||||
HEAD_SSRC = z8_head.S
|
||||
|
||||
CMN_SSRCS =
|
||||
CMN_CSRCS = up_initialize.c up_allocateheap.c up_createstack.c
|
||||
CMN_CSRCS += up_releasestack.c up_interruptcontext.c up_blocktask.c
|
||||
CMN_CSRCS += up_unblocktask.c up_exit.c up_releasepending.c
|
||||
CMN_CSRCS += up_reprioritizertr.c up_idle.c up_assert.c z80_doirq.c
|
||||
CMN_CSRCS += up_mdelay.c up_stackframe.c up_udelay.c up_usestack.c
|
||||
CMN_CSRCS = z80_initialize.c z80_allocateheap.c z80_createstack.c
|
||||
CMN_CSRCS += z80_releasestack.c z80_interruptcontext.c z80_blocktask.c
|
||||
CMN_CSRCS += z80_unblocktask.c z80_exit.c z80_releasepending.c
|
||||
CMN_CSRCS += z80_reprioritizertr.c z80_idle.c z80_assert.c z80_doirq.c
|
||||
CMN_CSRCS += z80_mdelay.c z80_stackframe.c z80_udelay.c z80_usestack.c
|
||||
|
||||
CHIP_SSRCS = z8_vector.S z8_saveusercontext.S z8_restorecontext.S
|
||||
CHIP_CSRCS = z8_initialstate.c z8_irq.c z8_saveirqcontext.c
|
||||
|
@ -1,6 +1,6 @@
|
||||
/************************************************************************************
|
||||
* arch/z80/src/z8/up_mem.h
|
||||
* arch/z80/src/chip/up_mem.h
|
||||
* arch/z80/src/z8/z80_mem.h
|
||||
* arch/z80/src/chip/z80_mem.h
|
||||
*
|
||||
* Copyright (C) 2008-2009 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
@ -46,7 +46,7 @@
|
||||
|
||||
#include "chip.h"
|
||||
#include "z80_internal.h"
|
||||
#include "up_arch.h"
|
||||
#include "z80_arch.h"
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
|
@ -43,11 +43,11 @@ endif
|
||||
|
||||
CMN_ASRCS =
|
||||
|
||||
CMN_CSRCS = up_initialize.c up_allocateheap.c up_createstack.c
|
||||
CMN_CSRCS += up_releasestack.c up_interruptcontext.c up_blocktask.c
|
||||
CMN_CSRCS += up_unblocktask.c up_exit.c up_releasepending.c
|
||||
CMN_CSRCS += up_reprioritizertr.c up_idle.c up_assert.c z80_doirq.c
|
||||
CMN_CSRCS += up_mdelay.c up_stackframe.c up_udelay.c up_usestack.c
|
||||
CMN_CSRCS = z80_initialize.c z80_allocateheap.c z80_createstack.c
|
||||
CMN_CSRCS += z80_releasestack.c z80_interruptcontext.c z80_blocktask.c
|
||||
CMN_CSRCS += z80_unblocktask.c z80_exit.c z80_releasepending.c
|
||||
CMN_CSRCS += z80_reprioritizertr.c z80_idle.c z80_assert.c z80_doirq.c
|
||||
CMN_CSRCS += z80_mdelay.c z80_stackframe.c z80_udelay.c z80_usestack.c
|
||||
|
||||
CHIP_ASRCS = z80_saveusercontext.asm z80_restoreusercontext.asm
|
||||
|
||||
|
@ -44,7 +44,7 @@
|
||||
|
||||
#include "chip.h"
|
||||
#include "z80_internal.h"
|
||||
#include "up_arch.h"
|
||||
#include "z80_arch.h"
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
|
@ -45,7 +45,7 @@
|
||||
#include <nuttx/board.h>
|
||||
|
||||
#include "chip.h"
|
||||
#include "up_arch.h"
|
||||
#include "z80_arch.h"
|
||||
#include "z80_internal.h"
|
||||
|
||||
/****************************************************************************
|
||||
|
2
boards/z80/z180/p112/src/.gitignore
vendored
2
boards/z80/z180/p112/src/.gitignore
vendored
@ -1,6 +1,6 @@
|
||||
/Make.dep
|
||||
/.depend
|
||||
/up_mem.h
|
||||
/z80_mem.h
|
||||
/*.sym
|
||||
/*.asm
|
||||
/*.rel
|
||||
|
2
boards/z80/z80/z80sim/src/.gitignore
vendored
2
boards/z80/z80/z80sim/src/.gitignore
vendored
@ -1,6 +1,6 @@
|
||||
/Make.dep
|
||||
/.depend
|
||||
/up_mem.h
|
||||
/z80_mem.h
|
||||
/*.sym
|
||||
/*.asm
|
||||
/*.rel
|
||||
|
@ -41,7 +41,7 @@
|
||||
|
||||
#include <nuttx/irq.h>
|
||||
|
||||
#include "up_arch.h"
|
||||
#include "z80_arch.h"
|
||||
#include "z80_internal.h"
|
||||
|
||||
/****************************************************************************
|
||||
|
@ -51,7 +51,7 @@
|
||||
#include <nuttx/arch.h>
|
||||
#include <nuttx/serial/serial.h>
|
||||
|
||||
#include "up_arch.h"
|
||||
#include "z80_arch.h"
|
||||
#include "z80_internal.h"
|
||||
|
||||
#ifdef USE_SERIALDRIVER
|
||||
|
Loading…
Reference in New Issue
Block a user