diff options
Diffstat (limited to '')
-rw-r--r-- | bsps/sh/gensh2/console/config.c | 4 | ||||
-rw-r--r-- | bsps/sh/gensh2/console/sci.c | 2 | ||||
-rw-r--r-- | bsps/sh/gensh2/console/scitab.c | 2 | ||||
-rw-r--r-- | bsps/sh/gensh2/start/linkcmds | 12 |
4 files changed, 10 insertions, 10 deletions
diff --git a/bsps/sh/gensh2/console/config.c b/bsps/sh/gensh2/console/config.c index 7d8a983cd2..33ed1bd76e 100644 --- a/bsps/sh/gensh2/console/config.c +++ b/bsps/sh/gensh2/console/config.c @@ -54,7 +54,7 @@ const console_fns sh_sci_fns = sh_sci_initialize_interrupts, /* deviceInitialize */ sh_sci_write_polled, /* deviceWritePolled */ sh_sci_set_attributes, /* deviceSetAttributes */ - TERMIOS_IRQ_DRIVEN /* deviceOutputUsesInterrupts */ + true /* deviceOutputUsesInterrupts */ }; /* @@ -70,7 +70,7 @@ const console_fns sh_sci_fns_polled = sh_sci_init, /* deviceInitialize */ sh_sci_write_polled, /* deviceWritePolled */ sh_sci_set_attributes, /* deviceSetAttributes */ - TERMIOS_POLLED /* deviceOutputUsesInterrupts */ + false /* deviceOutputUsesInterrupts */ }; #if 1 /* (CONSOLE_USE_INTERRUPTS) */ diff --git a/bsps/sh/gensh2/console/sci.c b/bsps/sh/gensh2/console/sci.c index e02049cbf3..ba7f8bc832 100644 --- a/bsps/sh/gensh2/console/sci.c +++ b/bsps/sh/gensh2/console/sci.c @@ -539,7 +539,7 @@ const rtems_termios_callbacks sci_poll_callbacks = { _sh_sci_set_attributes, /* setAttributes */ NULL, /* stopRemoteTX */ NULL, /* StartRemoteTX */ - 0 /* outputUsesInterrupts */ + TERMIOS_POLLED /* outputUsesInterrupts */ }; /* FIXME: not yet supported */ diff --git a/bsps/sh/gensh2/console/scitab.c b/bsps/sh/gensh2/console/scitab.c index 239689c863..7c8e699246 100644 --- a/bsps/sh/gensh2/console/scitab.c +++ b/bsps/sh/gensh2/console/scitab.c @@ -1,7 +1,7 @@ /* SPDX-License-Identifier: BSD-2-Clause */ /* - * Copyright (c) 2018 embedded brains GmbH. All rights reserved. + * Copyright (c) 2018 embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/bsps/sh/gensh2/start/linkcmds b/bsps/sh/gensh2/start/linkcmds index e06932a053..98178b6101 100644 --- a/bsps/sh/gensh2/start/linkcmds +++ b/bsps/sh/gensh2/start/linkcmds @@ -202,15 +202,15 @@ SECTIONS *(SORT_BY_NAME (SORT_BY_ALIGNMENT (.noinit*))) } > ram - .rtemsstackidle (NOLOAD) : { - *(SORT(.rtemsstack.idle*)) - } > ram - - _WorkAreaBase = . ; + .rtemsstackinterrupt (NOLOAD) : { + *(.rtemsstack.interrupt) + } > onchip_ram .rtemsstack (NOLOAD) : { *(SORT(.rtemsstack.*)) - } > onchip_ram + } > ram + + _WorkAreaBase = . ; /* Stabs debugging sections. */ .stab 0 : { *(.stab) } |