summaryrefslogtreecommitdiffstats
path: root/bsps/powerpc/virtex5/start
diff options
context:
space:
mode:
Diffstat (limited to 'bsps/powerpc/virtex5/start')
-rw-r--r--bsps/powerpc/virtex5/start/bsp_specs0
-rw-r--r--bsps/powerpc/virtex5/start/bspstart.c4
-rw-r--r--bsps/powerpc/virtex5/start/dummy_console.c2
-rw-r--r--bsps/powerpc/virtex5/start/linkcmds2
-rw-r--r--bsps/powerpc/virtex5/start/mmu.c3
5 files changed, 6 insertions, 5 deletions
diff --git a/bsps/powerpc/virtex5/start/bsp_specs b/bsps/powerpc/virtex5/start/bsp_specs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/bsps/powerpc/virtex5/start/bsp_specs
+++ /dev/null
diff --git a/bsps/powerpc/virtex5/start/bspstart.c b/bsps/powerpc/virtex5/start/bspstart.c
index c2783f6225..13711c5701 100644
--- a/bsps/powerpc/virtex5/start/bspstart.c
+++ b/bsps/powerpc/virtex5/start/bspstart.c
@@ -10,7 +10,7 @@
* Author: Thomas Doerfler <td@imd.m.isar.de>
* IMD Ingenieurbuero fuer Microcomputertechnik
*
- * COPYRIGHT (c) 1998 by IMD
+ * Copyright (c) 1998 IMD Ingenieurbuero fuer Microcomputertechnik
*
* Changes from IMD are covered by the original distributions terms.
* This file has been derived from the papyrus BSP:
@@ -34,7 +34,7 @@
* with linker command file by
* Thomas Doerfler <td@imd.m.isar.de>
* for these modifications:
- * COPYRIGHT (c) 1997 by IMD, Puchheim, Germany.
+ * Copyright (c) 1997 IMD Ingenieurbuero fuer Microcomputertechnik
*
* To anyone who acknowledges that this file is provided "AS IS"
* without any express or implied warranty:
diff --git a/bsps/powerpc/virtex5/start/dummy_console.c b/bsps/powerpc/virtex5/start/dummy_console.c
index 2cdab33c8c..7480402cde 100644
--- a/bsps/powerpc/virtex5/start/dummy_console.c
+++ b/bsps/powerpc/virtex5/start/dummy_console.c
@@ -28,7 +28,7 @@ static rtems_termios_callbacks gMemCallbacks = {
0, /* SetAttr */
0, /* stopRemoteTx */
0, /* startRemoteTx */
- 0 /* outputUsesInterrupts */
+ TERMIOS_POLLED /* outputUsesInterrupts */
};
rtems_device_driver console_initialize(rtems_device_major_number major,
diff --git a/bsps/powerpc/virtex5/start/linkcmds b/bsps/powerpc/virtex5/start/linkcmds
index ca81d57fde..15af537066 100644
--- a/bsps/powerpc/virtex5/start/linkcmds
+++ b/bsps/powerpc/virtex5/start/linkcmds
@@ -253,7 +253,7 @@ SECTIONS
PROVIDE(__bsp_ram_start = .);
.noinit (NOLOAD) : {
- *(.noinit*)
+ *(SORT_BY_NAME (SORT_BY_ALIGNMENT (.noinit*)))
} >RAM
.rtemsstack (NOLOAD) : {
diff --git a/bsps/powerpc/virtex5/start/mmu.c b/bsps/powerpc/virtex5/start/mmu.c
index 874c57ee6f..e9bbd77264 100644
--- a/bsps/powerpc/virtex5/start/mmu.c
+++ b/bsps/powerpc/virtex5/start/mmu.c
@@ -66,6 +66,7 @@
#include <rtems.h>
#include <rtems/bspIo.h>
#include <rtems/powerpc/powerpc.h>
+#include <rtems/score/sysstate.h>
#include <inttypes.h>
#include <stdio.h>
@@ -92,7 +93,7 @@ myprintf(FILE *f, char *fmt, ...)
va_list ap;
va_start(ap, fmt);
- if (!f || !_impure_ptr->__sdidinit) {
+ if (!f || !_System_state_Is_up(_System_state_Get())) {
/* Might be called at an early stage when stdio is not yet initialized. */
vprintk(fmt,ap);
} else {