Changeset 364866d in rtems


Ignore:
Timestamp:
Mar 16, 2016, 12:36:41 AM (4 years ago)
Author:
Joel Sherrill <joel@…>
Branches:
master
Children:
05ef287
Parents:
78c9fe8
git-author:
Joel Sherrill <joel@…> (03/16/16 00:36:41)
git-committer:
Joel Sherrill <joel@…> (03/16/16 00:37:58)
Message:

pc386: Do not include rtems/pci.h from bsp.h. Add bsp/bspimpl.h

Start to migrate private symbols to bsp/bspimpl.h.

Location:
c/src/lib/libbsp/i386
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/i386/pc386/Makefile.am

    r78c9fe8 r364866d  
    2626SUBDIRS = . tools
    2727
     28nodist_include_bsp_HEADERS += include/bspimpl.h
    2829include_bsp_HEADERS  = ../../i386/shared/irq/irq.h
    2930include_bsp_HEADERS += ../../i386/shared/irq/irq_asm.h
  • c/src/lib/libbsp/i386/pc386/include/bsp.h

    r78c9fe8 r364866d  
    6060#include <rtems/score/cpu.h>
    6161#include <rtems/bspIo.h>
    62 #include <rtems/pci.h>
    6362
    6463#ifdef __cplusplus
     
    277276void C_dispatch_isr(int vector);
    278277
    279 /*
    280  * PCI Support Methods
    281  */
    282 const pci_config_access_functions *pci_bios_initialize(void);
    283 const pci_config_access_functions *pci_io_initialize(void);
    284 
    285 /*
    286  * Helper to parse boot command line arguments related to the console driver
    287  */
    288 void pc386_parse_console_arguments(void);
    289 
    290 /*
    291  * Dynamically probe for PCI UARTS
    292  */
    293 void pci_uart_probe(void);
    294 
    295278#ifdef __cplusplus
    296279}
  • c/src/lib/libbsp/i386/pc386/preinstall.am

    r78c9fe8 r364866d  
    5353        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/bootcard.h
    5454PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/bootcard.h
     55
     56$(PROJECT_INCLUDE)/bsp/bspimpl.h: include/bspimpl.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     57        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/bspimpl.h
     58PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/bspimpl.h
    5559
    5660$(PROJECT_INCLUDE)/bsp/irq.h: ../../i386/shared/irq/irq.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
  • c/src/lib/libbsp/i386/pc386/startup/bspstart.c

    r78c9fe8 r364866d  
    2828
    2929#include <bsp.h>
     30#include <bsp/bspimpl.h>
    3031#include <bsp/irq.h>
    3132#include <rtems/pci.h>
  • c/src/lib/libbsp/i386/shared/pci/pci_io.c

    r78c9fe8 r364866d  
     1/**
     2 * @file
     3 *
     4 * PCI Support when Configuration Space is in I/O
     5 */
     6
     7/*
     8 *  COPYRIGHT (c) 2016.
     9 *  On-Line Applications Research Corporation (OAR).
     10 *
     11 *  The license and distribution terms for this file may be
     12 *  found in the file LICENSE in this distribution or at
     13 *  http://www.rtems.org/license/LICENSE.
     14 */
     15
    116#include <rtems.h>
    2 #include <rtems/pci.h>
    317#include <bsp.h>
     18#include <bsp/bspimpl.h>
    419
    520static int pci_io_initialized = 0;
  • c/src/lib/libbsp/i386/shared/pci/pcibios.c

    r78c9fe8 r364866d  
     1/**
     2 * @file
     3 *
     4 * PCI Support when Configuration Space is accessed via BIOS
     5 */
     6
    17/*
    28 * This software is Copyright (C) 1998 by T.sqware - all rights limited
Note: See TracChangeset for help on using the changeset viewer.