Changeset 7632906 in rtems for bsps


Ignore:
Timestamp:
04/19/18 04:35:52 (4 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
5, master
Children:
58adad4
Parents:
5c5b021
git-author:
Sebastian Huber <sebastian.huber@…> (04/19/18 04:35:52)
git-committer:
Sebastian Huber <sebastian.huber@…> (04/20/18 07:57:01)
Message:

bsps: Move clock drivers to bsps

This patch is a part of the BSP source reorganization.

Update #3285.

Location:
bsps
Files:
65 moved

Legend:

Unmodified
Added
Removed
  • bsps/arm/csb336/clock/clockdrv.c

    r5c5b021 r7632906  
    1818#include <rtems/bspIo.h>  /* for printk */
    1919
    20 /* this is defined in ../../../shared/clockdrv_shell.h */
     20/* this is defined in ../../../shared/dev/clock/clockimpl.h */
    2121void Clock_isr(rtems_irq_hdl_param arg);
    2222static void clock_isr_on(const rtems_irq_connect_data *unused);
     
    132132/* Make sure to include this, and only at the end of the file */
    133133
    134 #include "../../../../libbsp/shared/clockdrv_shell.h"
     134#include "../../../shared/dev/clock/clockimpl.h"
  • bsps/arm/csb337/clock/clock.c

    r5c5b021 r7632906  
    111111#define CLOCK_DRIVER_USE_DUMMY_TIMECOUNTER
    112112
    113 #include "../../../../libbsp/shared/clockdrv_shell.h"
     113#include "../../../shared/dev/clock/clockimpl.h"
  • bsps/arm/edb7312/clock/clockdrv.c

    r5c5b021 r7632906  
    7070#define CLOCK_DRIVER_USE_DUMMY_TIMECOUNTER
    7171
    72 #include "../../../shared/clockdrv_shell.h"
     72#include "../../../shared/dev/clock/clockimpl.h"
  • bsps/arm/gumstix/clock/clock.c

    r5c5b021 r7632906  
    116116#define CLOCK_DRIVER_USE_DUMMY_TIMECOUNTER
    117117
    118 #include "../../../../libbsp/shared/clockdrv_shell.h"
     118#include "../../../shared/dev/clock/clockimpl.h"
  • bsps/arm/raspberrypi/clock/clockdrv.c

    r5c5b021 r7632906  
    2727#include <rtems/timecounter.h>
    2828
    29 /* This is defined in ../../../shared/clockdrv_shell.h */
     29/* This is defined in ../../../shared/dev/clock/clockimpl.h */
    3030void Clock_isr(rtems_irq_hdl_param arg);
    3131
     
    112112#define CLOCK_DRIVER_USE_ONLY_BOOT_PROCESSOR 1
    113113
    114 #include "../../../shared/clockdrv_shell.h"
     114#include "../../../shared/dev/clock/clockimpl.h"
  • bsps/arm/rtl22xx/clock/clockdrv.c

    r5c5b021 r7632906  
    7878};
    7979
    80 /* use the /shared/clockdrv_shell.h code template */
     80/* use the /shared/dev/clock/clockimpl.h code template */
    8181
    8282/**
     
    174174
    175175/* Make sure to include this, and only at the end of the file */
    176 #include "../../../../libbsp/shared/clockdrv_shell.h"
     176#include "../../../shared/dev/clock/clockimpl.h"
    177177
  • bsps/arm/shared/clock/clock-armv7m.c

    r5c5b021 r7632906  
    2121#ifdef ARM_MULTILIB_ARCH_V7M
    2222
    23 /* This is defined in clockdrv_shell.h */
     23/* This is defined in dev/clock/clockimpl.h */
    2424static void Clock_isr(void *arg);
    2525
     
    155155
    156156/* Include shared source clock driver code */
    157 #include "../../../../shared/clockdrv_shell.h"
     157#include "../../../shared/dev/clock/clockimpl.h"
    158158
    159159#endif /* ARM_MULTILIB_ARCH_V7M */
  • bsps/arm/shared/clock/clock-nxp-lpc.c

    r5c5b021 r7632906  
    2929#ifdef ARM_MULTILIB_ARCH_V4
    3030
    31 /* This is defined in ../../../shared/clockdrv_shell.h */
     31/* This is defined in ../../../shared/dev/clock/clockimpl.h */
    3232void Clock_isr(rtems_irq_hdl_param arg);
    3333
     
    132132
    133133/* Include shared source clock driver code */
    134 #include "../../../../shared/clockdrv_shell.h"
     134#include "../../../shared/dev/clock/clockimpl.h"
    135135
    136136#endif /* ARM_MULTILIB_ARCH_V4 */
  • bsps/arm/smdk2410/clock/clockdrv.c

    r5c5b021 r7632906  
    121121
    122122/* Make sure to include this, and only at the end of the file */
    123 #include "../../../../libbsp/shared/clockdrv_shell.h"
     123#include "../../../shared/dev/clock/clockimpl.h"
  • bsps/arm/tms570/clock/clock.c

    r5c5b021 r7632906  
    188188void Clock_isr(void *arg); /* to supress warning */
    189189
    190 #include "../../../shared/clockdrv_shell.h"
     190#include "../../../shared/dev/clock/clockimpl.h"
  • bsps/i386/pc386/clock/ckinit.c

    r5c5b021 r7632906  
    260260  } while (0)
    261261
    262 #include "../../../shared/clockdrv_shell.h"
     262#include "../../../shared/dev/clock/clockimpl.h"
  • bsps/lm32/shared/clock/ckinit.c

    r5c5b021 r7632906  
    7575#define CLOCK_DRIVER_USE_DUMMY_TIMECOUNTER
    7676
    77 #include "../../../shared/clockdrv_shell.h"
     77#include "../../../shared/dev/clock/clockimpl.h"
    7878
  • bsps/m68k/av5282/clock/clock.c

    r5c5b021 r7632906  
    5959#define CLOCK_DRIVER_USE_DUMMY_TIMECOUNTER
    6060
    61 #include "../../../shared/clockdrv_shell.h"
     61#include "../../../shared/dev/clock/clockimpl.h"
  • bsps/m68k/gen68360/clock/clock.c

    r5c5b021 r7632906  
    9999#define CLOCK_DRIVER_USE_DUMMY_TIMECOUNTER
    100100
    101 #include "../../../shared/clockdrv_shell.h"
     101#include "../../../shared/dev/clock/clockimpl.h"
  • bsps/m68k/genmcf548x/clock/clock.c

    r5c5b021 r7632906  
    9999#define CLOCK_DRIVER_USE_DUMMY_TIMECOUNTER
    100100
    101 #include "../../../shared/clockdrv_shell.h"
     101#include "../../../shared/dev/clock/clockimpl.h"
    102102
  • bsps/m68k/mcf52235/clock/clock.c

    r5c5b021 r7632906  
    104104#define Clock_driver_timecounter_tick() mcf52235_tc_tick()
    105105
    106 #include "../../../shared/clockdrv_shell.h"
     106#include "../../../shared/dev/clock/clockimpl.h"
  • bsps/m68k/mcf5225x/clock/clock.c

    r5c5b021 r7632906  
    104104#define Clock_driver_timecounter_tick() mcf5225x_tc_tick()
    105105
    106 #include "../../../shared/clockdrv_shell.h"
     106#include "../../../shared/dev/clock/clockimpl.h"
  • bsps/m68k/mcf5235/clock/clock.c

    r5c5b021 r7632906  
    5959#define CLOCK_DRIVER_USE_DUMMY_TIMECOUNTER
    6060
    61 #include "../../../shared/clockdrv_shell.h"
     61#include "../../../shared/dev/clock/clockimpl.h"
  • bsps/m68k/mcf5329/clock/clock.c

    r5c5b021 r7632906  
    103103#define Clock_driver_timecounter_tick() mcf5329_tc_tick()
    104104
    105 #include "../../../shared/clockdrv_shell.h"
     105#include "../../../shared/dev/clock/clockimpl.h"
  • bsps/m68k/uC5282/clock/clock.c

    r5c5b021 r7632906  
    159159#define Clock_driver_timecounter_tick() uC5282_tc_tick()
    160160
    161 #include "../../../shared/clockdrv_shell.h"
     161#include "../../../shared/dev/clock/clockimpl.h"
  • bsps/mips/csb350/clock/clockdrv.c

    r5c5b021 r7632906  
    8888#define CLOCK_DRIVER_USE_DUMMY_TIMECOUNTER
    8989
    90 #include "../../../shared/clockdrv_shell.h"
     90#include "../../../shared/dev/clock/clockimpl.h"
  • bsps/mips/jmr3904/clock/clockdrv.c

    r5c5b021 r7632906  
    4848#define CLOCK_DRIVER_USE_DUMMY_TIMECOUNTER
    4949
    50 #include "../../../shared/clockdrv_shell.h"
     50#include "../../../shared/dev/clock/clockimpl.h"
  • bsps/mips/rbtx4925/clock/clockdrv.c

    r5c5b021 r7632906  
    118118#define CLOCK_DRIVER_USE_DUMMY_TIMECOUNTER
    119119
    120 #include "../../../shared/clockdrv_shell.h"
     120#include "../../../shared/dev/clock/clockimpl.h"
  • bsps/mips/rbtx4938/clock/clockdrv.c

    r5c5b021 r7632906  
    117117#define CLOCK_DRIVER_USE_DUMMY_TIMECOUNTER
    118118
    119 #include "../../../shared/clockdrv_shell.h"
     119#include "../../../shared/dev/clock/clockimpl.h"
  • bsps/mips/shared/clock/clockdrv.c

    r5c5b021 r7632906  
    4747#define CLOCK_DRIVER_USE_DUMMY_TIMECOUNTER
    4848
    49 #include "../../../shared/clockdrv_shell.h"
     49#include "../../../shared/dev/clock/clockimpl.h"
  • bsps/nios2/nios2_iss/clock/clock.c

    r5c5b021 r7632906  
    5252#define CLOCK_DRIVER_USE_DUMMY_TIMECOUNTER
    5353
    54 #include "../../../shared/clockdrv_shell.h"
     54#include "../../../shared/dev/clock/clockimpl.h"
    5555
  • bsps/no_cpu/no_bsp/clock/ckinit.c

    r5c5b021 r7632906  
    22 *  This file provides a template for the clock device driver initialization.
    33 *
    4  *  If possible, please use the clockdrv_shell.h method for instantiating
     4 *  If possible, please use the dev/clock/clockimpl.h method for instantiating
    55 *  a clock driver.
    66 */
  • bsps/or1k/generic_or1k/clock/clockdrv.c

    r5c5b021 r7632906  
    145145#define Clock_driver_support_shutdown_hardware() generic_or1k_clock_cleanup()
    146146
    147 #include "../../../shared/clockdrv_shell.h"
     147#include "../../../shared/dev/clock/clockimpl.h"
  • bsps/powerpc/mpc55xxevb/clock/clock-config.c

    r5c5b021 r7632906  
    255255
    256256/* Include shared source clock driver code */
    257 #include "../../../../libbsp/shared/clockdrv_shell.h"
     257#include "../../../shared/dev/clock/clockimpl.h"
  • bsps/powerpc/qoriq/clock/clock-config.c

    r5c5b021 r7632906  
    2929#include <bsp/irq.h>
    3030
    31 /* This is defined in clockdrv_shell.h */
     31/* This is defined in dev/clock/clockimpl.h */
    3232static rtems_isr Clock_isr(void *arg);
    3333
     
    176176
    177177/* Include shared source clock driver code */
    178 #include "../../../shared/clockdrv_shell.h"
     178#include "../../../shared/dev/clock/clockimpl.h"
  • bsps/powerpc/t32mppc/clock/clock-config.c

    r5c5b021 r7632906  
    2020#include <bsp/irq.h>
    2121
    22 /* This is defined in clockdrv_shell.h */
     22/* This is defined in dev/clock/clockimpl.h */
    2323static rtems_isr Clock_isr(void *arg);
    2424
     
    6262
    6363/* Include shared source clock driver code */
    64 #include "../../../shared/clockdrv_shell.h"
     64#include "../../../shared/dev/clock/clockimpl.h"
  • bsps/riscv/riscv_generic/clock/clockdrv.c

    r5c5b021 r7632906  
    129129#define Clock_driver_support_shutdown_hardware() riscv_generic_clock_cleanup()
    130130
    131 #include "../../../shared/clockdrv_shell.h"
     131#include "../../../shared/dev/clock/clockimpl.h"
  • bsps/shared/dev/clock/clock-simidle.c

    r5c5b021 r7632906  
    2626#define CLOCK_DRIVER_USE_DUMMY_TIMECOUNTER
    2727
    28 #include "clockdrv_shell.h"
     28#include "clockimpl.h"
    2929
    3030/*
  • bsps/shared/dev/clock/clockimpl.h

    r5c5b021 r7632906  
    3737 */
    3838#if CLOCK_DRIVER_USE_FAST_IDLE && CLOCK_DRIVER_ISRS_PER_TICK
    39 #error "clockdrv_shell.h: Fast Idle PLUS n ISRs per tick is not supported"
     39#error "Fast Idle PLUS n ISRs per tick is not supported"
    4040#endif
    4141
  • bsps/sparc/erc32/clock/ckinit.c

    r5c5b021 r7632906  
    127127  } while (0)
    128128
    129 #include "../../../shared/clockdrv_shell.h"
     129#include "../../../shared/dev/clock/clockimpl.h"
    130130
    131131SPARC_COUNTER_DEFINITION;
  • bsps/sparc/leon2/clock/ckinit.c

    r5c5b021 r7632906  
    100100#define Clock_driver_timecounter_tick() leon2_tc_tick()
    101101
    102 #include "../../../shared/clockdrv_shell.h"
     102#include "../../../shared/dev/clock/clockimpl.h"
    103103
    104104SPARC_COUNTER_DEFINITION;
  • bsps/sparc/leon3/clock/ckinit.c

    r5c5b021 r7632906  
    276276#define Clock_driver_timecounter_tick() leon3_tc_do_tick()
    277277
    278 #include "../../../shared/clockdrv_shell.h"
    279 
    280 #endif
     278#include "../../../shared/dev/clock/clockimpl.h"
     279
     280#endif
  • bsps/sparc64/shared/clock/ckinit.c

    r5c5b021 r7632906  
    119119#define CLOCK_DRIVER_USE_DUMMY_TIMECOUNTER
    120120
    121 #include "../../../shared/clockdrv_shell.h"
     121#include "../../../shared/dev/clock/clockimpl.h"
    122122
Note: See TracChangeset for help on using the changeset viewer.