Changeset 3be4478f in rtems


Ignore:
Timestamp:
Jun 26, 2018, 5:13:28 AM (10 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
0fd8287
Parents:
bc3bdf2
git-author:
Sebastian Huber <sebastian.huber@…> (06/26/18 05:13:28)
git-committer:
Sebastian Huber <sebastian.huber@…> (06/28/18 13:03:23)
Message:

riscv: Avoid namespace pollution

Remove <rtems/score/riscv-utility.h> include from <rtems/score/cpu.h>
(which is visible via <rtems.h> for example).

Update #3433.

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • bsps/riscv/riscv/clock/clockdrv.c

    rbc3bdf2 r3be4478f  
    3434
    3535#include <rtems/timecounter.h>
     36#include <rtems/score/riscv-utility.h>
    3637
    3738#include <bsp.h>
  • cpukit/score/cpu/riscv/cpu.c

    rbc3bdf2 r3be4478f  
    3030 */
    3131
    32 #include <rtems/system.h>
     32#include <rtems/score/cpu.h>
    3333#include <rtems/score/isr.h>
    34 #include <rtems/score/wkspace.h>
    35 #include <rtems/score/cpu.h>
     34#include <rtems/score/riscv-utility.h>
    3635
    3736/* bsp_start_vector_table_begin is the start address of the vector table
  • cpukit/score/cpu/riscv/include/rtems/score/cpu.h

    rbc3bdf2 r3be4478f  
    4141
    4242#include <rtems/score/basedefs.h>
    43 #include <rtems/score/riscv.h> /* pick up machine definitions */
    44 #include <rtems/score/riscv-utility.h>
    45 #ifndef ASM
    46 #include <rtems/bspIo.h>
    47 #include <stdint.h>
    48 #include <stdio.h> /* for printk */
    49 #endif
     43#include <rtems/score/riscv.h>
    5044
    5145#define RISCV_MSTATUS_MIE 0x8
  • cpukit/score/cpu/riscv/riscv-context-switch.S

    rbc3bdf2 r3be4478f  
    3333#include <rtems/asm.h>
    3434#include <rtems/score/cpu.h>
     35#include <rtems/score/riscv-utility.h>
    3536
    3637        .section        .text, "ax", @progbits
Note: See TracChangeset for help on using the changeset viewer.