mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
2005-08-18 Karel Gardas <kgardas@objectsecurity.com>
* startup/bspstart.c: Initialize PCI bus in bsp_start function.
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
2005-08-18 Karel Gardas <kgardas@objectsecurity.com>
|
||||
|
||||
* startup/bspstart.c: Initialize PCI bus in bsp_start function.
|
||||
|
||||
2005-08-18 Karel Gardas <kgardas@objectsecurity.com>
|
||||
|
||||
* startup/bspstart.c: Initialize PCI bus in bsp_start function.
|
||||
|
||||
2005-07-18 Lars Munch <lars@segv.dk>
|
||||
|
||||
PR 813/networking
|
||||
|
||||
@@ -33,6 +33,7 @@
|
||||
#include <bsp.h>
|
||||
#include <rtems/libio.h>
|
||||
#include <rtems/libcsupport.h>
|
||||
#include <rtems/pci.h>
|
||||
#include <libcpu/cpuModel.h>
|
||||
|
||||
/*-------------------------------------------------------------------------+
|
||||
@@ -134,6 +135,7 @@ void bsp_pretasking_hook(void)
|
||||
+--------------------------------------------------------------------------*/
|
||||
void bsp_start_default( void )
|
||||
{
|
||||
int pci_init_retval;
|
||||
void Calibrate_loop_1ms(void);
|
||||
|
||||
/*
|
||||
@@ -173,6 +175,15 @@ void bsp_start_default( void )
|
||||
* Init rtems exceptions management
|
||||
*/
|
||||
rtems_exception_init_mngt();
|
||||
|
||||
/*
|
||||
* init PCI Bios interface...
|
||||
*/
|
||||
pci_init_retval = pci_initialize();
|
||||
if (pci_init_retval != PCIB_ERR_SUCCESS) {
|
||||
printk("PCI bus: could not initialize PCI BIOS interface\n");
|
||||
}
|
||||
|
||||
/*
|
||||
* The following information is very useful when debugging.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user