2011-03-16 Jennifer Averett <jennifer.averett@OARcorp.com>

PR 1729/cpukit
	* smp/getcpuid.c, smp/smp_stub.c: New files.
This commit is contained in:
Joel Sherrill
2011-03-16 20:06:04 +00:00
parent 5d69cd33e9
commit 7f32fa4643
3 changed files with 71 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
2011-03-16 Jennifer Averett <jennifer.averett@OARcorp.com>
PR 1729/cpukit
* smp/getcpuid.c, smp/smp_stub.c: New files.
2011-02-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
* console.c: Register also normal device file of the console device.

View File

@@ -0,0 +1,16 @@
/*
* COPYRIGHT (c) 1989-2011.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
*
* $Id$
*/
int bsp_smp_processor_id(void)
{
return 0;
}

View File

@@ -0,0 +1,50 @@
/*
* RTEMS SMP Support for Single Core
*
* COPYRIGHT (c) 1989-2011.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
*
* $Id$
*/
#include <rtems.h>
#include <bsp.h>
#include <rtems/bspIo.h>
#include <rtems/bspsmp.h>
#include <stdlib.h>
void bsp_smp_secondary_cpu_initialize(int cpu)
{
}
int bsp_smp_initialize(
int maximum
)
{
/* return the number of CPUs */
return 1;
}
void bsp_smp_broadcast_interrupt(void)
{
}
void bsp_smp_broadcast_message(
uint32_t message
)
{
}
void bsp_smp_interrupt_cpu(
int cpu
)
{
}
void bsp_smp_delay( int max )
{
}