powerpc/t32mppc: Fix console driver

Make sure that the message buffers are not garbage collected by the
linker.
This commit is contained in:
Sebastian Huber
2023-10-13 09:46:58 +02:00
parent 0a1d0dce3b
commit 8290784378

View File

@@ -35,9 +35,9 @@
#include <rtems/console.h>
#include <rtems/termiostypes.h>
volatile unsigned char messagebufferin[256];
RTEMS_SECTION(".rtemsrwset.t32") volatile unsigned char messagebufferin[256];
volatile unsigned char messagebufferout[256];
RTEMS_SECTION(".rtemsrwset.t32") volatile unsigned char messagebufferout[256];
typedef struct {
rtems_termios_device_context base;