/*
|
/*
|
* This routine starts the application. It includes application,
|
* This routine starts the application. It includes application,
|
* board, and monitor specific initialization and configuration.
|
* board, and monitor specific initialization and configuration.
|
* The generic CPU dependent initialization has been performed
|
* The generic CPU dependent initialization has been performed
|
* before this routine is invoked.
|
* before this routine is invoked.
|
*
|
*
|
* COPYRIGHT (c) 1989-1998.
|
* COPYRIGHT (c) 1989-1998.
|
* On-Line Applications Research Corporation (OAR).
|
* On-Line Applications Research Corporation (OAR).
|
* Copyright assigned to U.S. Government, 1994.
|
* Copyright assigned to U.S. Government, 1994.
|
*
|
*
|
* The license and distribution terms for this file may be
|
* The license and distribution terms for this file may be
|
* found in the file LICENSE in this distribution or at
|
* found in the file LICENSE in this distribution or at
|
* http://www.OARcorp.com/rtems/license.html.
|
* http://www.OARcorp.com/rtems/license.html.
|
*
|
*
|
* Modified to support the MCP750.
|
* Modified to support the MCP750.
|
* Modifications Copyright (C) 1999 Eric Valette. valette@crf.canon.fr
|
* Modifications Copyright (C) 1999 Eric Valette. valette@crf.canon.fr
|
*
|
*
|
* $Id: bspstart.c,v 1.2 2001-09-27 12:01:07 chris Exp $
|
* $Id: bspstart.c,v 1.2 2001-09-27 12:01:07 chris Exp $
|
*/
|
*/
|
|
|
#include <bsp.h>
|
#include <bsp.h>
|
#include <rtems/libio.h>
|
#include <rtems/libio.h>
|
#include <libcsupport.h>
|
#include <libcsupport.h>
|
#include <string.h>
|
#include <string.h>
|
#include <bsp/consoleIo.h>
|
#include <bsp/consoleIo.h>
|
#include <libcpu/spr.h>
|
#include <libcpu/spr.h>
|
#include <bsp/residual.h>
|
#include <bsp/residual.h>
|
#include <bsp/pci.h>
|
#include <bsp/pci.h>
|
#include <bsp/openpic.h>
|
#include <bsp/openpic.h>
|
#include <bsp/irq.h>
|
#include <bsp/irq.h>
|
#include <bsp.h>
|
#include <bsp.h>
|
#include <libcpu/bat.h>
|
#include <libcpu/bat.h>
|
#include <bsp/vectors.h>
|
#include <bsp/vectors.h>
|
#include <bsp/motorola.h>
|
#include <bsp/motorola.h>
|
|
|
extern void _return_to_ppcbug();
|
extern void _return_to_ppcbug();
|
extern unsigned long __rtems_end;
|
extern unsigned long __rtems_end;
|
extern unsigned long _end;
|
extern unsigned long _end;
|
extern unsigned long __bss_start;
|
extern unsigned long __bss_start;
|
extern void L1_caches_enables();
|
extern void L1_caches_enables();
|
extern unsigned get_L2CR();
|
extern unsigned get_L2CR();
|
extern void set_L2CR(unsigned);
|
extern void set_L2CR(unsigned);
|
extern void bsp_cleanup(void);
|
extern void bsp_cleanup(void);
|
/*
|
/*
|
* Copy of residuals passed by firmware
|
* Copy of residuals passed by firmware
|
*/
|
*/
|
RESIDUAL residualCopy;
|
RESIDUAL residualCopy;
|
/*
|
/*
|
* Copy Additional boot param passed by boot loader
|
* Copy Additional boot param passed by boot loader
|
*/
|
*/
|
#define MAX_LOADER_ADD_PARM 80
|
#define MAX_LOADER_ADD_PARM 80
|
char loaderParam[MAX_LOADER_ADD_PARM];
|
char loaderParam[MAX_LOADER_ADD_PARM];
|
/*
|
/*
|
* Vital Board data Start using DATA RESIDUAL
|
* Vital Board data Start using DATA RESIDUAL
|
*/
|
*/
|
/*
|
/*
|
* Total memory using RESIDUAL DATA
|
* Total memory using RESIDUAL DATA
|
*/
|
*/
|
unsigned int BSP_mem_size;
|
unsigned int BSP_mem_size;
|
/*
|
/*
|
* PCI Bus Frequency
|
* PCI Bus Frequency
|
*/
|
*/
|
unsigned int BSP_bus_frequency;
|
unsigned int BSP_bus_frequency;
|
/*
|
/*
|
* processor clock frequency
|
* processor clock frequency
|
*/
|
*/
|
unsigned int BSP_processor_frequency;
|
unsigned int BSP_processor_frequency;
|
/*
|
/*
|
* Time base divisior (how many tick for 1 second).
|
* Time base divisior (how many tick for 1 second).
|
*/
|
*/
|
unsigned int BSP_time_base_divisor;
|
unsigned int BSP_time_base_divisor;
|
/*
|
/*
|
* system init stack and soft ir stack size
|
* system init stack and soft ir stack size
|
*/
|
*/
|
#define INIT_STACK_SIZE 0x1000
|
#define INIT_STACK_SIZE 0x1000
|
#define INTR_STACK_SIZE CONFIGURE_INTERRUPT_STACK_MEMORY
|
#define INTR_STACK_SIZE CONFIGURE_INTERRUPT_STACK_MEMORY
|
|
|
void BSP_panic(char *s)
|
void BSP_panic(char *s)
|
{
|
{
|
printk("%s PANIC %s\n",_RTEMS_version, s);
|
printk("%s PANIC %s\n",_RTEMS_version, s);
|
__asm__ __volatile ("sc");
|
__asm__ __volatile ("sc");
|
}
|
}
|
|
|
void _BSP_Fatal_error(unsigned int v)
|
void _BSP_Fatal_error(unsigned int v)
|
{
|
{
|
printk("%s PANIC ERROR %x\n",_RTEMS_version, v);
|
printk("%s PANIC ERROR %x\n",_RTEMS_version, v);
|
__asm__ __volatile ("sc");
|
__asm__ __volatile ("sc");
|
}
|
}
|
|
|
/*
|
/*
|
* The original table from the application and our copy of it with
|
* The original table from the application and our copy of it with
|
* some changes.
|
* some changes.
|
*/
|
*/
|
|
|
extern rtems_configuration_table Configuration;
|
extern rtems_configuration_table Configuration;
|
|
|
rtems_configuration_table BSP_Configuration;
|
rtems_configuration_table BSP_Configuration;
|
|
|
rtems_cpu_table Cpu_table;
|
rtems_cpu_table Cpu_table;
|
|
|
char *rtems_progname;
|
char *rtems_progname;
|
|
|
/*
|
/*
|
* Use the shared implementations of the following routines
|
* Use the shared implementations of the following routines
|
*/
|
*/
|
|
|
void bsp_postdriver_hook(void);
|
void bsp_postdriver_hook(void);
|
void bsp_libc_init( void *, unsigned32, int );
|
void bsp_libc_init( void *, unsigned32, int );
|
|
|
/*
|
/*
|
* Function: bsp_pretasking_hook
|
* Function: bsp_pretasking_hook
|
* Created: 95/03/10
|
* Created: 95/03/10
|
*
|
*
|
* Description:
|
* Description:
|
* BSP pretasking hook. Called just before drivers are initialized.
|
* BSP pretasking hook. Called just before drivers are initialized.
|
* Used to setup libc and install any BSP extensions.
|
* Used to setup libc and install any BSP extensions.
|
*
|
*
|
* NOTES:
|
* NOTES:
|
* Must not use libc (to do io) from here, since drivers are
|
* Must not use libc (to do io) from here, since drivers are
|
* not yet initialized.
|
* not yet initialized.
|
*
|
*
|
*/
|
*/
|
|
|
void bsp_pretasking_hook(void)
|
void bsp_pretasking_hook(void)
|
{
|
{
|
rtems_unsigned32 heap_start;
|
rtems_unsigned32 heap_start;
|
rtems_unsigned32 heap_size;
|
rtems_unsigned32 heap_size;
|
|
|
heap_start = ((rtems_unsigned32) &__rtems_end) +INIT_STACK_SIZE + INTR_STACK_SIZE;
|
heap_start = ((rtems_unsigned32) &__rtems_end) +INIT_STACK_SIZE + INTR_STACK_SIZE;
|
if (heap_start & (CPU_ALIGNMENT-1))
|
if (heap_start & (CPU_ALIGNMENT-1))
|
heap_start = (heap_start + CPU_ALIGNMENT) & ~(CPU_ALIGNMENT-1);
|
heap_start = (heap_start + CPU_ALIGNMENT) & ~(CPU_ALIGNMENT-1);
|
|
|
heap_size = (BSP_mem_size - heap_start) - BSP_Configuration.work_space_size;
|
heap_size = (BSP_mem_size - heap_start) - BSP_Configuration.work_space_size;
|
|
|
#ifdef SHOW_MORE_INIT_SETTINGS
|
#ifdef SHOW_MORE_INIT_SETTINGS
|
printk(" HEAP start %x size %x\n", heap_start, heap_size);
|
printk(" HEAP start %x size %x\n", heap_start, heap_size);
|
#endif
|
#endif
|
bsp_libc_init((void *) heap_start, heap_size, 0);
|
bsp_libc_init((void *) heap_start, heap_size, 0);
|
|
|
#ifdef RTEMS_DEBUG
|
#ifdef RTEMS_DEBUG
|
rtems_debug_enable( RTEMS_DEBUG_ALL_MASK );
|
rtems_debug_enable( RTEMS_DEBUG_ALL_MASK );
|
#endif
|
#endif
|
}
|
}
|
|
|
void zero_bss()
|
void zero_bss()
|
{
|
{
|
memset(&__bss_start, 0, ((unsigned) (&__rtems_end)) - ((unsigned) &__bss_start));
|
memset(&__bss_start, 0, ((unsigned) (&__rtems_end)) - ((unsigned) &__bss_start));
|
}
|
}
|
|
|
void save_boot_params(RESIDUAL* r3, void *r4, void* r5, char *additional_boot_options)
|
void save_boot_params(RESIDUAL* r3, void *r4, void* r5, char *additional_boot_options)
|
{
|
{
|
|
|
residualCopy = *r3;
|
residualCopy = *r3;
|
strncpy(loaderParam, additional_boot_options, MAX_LOADER_ADD_PARM);
|
strncpy(loaderParam, additional_boot_options, MAX_LOADER_ADD_PARM);
|
loaderParam[MAX_LOADER_ADD_PARM - 1] ='\0';
|
loaderParam[MAX_LOADER_ADD_PARM - 1] ='\0';
|
}
|
}
|
|
|
/*
|
/*
|
* bsp_start
|
* bsp_start
|
*
|
*
|
* This routine does the bulk of the system initialization.
|
* This routine does the bulk of the system initialization.
|
*/
|
*/
|
|
|
void bsp_start( void )
|
void bsp_start( void )
|
{
|
{
|
int err;
|
int err;
|
unsigned char *stack;
|
unsigned char *stack;
|
unsigned l2cr;
|
unsigned l2cr;
|
register unsigned char* intrStack;
|
register unsigned char* intrStack;
|
register unsigned int intrNestingLevel = 0;
|
register unsigned int intrNestingLevel = 0;
|
unsigned char *work_space_start;
|
unsigned char *work_space_start;
|
ppc_cpu_id_t myCpu;
|
ppc_cpu_id_t myCpu;
|
ppc_cpu_revision_t myCpuRevision;
|
ppc_cpu_revision_t myCpuRevision;
|
prep_t boardManufacturer;
|
prep_t boardManufacturer;
|
motorolaBoard myBoard;
|
motorolaBoard myBoard;
|
/*
|
/*
|
* Get CPU identification dynamically. Note that the get_ppc_cpu_type() function
|
* Get CPU identification dynamically. Note that the get_ppc_cpu_type() function
|
* store the result in global variables so that it can be used latter...
|
* store the result in global variables so that it can be used latter...
|
*/
|
*/
|
myCpu = get_ppc_cpu_type();
|
myCpu = get_ppc_cpu_type();
|
myCpuRevision = get_ppc_cpu_revision();
|
myCpuRevision = get_ppc_cpu_revision();
|
/*
|
/*
|
* enables L1 Cache. Note that the L1_caches_enables() codes checks for
|
* enables L1 Cache. Note that the L1_caches_enables() codes checks for
|
* relevant CPU type so that the reason why there is no use of myCpu...
|
* relevant CPU type so that the reason why there is no use of myCpu...
|
*/
|
*/
|
L1_caches_enables();
|
L1_caches_enables();
|
/*
|
/*
|
* Enable L2 Cache. Note that the set_L2CR(L2CR) codes checks for
|
* Enable L2 Cache. Note that the set_L2CR(L2CR) codes checks for
|
* relevant CPU type (mpc750)...
|
* relevant CPU type (mpc750)...
|
*/
|
*/
|
l2cr = get_L2CR();
|
l2cr = get_L2CR();
|
#ifdef SHOW_LCR2_REGISTER
|
#ifdef SHOW_LCR2_REGISTER
|
printk("Initial L2CR value = %x\n", l2cr);
|
printk("Initial L2CR value = %x\n", l2cr);
|
#endif
|
#endif
|
if ( (! (l2cr & 0x80000000)) && ((int) l2cr == -1))
|
if ( (! (l2cr & 0x80000000)) && ((int) l2cr == -1))
|
set_L2CR(0xb9A14000);
|
set_L2CR(0xb9A14000);
|
/*
|
/*
|
* the initial stack has aready been set to this value in start.S
|
* the initial stack has aready been set to this value in start.S
|
* so there is no need to set it in r1 again... It is just for info
|
* so there is no need to set it in r1 again... It is just for info
|
* so that It can be printed without accessing R1.
|
* so that It can be printed without accessing R1.
|
*/
|
*/
|
stack = ((unsigned char*) &__rtems_end) + INIT_STACK_SIZE - CPU_MINIMUM_STACK_FRAME_SIZE;
|
stack = ((unsigned char*) &__rtems_end) + INIT_STACK_SIZE - CPU_MINIMUM_STACK_FRAME_SIZE;
|
/*
|
/*
|
* Initialize the interrupt related settings
|
* Initialize the interrupt related settings
|
* SPRG0 = interrupt nesting level count
|
* SPRG0 = interrupt nesting level count
|
* SPRG1 = software managed IRQ stack
|
* SPRG1 = software managed IRQ stack
|
*
|
*
|
* This could be done latter (e.g in IRQ_INIT) but it helps to understand
|
* This could be done latter (e.g in IRQ_INIT) but it helps to understand
|
* some settings below...
|
* some settings below...
|
*/
|
*/
|
intrStack = ((unsigned char*) &__rtems_end) + INIT_STACK_SIZE + INTR_STACK_SIZE - CPU_MINIMUM_STACK_FRAME_SIZE;
|
intrStack = ((unsigned char*) &__rtems_end) + INIT_STACK_SIZE + INTR_STACK_SIZE - CPU_MINIMUM_STACK_FRAME_SIZE;
|
asm volatile ("mtspr 273, %0" : "=r" (intrStack) : "0" (intrStack));
|
asm volatile ("mtspr 273, %0" : "=r" (intrStack) : "0" (intrStack));
|
asm volatile ("mtspr 272, %0" : "=r" (intrNestingLevel) : "0" (intrNestingLevel));
|
asm volatile ("mtspr 272, %0" : "=r" (intrNestingLevel) : "0" (intrNestingLevel));
|
/*
|
/*
|
* Initialize default raw exception hanlders. See vectors/vectors_init.c
|
* Initialize default raw exception hanlders. See vectors/vectors_init.c
|
*/
|
*/
|
initialize_exceptions();
|
initialize_exceptions();
|
/*
|
/*
|
* Init MMU block address translation to enable hardware
|
* Init MMU block address translation to enable hardware
|
* access
|
* access
|
*/
|
*/
|
/*
|
/*
|
* PC legacy IO space used for inb/outb and all PC
|
* PC legacy IO space used for inb/outb and all PC
|
* compatible hardware
|
* compatible hardware
|
*/
|
*/
|
setdbat(1, 0x80000000, 0x80000000, 0x10000000, IO_PAGE);
|
setdbat(1, 0x80000000, 0x80000000, 0x10000000, IO_PAGE);
|
/*
|
/*
|
* PCI devices memory area. Needed to access OPENPIC features
|
* PCI devices memory area. Needed to access OPENPIC features
|
* provided by the RAVEN
|
* provided by the RAVEN
|
*/
|
*/
|
setdbat(2, 0xc0000000, 0xc0000000, 0x08000000, IO_PAGE);
|
setdbat(2, 0xc0000000, 0xc0000000, 0x08000000, IO_PAGE);
|
/*
|
/*
|
* Must have acces to open pic PCI ACK registers
|
* Must have acces to open pic PCI ACK registers
|
* provided by the RAVEN
|
* provided by the RAVEN
|
*/
|
*/
|
setdbat(3, 0xf0000000, 0xf0000000, 0x10000000, IO_PAGE);
|
setdbat(3, 0xf0000000, 0xf0000000, 0x10000000, IO_PAGE);
|
select_console(CONSOLE_LOG);
|
select_console(CONSOLE_LOG);
|
|
|
/* We check that the keyboard is present and immediately
|
/* We check that the keyboard is present and immediately
|
* select the serial console if not.
|
* select the serial console if not.
|
*/
|
*/
|
err = kbdreset();
|
err = kbdreset();
|
if (err) select_console(CONSOLE_SERIAL);
|
if (err) select_console(CONSOLE_SERIAL);
|
|
|
boardManufacturer = checkPrepBoardType(&residualCopy);
|
boardManufacturer = checkPrepBoardType(&residualCopy);
|
if (boardManufacturer != PREP_Motorola) {
|
if (boardManufacturer != PREP_Motorola) {
|
printk("Unsupported hardware vendor\n");
|
printk("Unsupported hardware vendor\n");
|
while (1);
|
while (1);
|
}
|
}
|
myBoard = getMotorolaBoard();
|
myBoard = getMotorolaBoard();
|
|
|
printk("-----------------------------------------\n");
|
printk("-----------------------------------------\n");
|
printk("Welcome to %s on %s\n", _RTEMS_version, motorolaBoardToString(myBoard));
|
printk("Welcome to %s on %s\n", _RTEMS_version, motorolaBoardToString(myBoard));
|
printk("-----------------------------------------\n");
|
printk("-----------------------------------------\n");
|
#ifdef SHOW_MORE_INIT_SETTINGS
|
#ifdef SHOW_MORE_INIT_SETTINGS
|
printk("Residuals are located at %x\n", (unsigned) &residualCopy);
|
printk("Residuals are located at %x\n", (unsigned) &residualCopy);
|
printk("Additionnal boot options are %s\n", loaderParam);
|
printk("Additionnal boot options are %s\n", loaderParam);
|
printk("Initial system stack at %x\n",stack);
|
printk("Initial system stack at %x\n",stack);
|
printk("Software IRQ stack at %x\n",intrStack);
|
printk("Software IRQ stack at %x\n",intrStack);
|
printk("-----------------------------------------\n");
|
printk("-----------------------------------------\n");
|
#endif
|
#endif
|
|
|
#ifdef TEST_RETURN_TO_PPCBUG
|
#ifdef TEST_RETURN_TO_PPCBUG
|
printk("Hit <Enter> to return to PPCBUG monitor\n");
|
printk("Hit <Enter> to return to PPCBUG monitor\n");
|
printk("When Finished hit GO. It should print <Back from monitor>\n");
|
printk("When Finished hit GO. It should print <Back from monitor>\n");
|
debug_getc();
|
debug_getc();
|
_return_to_ppcbug();
|
_return_to_ppcbug();
|
printk("Back from monitor\n");
|
printk("Back from monitor\n");
|
_return_to_ppcbug();
|
_return_to_ppcbug();
|
#endif /* TEST_RETURN_TO_PPCBUG */
|
#endif /* TEST_RETURN_TO_PPCBUG */
|
|
|
#ifdef SHOW_MORE_INIT_SETTINGS
|
#ifdef SHOW_MORE_INIT_SETTINGS
|
printk("Going to start PCI buses scanning and initialization\n");
|
printk("Going to start PCI buses scanning and initialization\n");
|
#endif
|
#endif
|
InitializePCI();
|
InitializePCI();
|
#ifdef SHOW_MORE_INIT_SETTINGS
|
#ifdef SHOW_MORE_INIT_SETTINGS
|
printk("Number of PCI buses found is : %d\n", BusCountPCI());
|
printk("Number of PCI buses found is : %d\n", BusCountPCI());
|
#endif
|
#endif
|
#ifdef TEST_RAW_EXCEPTION_CODE
|
#ifdef TEST_RAW_EXCEPTION_CODE
|
printk("Testing exception handling Part 1\n");
|
printk("Testing exception handling Part 1\n");
|
/*
|
/*
|
* Cause a software exception
|
* Cause a software exception
|
*/
|
*/
|
__asm__ __volatile ("sc");
|
__asm__ __volatile ("sc");
|
/*
|
/*
|
* Check we can still catch exceptions and returned coorectly.
|
* Check we can still catch exceptions and returned coorectly.
|
*/
|
*/
|
printk("Testing exception handling Part 2\n");
|
printk("Testing exception handling Part 2\n");
|
__asm__ __volatile ("sc");
|
__asm__ __volatile ("sc");
|
#endif
|
#endif
|
|
|
|
|
BSP_mem_size = residualCopy.TotalMemory;
|
BSP_mem_size = residualCopy.TotalMemory;
|
BSP_bus_frequency = residualCopy.VitalProductData.ProcessorBusHz;
|
BSP_bus_frequency = residualCopy.VitalProductData.ProcessorBusHz;
|
BSP_processor_frequency = residualCopy.VitalProductData.ProcessorHz;
|
BSP_processor_frequency = residualCopy.VitalProductData.ProcessorHz;
|
BSP_time_base_divisor = (residualCopy.VitalProductData.TimeBaseDivisor?
|
BSP_time_base_divisor = (residualCopy.VitalProductData.TimeBaseDivisor?
|
residualCopy.VitalProductData.TimeBaseDivisor : 4000);
|
residualCopy.VitalProductData.TimeBaseDivisor : 4000);
|
|
|
/*
|
/*
|
* Set up our hooks
|
* Set up our hooks
|
* Make sure libc_init is done before drivers initialized so that
|
* Make sure libc_init is done before drivers initialized so that
|
* they can use atexit()
|
* they can use atexit()
|
*/
|
*/
|
|
|
Cpu_table.pretasking_hook = bsp_pretasking_hook; /* init libc, etc. */
|
Cpu_table.pretasking_hook = bsp_pretasking_hook; /* init libc, etc. */
|
Cpu_table.postdriver_hook = bsp_postdriver_hook;
|
Cpu_table.postdriver_hook = bsp_postdriver_hook;
|
Cpu_table.do_zero_of_workspace = TRUE;
|
Cpu_table.do_zero_of_workspace = TRUE;
|
Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
|
Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
|
Cpu_table.clicks_per_usec = BSP_processor_frequency/(BSP_time_base_divisor * 1000);
|
Cpu_table.clicks_per_usec = BSP_processor_frequency/(BSP_time_base_divisor * 1000);
|
Cpu_table.exceptions_in_RAM = TRUE;
|
Cpu_table.exceptions_in_RAM = TRUE;
|
|
|
#ifdef SHOW_MORE_INIT_SETTINGS
|
#ifdef SHOW_MORE_INIT_SETTINGS
|
printk("BSP_Configuration.work_space_size = %x\n", BSP_Configuration.work_space_size);
|
printk("BSP_Configuration.work_space_size = %x\n", BSP_Configuration.work_space_size);
|
#endif
|
#endif
|
work_space_start =
|
work_space_start =
|
(unsigned char *)BSP_mem_size - BSP_Configuration.work_space_size;
|
(unsigned char *)BSP_mem_size - BSP_Configuration.work_space_size;
|
|
|
if ( work_space_start <= ((unsigned char *)&__rtems_end) + INIT_STACK_SIZE + INTR_STACK_SIZE) {
|
if ( work_space_start <= ((unsigned char *)&__rtems_end) + INIT_STACK_SIZE + INTR_STACK_SIZE) {
|
printk( "bspstart: Not enough RAM!!!\n" );
|
printk( "bspstart: Not enough RAM!!!\n" );
|
bsp_cleanup();
|
bsp_cleanup();
|
}
|
}
|
|
|
BSP_Configuration.work_space_start = work_space_start;
|
BSP_Configuration.work_space_start = work_space_start;
|
|
|
/*
|
/*
|
* Initalize RTEMS IRQ system
|
* Initalize RTEMS IRQ system
|
*/
|
*/
|
BSP_rtems_irq_mng_init(0);
|
BSP_rtems_irq_mng_init(0);
|
#ifdef SHOW_MORE_INIT_SETTINGS
|
#ifdef SHOW_MORE_INIT_SETTINGS
|
printk("Exit from bspstart\n");
|
printk("Exit from bspstart\n");
|
#endif
|
#endif
|
}
|
}
|
|
|