Changeset 0b8a6d7 in rtems


Ignore:
Timestamp:
Mar 28, 2018, 4:17:45 PM (19 months ago)
Author:
Joel Sherrill <joel@…>
Branches:
master
Children:
2d0bc83
Parents:
4f0dcb69
Message:

Eliminate PowerPC libcpu/page.h

Started to eliminate warnings and then realized that only one one-line
macro in the file was used by a few files. The rest of the file was
was not needed. Eliminate the file.

Closes #3354.

Files:
1 deleted
7 edited

Legend:

Unmodified
Added
Removed
  • bsps/powerpc/beatnik/include/bsp.h

    r4f0dcb69 r0b8a6d7  
    134134#define BSP_I2C_DS1621_RAW_NAME       "ds1621-raw"
    135135
    136 #define  BSP_I2C_VPD_EEPROM_DEV_NAME      (BSP_I2C_BUS0_NAME ", "BSP_I2C_VPD_EEPROM_NAME)
    137 #define  BSP_I2C_USR_EEPROM_DEV_NAME      (BSP_I2C_BUS0_NAME ", "BSP_I2C_USR_EEPROM_NAME)
    138 #define  BSP_I2C_DS1621_DEV_NAME          (BSP_I2C_BUS0_NAME ", "BSP_I2C_DS1621_NAME)
     136#define  BSP_I2C_VPD_EEPROM_DEV_NAME      (BSP_I2C_BUS0_NAME ", " BSP_I2C_VPD_EEPROM_NAME)
     137#define  BSP_I2C_USR_EEPROM_DEV_NAME      (BSP_I2C_BUS0_NAME ", " BSP_I2C_USR_EEPROM_NAME)
     138#define  BSP_I2C_DS1621_DEV_NAME          (BSP_I2C_BUS0_NAME ", " BSP_I2C_DS1621_NAME)
    139139#define BSP_I2C_THM_DEV_NAME              BSP_I2C_DS1621_DEV_NAME
    140 #define  BSP_I2C_DS1621_RAW_DEV_NAME      (BSP_I2C_BUS0_NAME ", "BSP_I2C_DS1621_RAW_NAME)
     140#define  BSP_I2C_DS1621_RAW_DEV_NAME      (BSP_I2C_BUS0_NAME ", " BSP_I2C_DS1621_RAW_NAME)
    141141
    142142
  • bsps/powerpc/headers.am

    r4f0dcb69 r0b8a6d7  
    3838include_libcpu_HEADERS += ../../../../../bsps/powerpc/include/libcpu/irq.h
    3939include_libcpu_HEADERS += ../../../../../bsps/powerpc/include/libcpu/mmu.h
    40 include_libcpu_HEADERS += ../../../../../bsps/powerpc/include/libcpu/page.h
    4140include_libcpu_HEADERS += ../../../../../bsps/powerpc/include/libcpu/pgtable.h
    4241include_libcpu_HEADERS += ../../../../../bsps/powerpc/include/libcpu/powerpc-utility.h
  • c/src/lib/libbsp/powerpc/shared/bootloader/misc.c

    r4f0dcb69 r0b8a6d7  
    2020#include <libcpu/spr.h>
    2121#include "zlib.h"
    22 #include <libcpu/page.h>
    2322#include <libcpu/byteorder.h>
    2423#include <rtems/bspIo.h>
    2524#include <bsp.h>
     25
     26/* to align the pointer to the (next) page boundary */
     27#define PAGE_ALIGN(addr)        (((addr)+PAGE_SIZE-1)&PAGE_MASK)
    2628
    2729SPR_RO(PPC_PVR)
  • c/src/lib/libbsp/powerpc/shared/bootloader/mm.c

    r4f0dcb69 r0b8a6d7  
    4242#include "bootldr.h"
    4343#include <libcpu/mmu.h>
    44 #include <libcpu/page.h>
    4544#include <limits.h>
     45
     46/* to align the pointer to the (next) page boundary */
     47#define PAGE_ALIGN(addr)        (((addr)+PAGE_SIZE-1)&PAGE_MASK)
    4648
    4749extern void (tlb_handlers)(void);
  • c/src/lib/libbsp/powerpc/shared/bootloader/pci.c

    r4f0dcb69 r0b8a6d7  
    2020#include "pci.h"
    2121#include <libcpu/io.h>
    22 #include <libcpu/page.h>
    2322#include <bsp/consoleIo.h>
    2423#include <string.h>
  • c/src/lib/libbsp/powerpc/shared/console/polled_io.c

    r4f0dcb69 r0b8a6d7  
    1717#include <sys/types.h>
    1818#include <libcpu/byteorder.h>
    19 #include <libcpu/page.h>
    2019#include <libcpu/mmu.h>
    2120#include <libcpu/io.h>
  • c/src/lib/libbsp/powerpc/shared/startup/pgtbl_setup.c

    r4f0dcb69 r0b8a6d7  
    11#include <rtems.h>
    22#include <libcpu/mmu.h>
    3 #include <libcpu/page.h>
    43#include <rtems/bspIo.h>
    54#include <libcpu/pte121.h>
     
    1615 *       *pmemsize by the size of the page table.
    1716 */
     17/* to align the pointer to the (next) page boundary */
     18#define PAGE_ALIGN(addr)        (((addr)+PAGE_SIZE-1)&PAGE_MASK)
     19
    1820
    1921/*
Note: See TracChangeset for help on using the changeset viewer.