arch/z80/src/common: Fix some name of internal z80-family common functions. ez80_* is wrong. up_ is misleading.

This commit is contained in:
Gregory Nutt 2019-06-08 11:36:55 -06:00
parent f5b890d098
commit d39ac6c3a1
6 changed files with 14 additions and 14 deletions

View File

@ -97,12 +97,12 @@ void up_initialize(void)
/* Initialize the interrupt subsystem */
up_irqinitialize();
z80_irq_initialize();
#ifdef CONFIG_RTC_ALARM
/* Enable RTC alarm interrupts */
ez80_rtc_irqinitialize();
z80_rtc_irqinitialize();
#endif
#if !defined(CONFIG_SUPPRESS_INTERRUPTS) && !defined(CONFIG_SUPPRESS_TIMER_INTS)

View File

@ -114,10 +114,10 @@ extern "C"
/* Supplied by chip- or board-specific logic */
void up_irqinitialize(void);
void z80_irq_initialize(void);
#ifdef CONFIG_RTC_ALARM
void ez80_rtc_irqinitialize(void);
void z80_rtc_irqinitialize(void);
#endif
#ifdef USE_LOWSERIALINIT
@ -132,9 +132,9 @@ FAR chipreg_t *up_doirq(uint8_t irq, FAR chipreg_t *regs);
void up_sigdeliver(void);
#ifdef CONFIG_ARCH_ADDRENV
/* Defined in CPU-specific logic (only for Z180) */
#ifdef CONFIG_ARCH_ADDRENV
int up_mmuinit(void);
#endif

View File

@ -60,10 +60,10 @@ volatile chipreg_t *g_current_regs;
****************************************************************************/
/****************************************************************************
* Name: up_irqinitialize
* Name: z80_irq_initialize
****************************************************************************/
void up_irqinitialize(void)
void z80_irq_initialize(void)
{
g_current_regs = NULL;

View File

@ -523,11 +523,11 @@ int up_rtc_initialize(void)
}
/************************************************************************************
* Name: ez80_rtc_irqinitialize
* Name: z80_rtc_irqinitialize
*
* Description:
* Initialize IRQs for RTC, not possible during up_rtc_initialize because
* up_irqinitialize is called later.
* z80_irq_initialize is called later.
*
* Input Parameters:
* None
@ -538,7 +538,7 @@ int up_rtc_initialize(void)
************************************************************************************/
#ifdef CONFIG_RTC_ALARM
int ez80_rtc_irqinitialize(void)
int z80_rtc_irqinitialize(void)
{
DEBUGVERIFY(irq_attach(EZ80_RTC_IRQ, ez80_alarm_interrupt, NULL));
}

View File

@ -160,14 +160,14 @@ irqstate_t up_irq_enable(void) __naked
}
/****************************************************************************
* Name: up_irqinitialize
* Name: z80_irq_initialize
*
* Description:
* Initialize and enable interrupts
*
****************************************************************************/
void up_irqinitialize(void)
void z80_irq_initialize(void)
{
uint16_t vectaddr = (uint16_t)up_vectors;
uint8_t regval;

View File

@ -60,10 +60,10 @@ struct z8_irqstate_s g_z8irqstate;
****************************************************************************/
/****************************************************************************
* Name: up_irqinitialize
* Name: z80_irq_initialize
****************************************************************************/
void up_irqinitialize(void)
void z80_irq_initialize(void)
{
/* Clear and disable all interrupts. Set all to priority 0. */